|
typedef void * | Crypto_AesHandle |
| Handle to the Crypto AES driver returned by Crypto_aesOpen() More...
|
|
typedef int32_t(* | Crypto_AesOpenFxn) (Crypto_AesContext *ctx, const Crypto_AesParams *params) |
| common callback functions declarations More...
|
|
typedef int32_t(* | Crypto_AesCloseFxn) (Crypto_AesContext *ctx) |
|
typedef int32_t(* | Crypto_AesSetKeyEncFxn) (Crypto_AesContext *ctx) |
| aes cbc callback functions declarations More...
|
|
typedef int32_t(* | Crypto_AesSetKeyDecFxn) (Crypto_AesContext *ctx) |
|
typedef int32_t(* | Crypto_AesCbcFxn) (Crypto_AesContext *ctx, const uint8_t *input, uint32_t inputLength, uint8_t *output) |
|
typedef int32_t(* | Crypto_CmacSetUpFxn) (Crypto_AesContext *ctx) |
| aes cmac callback functions declarations More...
|
|
typedef int32_t(* | Crypto_CmacStartFxn) (Crypto_AesContext *ctx) |
|
typedef int32_t(* | Crypto_CmacUpdateFxn) (Crypto_AesContext *ctx, const uint8_t *input, uint32_t ilen) |
|
typedef int32_t(* | Crypto_CmacFinishFxn) (Crypto_AesContext *ctx, uint8_t *output) |
|
typedef int32_t(* | Crypto_CmacSingleShotFxn) (Crypto_AesContext *ctx, const uint8_t *input, uint32_t ilen, uint8_t *output) |
|
|
void | Crypto_AesParams_init (Crypto_AesParams *params) |
| Set default parameters in the Crypto_AesParams structure. More...
|
|
Crypto_AesHandle | Crypto_aesOpen (Crypto_AesContext *ctx, const Crypto_AesParams *params) |
| This function gives the configuration based on type. More...
|
|
int32_t | Crypto_aesClose (Crypto_AesHandle handle) |
| This function clears a Advance Encryption Standard (AES) context. More...
|
|
int32_t | Crypto_aesSetKeyEnc (Crypto_AesHandle handle) |
| This function sets the Advance Encryption Standard (AES) encryption key. More...
|
|
int32_t | Crypto_aesSetKeyDec (Crypto_AesHandle handle) |
| This function sets the Advance Encryption Standard (AES) decryption key. More...
|
|
int32_t | Crypto_aesCbc (Crypto_AesHandle handle, const uint8_t *input, uint32_t ilen, uint8_t *output) |
| This function finishes the Advance Encryption Standard Cipher Block Chaining (AES-CBC) operation, and writes the result to the output buffer. More...
|
|
int32_t | Crypto_cmacSetup (Crypto_AesHandle handle) |
| This function prepares a cipher context for use with the given cipher primitive. More...
|
|
int32_t | Crypto_cmacStarts (Crypto_AesHandle handle) |
| This function sets the CMAC key, and prepares to authenticate the input data. More...
|
|
int32_t | Crypto_cmacUpdate (Crypto_AesHandle handle, const uint8_t *input, uint32_t ilen) |
| This function feeds an input buffer into an ongoing CMAC computation. More...
|
|
int32_t | Crypto_cmacFinish (Crypto_AesHandle handle, uint8_t *output) |
| This function finishes the CMAC operation, and writes the result to the output buffer. More...
|
|
int32_t | Crypto_cmacSingleShot (Crypto_AesHandle handle, const uint8_t *input, uint32_t ilen, uint8_t *output) |
| This function calculates the Advance Encryption Standard Cipher-based Message Authentication Code (AES-CMAC) of a buffer. More...
|
|