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-common.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
 

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

unsigned aead_cipher_t::tag_len

Length of the tag in bytes


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