mbedtls_cipher_info_t Struct Reference

#include <cipher.h>

Data Fields

mbedtls_cipher_type_t type
mbedtls_cipher_mode_t mode
unsigned int key_bitlen
const char * name
unsigned int iv_size
int flags
unsigned int block_size
const mbedtls_cipher_base_tbase

Detailed Description

Cipher information. Allows calling cipher functions in a generic way.

Definition at line 234 of file cipher.h.


Field Documentation

Struct for base cipher information and functions.

Definition at line 265 of file cipher.h.

The block size, in Bytes.

Definition at line 262 of file cipher.h.

Referenced by mbedtls_cipher_get_block_size().

Flags to set. For example, if the cipher supports variable IV sizes or variable key sizes.

Definition at line 259 of file cipher.h.

IV or nonce size, in Bytes. For ciphers that accept variable IV sizes, this is the recommended size.

Definition at line 256 of file cipher.h.

Referenced by mbedtls_cipher_get_iv_size().

The cipher key length, in bits. This is the default length for variable sized ciphers. Includes parity bits for ciphers like DES.

Definition at line 247 of file cipher.h.

Referenced by mbedtls_cipher_get_key_bitlen().

The cipher mode. For example, MBEDTLS_MODE_CBC.

Definition at line 241 of file cipher.h.

Referenced by mbedtls_cipher_get_cipher_mode().

Name of the cipher.

Definition at line 250 of file cipher.h.

Referenced by mbedtls_cipher_get_name().

Full cipher identifier. For example, MBEDTLS_CIPHER_AES_256_CBC.

Definition at line 238 of file cipher.h.

Referenced by mbedtls_cipher_get_type().


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