mbedtls_cipher_info_t Struct Reference

Cipher information. More...

#include <cipher.h>

Data Fields

mbedtls_cipher_type_t type
 Full cipher identifier (e.g.
mbedtls_cipher_mode_t mode
 Cipher mode (e.g.
unsigned int key_bitlen
 Cipher key length, in bits (default length for variable sized ciphers) (Includes parity bits for ciphers like DES).
const char * name
 Name of the cipher.
unsigned int iv_size
 IV/NONCE size, in bytes.
int flags
 Flags for variable IV size, variable key size, etc.
unsigned int block_size
 block size, in bytes
const mbedtls_cipher_base_tbase
 Base cipher information and functions.

Detailed Description

Cipher information.

Allows cipher functions to be called in a generic way.

Definition at line 182 of file cipher.h.


Field Documentation

Base cipher information and functions.

Definition at line 207 of file cipher.h.

block size, in bytes

Definition at line 204 of file cipher.h.

Referenced by mbedtls_cipher_get_block_size().

Flags for variable IV size, variable key size, etc.

Definition at line 201 of file cipher.h.

IV/NONCE size, in bytes.

For cipher that accept many sizes: recommended size

Definition at line 198 of file cipher.h.

Referenced by mbedtls_cipher_get_iv_size().

Cipher key length, in bits (default length for variable sized ciphers) (Includes parity bits for ciphers like DES).

Definition at line 191 of file cipher.h.

Referenced by mbedtls_cipher_get_key_bitlen().

Cipher mode (e.g.

MBEDTLS_MODE_CBC)

Definition at line 187 of file cipher.h.

Referenced by mbedtls_cipher_get_cipher_mode().

Name of the cipher.

Definition at line 194 of file cipher.h.

Referenced by mbedtls_cipher_get_name().

Full cipher identifier (e.g.

MBEDTLS_CIPHER_AES_256_CBC)

Definition at line 184 of file cipher.h.

Referenced by mbedtls_cipher_get_type().


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

Generated on 30 Jun 2016 for mbed TLS v2.3.0 by  doxygen 1.6.1