PolarSSL v1.2.8
Data Fields
cipher_info_t Struct Reference

Cipher information. More...

#include <cipher.h>

Collaboration diagram for cipher_info_t:
Collaboration graph
[legend]

Data Fields

cipher_type_t type
 Full cipher identifier (e.g. More...
 
cipher_mode_t mode
 Cipher mode (e.g. More...
 
unsigned int key_length
 Cipher key length, in bits (default length for variable sized ciphers) (Includes parity bits for ciphers like DES) More...
 
const char * name
 Name of the cipher. More...
 
unsigned int iv_size
 IV size, in bytes. More...
 
unsigned int block_size
 block size, in bytes More...
 
const cipher_base_tbase
 Base cipher information and functions. More...
 

Detailed Description

Cipher information.

Allows cipher functions to be called in a generic way.

Definition at line 153 of file cipher.h.

Field Documentation

const cipher_base_t* cipher_info_t::base

Base cipher information and functions.

Definition at line 174 of file cipher.h.

unsigned int cipher_info_t::block_size

block size, in bytes

Definition at line 171 of file cipher.h.

Referenced by cipher_get_block_size().

unsigned int cipher_info_t::iv_size

IV size, in bytes.

Definition at line 168 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 162 of file cipher.h.

cipher_mode_t cipher_info_t::mode

Cipher mode (e.g.

POLARSSL_MODE_CBC)

Definition at line 158 of file cipher.h.

Referenced by cipher_get_cipher_mode().

const char* cipher_info_t::name

Name of the cipher.

Definition at line 165 of file cipher.h.

Referenced by cipher_get_name().

cipher_type_t cipher_info_t::type

Full cipher identifier (e.g.

POLARSSL_CIPHER_AES_256_CBC)

Definition at line 155 of file cipher.h.

Referenced by cipher_get_type().


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