CryptoAuthLib
Microchip CryptoAuthentication Library
|
CryptoAuthLib Basic API methods for AES command. More...
Functions | |
ATCA_STATUS | atcab_aes (uint8_t mode, uint16_t key_id, const uint8_t *aes_in, uint8_t *aes_out) |
Compute the AES-128 encrypt, decrypt, or GFM calculation. More... | |
ATCA_STATUS | atcab_aes_encrypt (uint16_t key_id, uint8_t key_block, const uint8_t *plaintext, uint8_t *ciphertext) |
Perform an AES-128 encrypt operation with a key in the device. More... | |
ATCA_STATUS | atcab_aes_decrypt (uint16_t key_id, uint8_t key_block, const uint8_t *ciphertext, uint8_t *plaintext) |
Perform an AES-128 decrypt operation with a key in the device. More... | |
ATCA_STATUS | atcab_aes_gfm (const uint8_t *h, const uint8_t *input, uint8_t *output) |
Perform a Galois Field Multiply (GFM) operation. More... | |
CryptoAuthLib Basic API methods for AES command.
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.