gos_aes128_iv_t Union Reference

AES-128 Initialization Vector (IV) More...

Data Fields

uint8_t buf [16]
Buffer to raw IV.
struct {
uint8_t nonce [16 - sizeof(uint32_t)]
The IV nonce (i.e. random value)
uint32_t counter
The counter of the IV.
} iv
IV struct.

Detailed Description

AES-128 Initialization Vector (IV)

This is a 'union' so the buf and iv fields point to the same memory

Examples:
file/file_encrypt/crypto.h , file/file_encrypt/encrypt.c , file/log_file_encrypted/crypto.h , file/log_file_encrypted/main.c , and security/aes_ctr/main.c .