mbedtls_cipher_context_t Struct Reference

#include <cipher.h>

Collaboration diagram for mbedtls_cipher_context_t:
Collaboration graph
[legend]

Data Fields

const mbedtls_cipher_info_tcipher_info
int key_bitlen
mbedtls_operation_t operation
unsigned char unprocessed_data [MBEDTLS_MAX_BLOCK_LENGTH]
size_t unprocessed_len
unsigned char iv [MBEDTLS_MAX_IV_LENGTH]
size_t iv_size
void * cipher_ctx

Detailed Description

Generic cipher context.

Definition at line 272 of file cipher.h.


Field Documentation

The cipher-specific context.

Definition at line 305 of file cipher.h.

unsigned char mbedtls_cipher_context_t::iv[MBEDTLS_MAX_IV_LENGTH]

Current IV or NONCE_COUNTER for CTR-mode.

Definition at line 299 of file cipher.h.

IV size in Bytes, for ciphers with variable-length IVs.

Definition at line 302 of file cipher.h.

Referenced by mbedtls_cipher_get_iv_size().

Key length to use.

Definition at line 277 of file cipher.h.

Operation that the key of the context has been initialized for.

Definition at line 282 of file cipher.h.

Referenced by mbedtls_cipher_get_operation().

unsigned char mbedtls_cipher_context_t::unprocessed_data[MBEDTLS_MAX_BLOCK_LENGTH]

Buffer for input that has not been processed yet.

Definition at line 293 of file cipher.h.

Number of Bytes that have not been processed yet.

Definition at line 296 of file cipher.h.


The documentation for this struct was generated from the following file:

Generated on 10 Aug 2020 for mbed TLS v2.7.16 by  doxygen 1.6.1