![]() |
mbed TLS
Version 2.16.8
SSL/TLS Library for the Embedded Space
|
Generic cipher context. More...
Data Fields | |
const mbedtls_cipher_info_t * | cipher_info |
Information about the associated cipher. More... | |
int | key_bitlen |
Key length to use. More... | |
mbedtls_operation_t | operation |
Operation that the key of the context has been initialized for. | |
void(* | add_padding )(unsigned char *output, size_t olen, size_t data_len) |
Padding functions to use, if relevant for the specific cipher mode. | |
int(* | get_padding )(unsigned char *input, size_t ilen, size_t *data_len) |
unsigned char | unprocessed_data [MBEDTLS_MAX_BLOCK_LENGTH] |
Buffer for input that has not been processed yet. More... | |
size_t | unprocessed_len |
Number of Bytes that have not been processed yet. More... | |
unsigned char | iv [MBEDTLS_MAX_IV_LENGTH] |
Current IV or NONCE_COUNTER for CTR-mode, data unit (or sector) number for XTS-mode. More... | |
size_t | iv_size |
IV size in Bytes, for ciphers with variable-length IVs. More... | |
void * | cipher_ctx |
The cipher-specific context. More... | |
Generic cipher context.
void* cipher_ctx |
The cipher-specific context.
const mbedtls_cipher_info_t* cipher_info |
Information about the associated cipher.
unsigned char iv[MBEDTLS_MAX_IV_LENGTH] |
Current IV or NONCE_COUNTER for CTR-mode, data unit (or sector) number for XTS-mode.
size_t iv_size |
IV size in Bytes, for ciphers with variable-length IVs.
int key_bitlen |
Key length to use.
unsigned char unprocessed_data[MBEDTLS_MAX_BLOCK_LENGTH] |
Buffer for input that has not been processed yet.
size_t unprocessed_len |
Number of Bytes that have not been processed yet.