mbedTLS + 0/1 examples
SourceVu will show references to mbedtls_cipher_info_t from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxRelatedExamplesReferencesInstances

Fields

Field
Declared as
Description
private_name
const char *MBEDTLS_PRIVATE
Name of the cipher.
private_block_size
unsigned int MBEDTLS_PRIVATE(block_size) : 5
The block size, in bytes.
private_iv_size
unsigned int MBEDTLS_PRIVATE(iv_size) : 3
IV or nonce size, in bytes (right shifted by #MBEDTLS_IV_SIZE_SHIFT). For ciphers that accept variable IV sizes, this is the recommended size.
private_key_bitlen
unsigned int MBEDTLS_PRIVATE(key_bitlen) : 4
The cipher key length, in bits (right shifted by #MBEDTLS_KEY_BITLEN_SHIFT). This is the default length for variable sized ciphers. Includes parity bits for ciphers like DES.
private_mode
unsigned int MBEDTLS_PRIVATE(mode) : 4
The cipher mode (as per mbedtls_cipher_mode_t). For example, MBEDTLS_MODE_CBC.
private_type
unsigned int MBEDTLS_PRIVATE(type) : 8
Full cipher identifier (as per mbedtls_cipher_type_t). For example, MBEDTLS_CIPHER_AES_256_CBC. This could be 7 bits, but 8 bits retains byte alignment for the next field, which reduces code size to access that field.
private_flags
unsigned int MBEDTLS_PRIVATE(flags) : 2
Bitflag comprised of MBEDTLS_CIPHER_VARIABLE_IV_LEN and MBEDTLS_CIPHER_VARIABLE_KEY_LEN indicating whether the cipher supports variable IV or variable key sizes, respectively.
private_base_idx
unsigned int MBEDTLS_PRIVATE(base_idx) : 5
Index to LUT for base cipher information and functions.
const char *MBEDTLS_PRIVATE(name
Name of the cipher.
unsigned int MBEDTLS_PRIVATE(block_size) : 5
The block size, in bytes.
iv_size
unsigned int MBEDTLS_PRIVATE(iv_size) : 3
IV or nonce size, in bytes (right shifted by #MBEDTLS_IV_SIZE_SHIFT). For ciphers that accept variable IV sizes, this is the recommended size.
key_bitlen
unsigned int MBEDTLS_PRIVATE(key_bitlen) : 4
The cipher key length, in bits (right shifted by #MBEDTLS_KEY_BITLEN_SHIFT). This is the default length for variable sized ciphers. Includes parity bits for ciphers like DES.
unsigned int MBEDTLS_PRIVATE(mode) : 4
The cipher mode (as per mbedtls_cipher_mode_t). For example, MBEDTLS_MODE_CBC.
unsigned int MBEDTLS_PRIVATE(type) : 8
Full cipher identifier (as per mbedtls_cipher_type_t). For example, MBEDTLS_CIPHER_AES_256_CBC. This could be 7 bits, but 8 bits retains byte alignment for the next field, which reduces code size to access that field.
unsigned int MBEDTLS_PRIVATE(flags) : 2
Bitflag comprised of MBEDTLS_CIPHER_VARIABLE_IV_LEN and MBEDTLS_CIPHER_VARIABLE_KEY_LEN indicating whether the cipher supports variable IV or variable key sizes, respectively.
unsigned int MBEDTLS_PRIVATE(base_idx) : 5
Index to LUT for base cipher information and functions.

References

from 0/1 examples