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

Information about the associated cipher.

mbedtls_cipher_get_block_size
mbedtls_cipher_get_cipher_mode
mbedtls_cipher_get_iv_size
mbedtls_cipher_get_key_bitlen
mbedtls_cipher_get_name
mbedtls_cipher_get_operation
mbedtls_cipher_get_type
int int mbedtls_cipher_context_t::key_bitlen key_bitlen mbedtls_cipher_context_t::key_bitlen

Key length to use.

mbedtls_operation_t mbedtls_operation_t mbedtls_cipher_context_t::operation operation mbedtls_cipher_context_t::operation

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

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

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

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

Buffer for input that has not been processed yet.

size_t size_t mbedtls_cipher_context_t::unprocessed_len unprocessed_len mbedtls_cipher_context_t::unprocessed_len

Number of Bytes that have not been processed yet.

unsigned char unsigned char mbedtls_cipher_context_t::iv[MBEDTLS_MAX_IV_LENGTH] [MBEDTLS_MAX_IV_LENGTH] iv mbedtls_cipher_context_t::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::iv_size iv_size mbedtls_cipher_context_t::iv_size

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

mbedtls_cipher_get_iv_size
void * void* mbedtls_cipher_context_t::cipher_ctx cipher_ctx mbedtls_cipher_context_t::cipher_ctx

The cipher-specific context.

mbedtls_cmac_context_t * mbedtls_cmac_context_t* mbedtls_cipher_context_t::cmac_ctx cmac_ctx mbedtls_cipher_context_t::cmac_ctx

CMAC-specific context.

Generic cipher context.

mbedtls_cipher_context_t
cipher_info
cmac_ctx
mbedtls_cipher_info_t
mbedtls_cmac_context_t
- mbedtls_cipher_context_t
  add_padding
- mbedtls_cipher_context_t
  cipher_ctx
- mbedtls_cipher_context_t
  cipher_info
- mbedtls_cipher_context_t
  cmac_ctx
- mbedtls_cipher_context_t
  get_padding
- mbedtls_cipher_context_t
  iv
- mbedtls_cipher_context_t
  iv_size
- mbedtls_cipher_context_t
  key_bitlen
- mbedtls_cipher_context_t
  operation
- mbedtls_cipher_context_t
  unprocessed_data
- mbedtls_cipher_context_t
  unprocessed_len