Lightweight Cryptography Primitives
 All Data Structures Files Functions Variables Typedefs Macros Pages
Data Fields
aead_cipher_t Struct Reference

Meta-information about an AEAD cipher. More...

#include <aead-metadata.h>

Data Fields

const char * name
 
unsigned key_len
 
unsigned nonce_len
 
unsigned tag_len
 
unsigned flags
 
aead_cipher_encrypt_t encrypt
 
aead_cipher_decrypt_t decrypt
 
unsigned pk_state_len
 
aead_cipher_pk_init_t pk_init
 

Detailed Description

Meta-information about an AEAD cipher.

Field Documentation

aead_cipher_decrypt_t aead_cipher_t::decrypt

AEAD decryption function

aead_cipher_encrypt_t aead_cipher_t::encrypt

AEAD encryption function

unsigned aead_cipher_t::flags

Flags for extra features

unsigned aead_cipher_t::key_len

Length of the key in bytes

const char* aead_cipher_t::name

Name of the cipher

unsigned aead_cipher_t::nonce_len

Length of the nonce in bytes

aead_cipher_pk_init_t aead_cipher_t::pk_init

AEAD pre-computed init function

unsigned aead_cipher_t::pk_state_len

Length of the pre-computed state

unsigned aead_cipher_t::tag_len

Length of the tag in bytes


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