Go to the documentation of this file.
38 #ifndef AES_PRIVATE_CONTEXT
39 #define AES_PRIVATE_CONTEXT
43 #define AES_BLOCK_SIZE 16
45 #define AES_CIPHER_ALGO (&aesCipherAlgo)
void aesDeinit(AesContext *context)
Release AES context.
const uint8_t AES256_ECB_OID[9]
#define AES_PRIVATE_CONTEXT
const uint8_t AES192_OFB_OID[9]
error_t aesInit(AesContext *context, const uint8_t *key, size_t keyLen)
Key expansion.
void aesEncryptBlock(AesContext *context, const uint8_t *input, uint8_t *output)
Encrypt a 16-byte block using AES algorithm.
const uint8_t AES192_CCM_OID[9]
const uint8_t AES128_GCM_OID[9]
const uint8_t AES128_OFB_OID[9]
const uint8_t AES128_CCM_OID[9]
General definitions for cryptographic algorithms.
const uint8_t AES192_GCM_OID[9]
void aesDecryptBlock(AesContext *context, const uint8_t *input, uint8_t *output)
Decrypt a 16-byte block using AES algorithm.
const uint8_t AES128_ECB_OID[9]
const uint8_t AES192_ECB_OID[9]
const uint8_t AES128_CBC_OID[9]
const uint8_t AES192_CBC_OID[9]
const uint8_t AES256_CFB_OID[9]
const uint8_t AES128_CFB_OID[9]
Common interface for encryption algorithms.
const uint8_t AES256_GCM_OID[9]
const uint8_t AES256_CCM_OID[9]
const CipherAlgo aesCipherAlgo
const uint8_t AES256_OFB_OID[9]
const uint8_t AES192_CFB_OID[9]
const uint8_t AES256_CBC_OID[9]