mbed TLS v2.2.0
mbedtls_ecode.h
Go to the documentation of this file.
1 
22 #ifndef MBEDTLS_ECODE_H
23 #define MBEDTLS_ECODE_H
24 
56 #define MBEDTLS_ECODE_BASE ( 0xF1000000 )
58 #define MBEDTLS_ERR_DEVICE_BASE ( MBEDTLS_ECODE_BASE | 0x00001000 )
59 #define MBEDTLS_ECODE_AESDRV_BASE ( MBEDTLS_ECODE_BASE | 0x00005000 )
60 #define MBEDTLS_ECODE_ECC_BASE ( MBEDTLS_ECODE_BASE | 0x00006000 )
61 #define MBEDTLS_ECODE_SHA_BASE ( MBEDTLS_ECODE_BASE | 0x0000A000 )
62 #define MBEDTLS_ECODE_CRYPTODRV_BASE ( MBEDTLS_ECODE_BASE | 0x0000C000 )
63 #define MBEDTLS_ERR_CMAC_BASE ( MBEDTLS_ECODE_AESDRV_BASE | 0xf00)
64 #define MBEDTLS_ERR_TRNG_BASE ( MBEDTLS_ECODE_BASE | 0x0000E000 )
65 #define MBEDTLS_ERR_SLPAL_BASE ( MBEDTLS_ECODE_BASE | 0x0000F000 )
67 #endif /* #ifndef MBEDTLS_ECODE_H */