CryptoAuthLib
Microchip CryptoAuthentication Library
|
CryptoAuthLib Basic API methods for AES CBC mode. More...
#include "atca_basic.h"
Functions | |
ATCA_STATUS | atcab_aes_cbc_init (atca_aes_cbc_ctx_t *ctx, uint16_t key_id, uint8_t key_block, const uint8_t *iv) |
Initialize context for AES CBC operation. More... | |
ATCA_STATUS | atcab_aes_cbc_encrypt_block (atca_aes_cbc_ctx_t *ctx, const uint8_t *plaintext, uint8_t *ciphertext) |
Encrypt a block of data using CBC mode and a key within the ATECC608A. atcab_aes_cbc_init() should be called before the first use of this function. More... | |
ATCA_STATUS | atcab_aes_cbc_decrypt_block (atca_aes_cbc_ctx_t *ctx, const uint8_t *ciphertext, uint8_t *plaintext) |
Decrypt a block of data using CBC mode and a key within the ATECC608A. atcab_aes_cbc_init() should be called before the first use of this function. More... | |
CryptoAuthLib Basic API methods for AES CBC mode.
The AES command supports 128-bit AES encryption or decryption of small messages or data packets in ECB mode. Also can perform GFM (Galois Field Multiply) calculation in support of AES-GCM.