mbedtls_cipher_context_t
cipher.h
const mbedtls_cipher_info_t * const mbedtls_cipher_info_t* mbedtls_cipher_context_t::private_cipher_info private_cipher_info mbedtls_cipher_context_t::private_cipher_info

Information about the associated cipher.

int int mbedtls_cipher_context_t::private_key_bitlen private_key_bitlen mbedtls_cipher_context_t::private_key_bitlen

Key length to use.

mbedtls_operation_t mbedtls_operation_t mbedtls_cipher_context_t::private_operation private_operation mbedtls_cipher_context_t::private_operation

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

void(* void(* mbedtls_cipher_context_t::private_add_padding) (unsigned char *output, size_t olen, size_t data_len) )(unsigned char *output, size_t olen, size_t data_len) private_add_padding mbedtls_cipher_context_t::private_add_padding

Padding functions to use, if relevant for the specific cipher mode.

int(* int(* mbedtls_cipher_context_t::private_get_padding) (unsigned char *input, size_t ilen, size_t *data_len) )(unsigned char *input, size_t ilen, size_t *data_len) private_get_padding mbedtls_cipher_context_t::private_get_padding
unsigned char unsigned char mbedtls_cipher_context_t::private_unprocessed_data[MBEDTLS_MAX_BLOCK_LENGTH] [MBEDTLS_MAX_BLOCK_LENGTH] private_unprocessed_data mbedtls_cipher_context_t::private_unprocessed_data

Buffer for input that has not been processed yet.

size_t size_t mbedtls_cipher_context_t::private_unprocessed_len private_unprocessed_len mbedtls_cipher_context_t::private_unprocessed_len

Number of Bytes that have not been processed yet.

unsigned char unsigned char mbedtls_cipher_context_t::private_iv[MBEDTLS_MAX_IV_LENGTH] [MBEDTLS_MAX_IV_LENGTH] private_iv mbedtls_cipher_context_t::private_iv

Current IV or NONCE_COUNTER for CTR-mode, data unit (or sector) number for XTS-mode.

size_t size_t mbedtls_cipher_context_t::private_iv_size private_iv_size mbedtls_cipher_context_t::private_iv_size

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

void * void* mbedtls_cipher_context_t::private_cipher_ctx private_cipher_ctx mbedtls_cipher_context_t::private_cipher_ctx

The cipher-specific context.

mbedtls_cmac_context_t * mbedtls_cmac_context_t* mbedtls_cipher_context_t::private_cmac_ctx private_cmac_ctx mbedtls_cipher_context_t::private_cmac_ctx

CMAC-specific context.

Generic cipher context.

mbedtls_cipher_context_t
private_cipher_info
private_cmac_ctx
mbedtls_cipher_info_t
mbedtls_cmac_context_t
- mbedtls_cipher_context_t
  private_add_padding
- mbedtls_cipher_context_t
  private_cipher_ctx
- mbedtls_cipher_context_t
  private_cipher_info
- mbedtls_cipher_context_t
  private_cmac_ctx
- mbedtls_cipher_context_t
  private_get_padding
- mbedtls_cipher_context_t
  private_iv
- mbedtls_cipher_context_t
  private_iv_size
- mbedtls_cipher_context_t
  private_key_bitlen
- mbedtls_cipher_context_t
  private_operation
- mbedtls_cipher_context_t
  private_unprocessed_data
- mbedtls_cipher_context_t
  private_unprocessed_len