Data Structures | Typedefs | Enumerations
Crypto Driver External Data Structures

The section has a list of all the data structures which are exposed to the application. More...

Data Structures

struct  Crypto_AesCcmCfg_t
 AES CCM mode configuration. More...
 
struct  Crypto_AesAadInputParams_t
 AES Additional Authentication Data input parameters. More...
 
union  Crypto_AesAadParams_t
 AES Additional Authentication Data Parameters. More...
 
struct  Crypto_AesModeParams_t
 AES Mode specific parameters. Certain AES modes need additional configuration that be handled here. Valid for AES_CTR, GCM and CCM modes only. More...
 
struct  Crypto_EncryptParams_t
 AES Parameters. More...
 
struct  Crypto_HmacParams_t
 HMAC Parameters. More...
 
struct  Crypto_Config_t
 Crypto Global configuration. More...
 

Typedefs

typedef enum Crypto_AESMode_t Crypto_AESMode
 AES Cryptography mode configuration. More...
 
typedef enum Crypto_HmacMode_t Crypto_HmacMode
 HMAC Cryptography mode configuration. More...
 
typedef enum Crypto_AesKeySize_t Crypto_AesKeySize
 AES Cryptography key size type configuration. More...
 
typedef enum Crypto_AesCounterWidth_t Crypto_AesCounterWidth
 AES Counter Mode counter width configuration. More...
 
typedef enum Crypto_AesGcmMode_t Crypto_AesGcmMode
 AES GCM Mode configuration. More...
 
typedef enum Crypto_AesCCM_LWidth_t Crypto_AesCCM_LWidth
 AES CCM length field configuration. More...
 
typedef enum Crypto_AesCCM_MWidth_t Crypto_AesCCM_MWidth
 AES CCM length field configuration. More...
 
typedef struct Crypto_AesCcmCfg_t Crypto_AesCcmCfg
 AES CCM mode configuration. More...
 
typedef struct Crypto_AesAadInputParams_t Crypto_AesAadInputParams
 AES Additional Authentication Data input parameters. More...
 
typedef union Crypto_AesAadParams_t Crypto_AesAadParams
 AES Additional Authentication Data Parameters. More...
 
typedef struct Crypto_AesModeParams_t Crypto_AesModeParams
 AES Mode specific parameters. Certain AES modes need additional configuration that be handled here. Valid for AES_CTR, GCM and CCM modes only. More...
 
typedef struct Crypto_EncryptParams_t Crypto_EncryptParams
 AES Parameters. More...
 
typedef struct Crypto_HmacParams_t Crypto_HmacParams
 HMAC Parameters. More...
 
typedef struct Crypto_Config_tCrypto_Handle
 A handle that is returned from a Crypto_open() call.
 
typedef struct Crypto_Config_t Crypto_Config
 Crypto Global configuration. More...
 

Enumerations

Detailed Description

The section has a list of all the data structures which are exposed to the application.

Typedef Documentation

AES Additional Authentication Data input parameters.

This structure defines the AES Additional Authentication Data input parameters used for Crypto_AES_GCM and Crypto_AES_CCM.

AES Additional Authentication Data Parameters.

This union defines the AES additional authentication parameters used for Crypto_AES_GCM and Crypto_AES_CCM.

AES CCM length field configuration.

This enum defines the AES CCM_L specific parameters. Valid for Crypto_AES_CCM mode only.

AES CCM length field configuration.

This enum defines the AES CCM_M specific parameters. Valid for Crypto_AES_CCM mode only.

AES CCM mode configuration.

This structure defines the Additional CCM mode parameters used for Crypto_AES_CCM.

AES Counter Mode counter width configuration.

This enum defines the AES Counter mode specific parameters. Valid for Crypto_AES_CTR mode only.

AES GCM Mode configuration.

This enum defines the AES GCM mode specific parameters. Valid for Crypto_AES_GCM mode only.

AES Cryptography key size type configuration.

This enum defines the AES key size types.

AES Cryptography mode configuration.

This enum defines the AES Cryptography modes.

AES Mode specific parameters. Certain AES modes need additional configuration that be handled here. Valid for AES_CTR, GCM and CCM modes only.

This structure defines the AES mode specific parameters for Crypto_AES_CTR, Crypto_AES_GCM and Crypto_AES_CCM. Crypto_AES_GCM and Crypto_AES_CCM.

Crypto Global configuration.

The Crypto_Config structure contains a set of pointers used to characterize the Crypto driver implementation.

This structure needs to be defined before calling Crypto_init() and it must not be changed thereafter.

See also
Crypto_init()

AES Parameters.

This structure defines the AES parameters used in Crypto_encrypt and Crypto_decrypt functions.

HMAC Cryptography mode configuration.

This enum defines the HMAC HASH algorithms modes.

HMAC Parameters.

This structure defines the HMAC parameters used in Crypto_sign and Crypto_verify functions.

Enumeration Type Documentation

AES CCM length field configuration.

This enum defines the AES CCM_L specific parameters. Valid for Crypto_AES_CCM mode only.

Enumerator
Crypto_AES_CCM_L_2 

The width of the length field in bytes = 2 bytes.

Crypto_AES_CCM_L_4 

The width of the length field in bytes = 4 bytes.

Crypto_AES_CCM_L_8 

The width of the length field in bytes = 8 bytes.

AES CCM length field configuration.

This enum defines the AES CCM_M specific parameters. Valid for Crypto_AES_CCM mode only.

Enumerator
Crypto_AES_CCM_M_4 

The width of the authentication length field in bytes = 4 bytes.

Crypto_AES_CCM_M_6 

The width of the authentication length field in bytes = 6 bytes.

Crypto_AES_CCM_M_8 

The width of the authentication length field in bytes = 8 bytes.

Crypto_AES_CCM_M_10 

The width of the authentication length field in bytes = 10 bytes.

Crypto_AES_CCM_M_12 

The width of the authentication length field in bytes = 12 bytes.

Crypto_AES_CCM_M_14 

The width of the authentication length field in bytes = 14 bytes.

Crypto_AES_CCM_M_16 

The width of the authentication length field in bytes = 16 bytes.

AES Counter Mode counter width configuration.

This enum defines the AES Counter mode specific parameters. Valid for Crypto_AES_CTR mode only.

AES GCM Mode configuration.

This enum defines the AES GCM mode specific parameters. Valid for Crypto_AES_GCM mode only.

Enumerator
Crypto_AES_GCM_HLY0ZERO 

AES Galois/Counter mode with GHASH with H loaded and Y0-encrypted forced to zero.

Crypto_AES_GCM_HLY0CALC 

AES Galois/Counter mode with GHASH with H loaded and Y0-encrypted calculated internally.

Crypto_AES_GCM_HY0CALC 

AES Galois/Counter mode with autonomous GHASH (both H and Y0-encrypted calculated internally).

AES Cryptography key size type configuration.

This enum defines the AES key size types.

AES Cryptography mode configuration.

This enum defines the AES Cryptography modes.

Enumerator
Crypto_AES_ECB 

AES Electronic CodeBook mode

Crypto_AES_CBC 

AES Cipher Block Chaining mode

Crypto_AES_CTR 

AES Counter mode

Crypto_AES_ICM 

AES Integer Counter Mode

Crypto_AES_CFB 

AES Cipher FeedBack mode

Crypto_AES_GCM 

AES Galois/Counter mode

Crypto_AES_CCM 

AES Counter with CBC-MAC Mode

HMAC Cryptography mode configuration.

This enum defines the HMAC HASH algorithms modes.

Enumerator
Crypto_HMAC_MD5 

MD5 used keyed-hash message authentication code

Crypto_HMAC_SHA1 

SHA1 used keyed-hash message authentication code

Crypto_HMAC_SHA224 

SHA224 used keyed-hash message authentication code

Crypto_HMAC_SHA256 

SHA256 used keyed-hash message authentication code

Cryptography types configuration.

This enum defines bitwise Cryptography types.

Enumerator
Crypto_AES 

Advanced Encryption Standard

Crypto_HMAC 

Cryptographic hash function


Copyright 2018, Texas Instruments Incorporated