Generic cipher context.
More...
#include <cipher.h>
Generic cipher context.
Definition at line 317 of file cipher.h.
◆ cipher_info
Information about the associated cipher.
Definition at line 320 of file cipher.h.
◆ key_bitlen
Key length to use.
Definition at line 323 of file cipher.h.
◆ operation
Operation that the key of the context has been initialized for.
Definition at line 328 of file cipher.h.
◆ unprocessed_data
unsigned char unprocessed_data[16] |
Buffer for input that has not been processed yet.
Definition at line 339 of file cipher.h.
◆ unprocessed_len
Number of Bytes that have not been processed yet.
Definition at line 342 of file cipher.h.
◆ iv
Current IV or NONCE_COUNTER for CTR-mode, data unit (or sector) number for XTS-mode.
Definition at line 346 of file cipher.h.
◆ iv_size
IV size in Bytes, for ciphers with variable-length IVs.
Definition at line 349 of file cipher.h.
◆ cipher_ctx
The cipher-specific context.
Definition at line 352 of file cipher.h.
◆ cmac_ctx
CMAC-specific context.
Definition at line 356 of file cipher.h.