PolarSSL v1.3.8
|
Cipher information. More...
#include <cipher.h>
Data Fields | |
cipher_type_t | type |
Full cipher identifier (e.g. | |
cipher_mode_t | mode |
Cipher mode (e.g. | |
unsigned int | key_length |
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 cipher_base_t * | base |
Base cipher information and functions. | |
Cipher information.
Allows cipher functions to be called in a generic way.
const cipher_base_t* cipher_info_t::base |
unsigned int cipher_info_t::block_size |
block size, in bytes
Definition at line 248 of file cipher.h.
Referenced by cipher_get_block_size().
int cipher_info_t::flags |
unsigned int cipher_info_t::iv_size |
IV/NONCE size, in bytes.
For cipher that accept many sizes: recommended size
Definition at line 242 of file cipher.h.
Referenced by cipher_get_iv_size().
unsigned int cipher_info_t::key_length |
Cipher key length, in bits (default length for variable sized ciphers) (Includes parity bits for ciphers like DES)
Definition at line 235 of file cipher.h.
Referenced by cipher_get_key_size().
cipher_mode_t cipher_info_t::mode |
Cipher mode (e.g.
POLARSSL_MODE_CBC)
Definition at line 231 of file cipher.h.
Referenced by cipher_get_cipher_mode().
const char* cipher_info_t::name |
cipher_type_t cipher_info_t::type |
Full cipher identifier (e.g.
POLARSSL_CIPHER_AES_256_CBC)
Definition at line 228 of file cipher.h.
Referenced by cipher_get_type().