Software APIs
Data Fields
aes_gcm_test Struct Reference

Data Fields

size_t key_len
 Key length in words.
 
const uint32_t * key
 Key material (length = key_len).
 
size_t iv_len
 IV and length (in bytes). More...
 
uint8_t iv [16]
 
size_t plaintext_len
 Plaintext and length (in bytes).
 
uint8_t * plaintext
 
size_t aad_len
 Authenticated data and length (in bytes).
 
uint8_t * aad
 
uint8_t * ciphertext
 Ciphertext (same length as plaintext).
 
size_t tag_len
 Authentication tag and length (in bytes). More...
 
uint8_t tag [16]
 

Detailed Description

Definition at line 16 of file aes_gcm_testutils.h.

Field Documentation

◆ aad

uint8_t* aes_gcm_test::aad

Definition at line 40 of file aes_gcm_testutils.h.

◆ aad_len

size_t aes_gcm_test::aad_len

Authenticated data and length (in bytes).

Definition at line 39 of file aes_gcm_testutils.h.

◆ ciphertext

uint8_t* aes_gcm_test::ciphertext

Ciphertext (same length as plaintext).

Definition at line 44 of file aes_gcm_testutils.h.

◆ iv

uint8_t aes_gcm_test::iv[16]

Definition at line 30 of file aes_gcm_testutils.h.

◆ iv_len

size_t aes_gcm_test::iv_len

IV and length (in bytes).

If IV length is < 16 then the last bytes are ignored.

Definition at line 29 of file aes_gcm_testutils.h.

◆ key

const uint32_t* aes_gcm_test::key

Key material (length = key_len).

Definition at line 24 of file aes_gcm_testutils.h.

◆ key_len

size_t aes_gcm_test::key_len

Key length in words.

Definition at line 20 of file aes_gcm_testutils.h.

◆ plaintext

uint8_t* aes_gcm_test::plaintext

Definition at line 35 of file aes_gcm_testutils.h.

◆ plaintext_len

size_t aes_gcm_test::plaintext_len

Plaintext and length (in bytes).

Definition at line 34 of file aes_gcm_testutils.h.

◆ tag

uint8_t aes_gcm_test::tag[16]

Definition at line 50 of file aes_gcm_testutils.h.

◆ tag_len

size_t aes_gcm_test::tag_len

Authentication tag and length (in bytes).

If the length is < 16 then the last bytes are ignored.

Definition at line 49 of file aes_gcm_testutils.h.