|
cx_err_t | cx_aes_init_key_no_throw (const uint8_t *rawkey, size_t key_len, cx_aes_key_t *key) |
| Initializes an AES Key. More...
|
static int | cx_aes_init_key (const unsigned char *rawkey, unsigned int key_len, cx_aes_key_t *key) |
| Initializes an AES Key. More...
|
cx_err_t | cx_aes_iv_no_throw (const cx_aes_key_t *key, uint32_t mode, const uint8_t *iv, size_t iv_len, const uint8_t *in, size_t in_len, uint8_t *out, size_t *out_len) |
| Encrypts, decrypts, signs or verifies data with AES algorithm. More...
|
static int | cx_aes_iv (const cx_aes_key_t *key, int mode, unsigned char *iv, unsigned int iv_len, const unsigned char *in, unsigned int in_len, unsigned char *out, unsigned int out_len) |
| Encrypts, decrypts, signs or verifies data with AES algorithm. More...
|
cx_err_t | cx_aes_no_throw (const cx_aes_key_t *key, uint32_t mode, const uint8_t *in, size_t in_len, uint8_t *out, size_t *out_len) |
| Encrypts, decrypts, signs or verifies data with AES algorithm. More...
|
static int | cx_aes (const cx_aes_key_t *key, int mode, const unsigned char *in, unsigned int in_len, unsigned char *out, unsigned int out_len) |
| Encrypts, decrypts, signs or verifies data with AES algorithm. More...
|
cx_err_t | cx_aes_enc_block (const cx_aes_key_t *key, const uint8_t *inblock, uint8_t *outblock) |
| Encrypts a 16-byte block using AES algorithm. More...
|
cx_err_t | cx_aes_dec_block (const cx_aes_key_t *key, const uint8_t *inblock, uint8_t *outblock) |
| Decrypts a 16-byte block using AES algorithm. More...
|
AES (Advanced Encryption Standard).
AES is an encryption standard based on Rijndael algorithm, a symmetric block cipher that can process data blocks of 128 bits. The key length is either 128, 192 or 256 bits.
Refer to FIPS 197 for more details.