Data Fields
cipher_test Struct Reference

A cipher test. More...

#include <cipher_test.h>

Data Fields

struct cipher_algorithmcipher
 Cipher algorithm. More...
const void * key
 Key. More...
size_t key_len
 Length of key. More...
const void * iv
 Initialisation vector. More...
size_t iv_len
 Length of initialisation vector. More...
const void * additional
 Additional data. More...
size_t additional_len
 Length of additional data. More...
const void * plaintext
 Plaintext. More...
const void * ciphertext
 Ciphertext. More...
size_t len
 Length of text. More...
const void * auth
 Authentication tag. More...
size_t auth_len
 Length of authentication tag. More...

Detailed Description

A cipher test.

Definition at line 17 of file cipher_test.h.

Field Documentation

◆ cipher

struct cipher_algorithm* cipher_test::cipher

Cipher algorithm.

Definition at line 19 of file cipher_test.h.

◆ key

const void* cipher_test::key


Definition at line 21 of file cipher_test.h.

◆ key_len

size_t cipher_test::key_len

Length of key.

Definition at line 23 of file cipher_test.h.

◆ iv

const void* cipher_test::iv

Initialisation vector.

Definition at line 25 of file cipher_test.h.

◆ iv_len

size_t cipher_test::iv_len

Length of initialisation vector.

Definition at line 27 of file cipher_test.h.

◆ additional

const void* cipher_test::additional

Additional data.

Definition at line 29 of file cipher_test.h.

◆ additional_len

size_t cipher_test::additional_len

Length of additional data.

Definition at line 31 of file cipher_test.h.

◆ plaintext

const void* cipher_test::plaintext


Definition at line 33 of file cipher_test.h.

◆ ciphertext

const void* cipher_test::ciphertext


Definition at line 35 of file cipher_test.h.

◆ len

size_t cipher_test::len

Length of text.

Definition at line 37 of file cipher_test.h.

◆ auth

const void* cipher_test::auth

Authentication tag.

Definition at line 39 of file cipher_test.h.

◆ auth_len

size_t cipher_test::auth_len

Length of authentication tag.

Definition at line 41 of file cipher_test.h.

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