mbed TLS v2.28.0
|
#include <cipher.h>
Data Fields | |
const mbedtls_cipher_info_t * | cipher_info |
int | key_bitlen |
mbedtls_operation_t | operation |
void(* | add_padding )(unsigned char *output, size_t olen, size_t data_len) |
int(* | get_padding )(unsigned char *input, size_t ilen, size_t *data_len) |
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 |
mbedtls_cmac_context_t * | cmac_ctx |
unsigned char | psa_enabled |
void(* mbedtls_cipher_context_t::add_padding)(unsigned char *output, size_t olen, size_t data_len) |
void* mbedtls_cipher_context_t::cipher_ctx |
const mbedtls_cipher_info_t* mbedtls_cipher_context_t::cipher_info |
Information about the associated cipher.
Definition at line 321 of file cipher.h.
Referenced by 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(), and mbedtls_cipher_get_type().
mbedtls_cmac_context_t* mbedtls_cipher_context_t::cmac_ctx |
int(* mbedtls_cipher_context_t::get_padding)(unsigned char *input, size_t ilen, size_t *data_len) |
unsigned char mbedtls_cipher_context_t::iv[MBEDTLS_MAX_IV_LENGTH] |
size_t mbedtls_cipher_context_t::iv_size |
IV size in Bytes, for ciphers with variable-length IVs.
Definition at line 350 of file cipher.h.
Referenced by mbedtls_cipher_get_iv_size().
int mbedtls_cipher_context_t::key_bitlen |
mbedtls_operation_t mbedtls_cipher_context_t::operation |
Operation that the key of the context has been initialized for.
Definition at line 329 of file cipher.h.
Referenced by mbedtls_cipher_get_operation().
unsigned char mbedtls_cipher_context_t::psa_enabled |
Indicates whether the cipher operations should be performed by Mbed TLS' own crypto library or an external implementation of the PSA Crypto API. This is unset if the cipher context was established through mbedtls_cipher_setup(), and set if it was established through mbedtls_cipher_setup_psa().
unsigned char mbedtls_cipher_context_t::unprocessed_data[MBEDTLS_MAX_BLOCK_LENGTH] |
size_t mbedtls_cipher_context_t::unprocessed_len |