CryptoAuthLib
Microchip CryptoAuthentication Library
|
#include <atca_basic_aes_gcm.h>
Data Fields | |
uint16_t | key_id |
Key location. Can either be a slot number or ATCA_TEMPKEY_KEYID for TempKey. More... | |
uint8_t | key_block |
Index of the 16-byte block to use within the key location for the actual key. More... | |
uint8_t | cb [AES_DATA_SIZE] |
Counter block, comprises of nonce + count value (16 bytes). More... | |
uint32_t | data_size |
Size of the data being encrypted/decrypted in bytes. More... | |
uint32_t | aad_size |
Size of the additional authenticated data in bytes. More... | |
uint8_t | h [AES_DATA_SIZE] |
Subkey for ghash functions in GCM. More... | |
uint8_t | j0 [AES_DATA_SIZE] |
Precounter block generated from IV. More... | |
uint8_t | y [AES_DATA_SIZE] |
Current GHASH output. More... | |
uint8_t | partial_aad [AES_DATA_SIZE] |
Partial blocks of data waiting to be processed. More... | |
uint32_t | partial_aad_size |
Amount of data in the partial block buffer. More... | |
uint8_t | enc_cb [AES_DATA_SIZE] |
Last encrypted counter block. More... | |
uint8_t | ciphertext_block [AES_DATA_SIZE] |
Last ciphertext block. More... | |
Context structure for AES GCM operations.
uint32_t aad_size |
Size of the additional authenticated data in bytes.
uint8_t cb[AES_DATA_SIZE] |
Counter block, comprises of nonce + count value (16 bytes).
uint8_t ciphertext_block[AES_DATA_SIZE] |
Last ciphertext block.
uint32_t data_size |
Size of the data being encrypted/decrypted in bytes.
uint8_t enc_cb[AES_DATA_SIZE] |
Last encrypted counter block.
uint8_t h[AES_DATA_SIZE] |
Subkey for ghash functions in GCM.
uint8_t j0[AES_DATA_SIZE] |
Precounter block generated from IV.
uint8_t key_block |
Index of the 16-byte block to use within the key location for the actual key.
uint16_t key_id |
Key location. Can either be a slot number or ATCA_TEMPKEY_KEYID for TempKey.
uint8_t partial_aad[AES_DATA_SIZE] |
Partial blocks of data waiting to be processed.
uint32_t partial_aad_size |
Amount of data in the partial block buffer.
uint8_t y[AES_DATA_SIZE] |
Current GHASH output.