Embedded Cryptographic Library (C4E) CPU/MCU architecture dependend data types and definitions. More...
#include "c4e_config.h"
Go to the source code of this file.
Defines | |
#define | C4E_CONST |
A portability wrapper for const . | |
#define | C4E_INLINE |
A portability wrapper for inline . | |
#define | C4E_RESTRICT |
A portability wrapper for C99 keyword restrict . | |
#define | C4E_ARCH_ASM |
Indicates that assembly code shall be activated for an architecture. | |
#define | C4E_ARCH_ROM(type, name) |
Defines a ROM (located) variable. | |
#define | C4E_ARCH_DIGIT2_MSD(digit2) |
Determines the most significant part (digit) from an C4eArchDigit2 (the overflow of a C4eArchDigit operation). | |
#define | C4E_ARCH_DIGIT2_LSD(digit2) |
Determines the least significant digit of a C4eArchDigit2. | |
#define | C4E_ARCH_DIGIT2_ASGN(digit2, msd, lsd) |
Constructs a C4eArchDigit2 from two C4eArchDigit. | |
#define | C4E_ARCH_DIGIT2_ADD(a, b, c) |
Sum of three C4eArchDigit resulting in a C4eArchDigit2. | |
#define | C4E_ARCH_DIGIT2_MUL(a, b) |
Product of two C4eArchDigit resulting in a C4eArchDigit2. | |
#define | C4E_ARCH_DIGIT2_DIV(a, b) |
Division of a C4eArchDigit2 by a C4eArchDigit resulting in a C4eArchDigit2. | |
Typedefs | |
typedef unsigned int | C4eArchUint |
Natural (integral, unsigned) number type of CPU/MCU architecture. | |
typedef uint32_t | C4eArchDigit |
One digit, to be used in multi-precision (big number) or binary polynomial arithmetic. | |
typedef uint64_t | C4eArchDigit2 |
Number type to be used for the result of a product (sometimes sum) of two digits of type C4eArchDigit. | |
typedef C4eArchUint | C4eArchIdx |
Type for the index into an elements digit array, countable in C4eArchDigit units. | |
typedef size_t | C4eArchSize |
Type for counting bytes and bits, for example buffer sizes and key lengths. | |
typedef uint8_t | C4eArchUint8 |
Type for a single byte (octet). |
Embedded Cryptographic Library (C4E) CPU/MCU architecture dependend data types and definitions.
Definition in file c4e_arch.h.