Leancrypto 1.7.2
Post-Quantum Cryptographic Library
Macros | Variables
lc_ascon_hash.h File Reference
#include "lc_hash.h"
+ Include dependency graph for lc_ascon_hash.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LC_ASCON_256_CTX_ON_STACK(name)    LC_ASCON_CTX_ON_STACK(name, lc_ascon_256)
 Allocate stack memory for the Ascon 256 context without VLA. More...
 
#define LC_ASCON_XOF_CTX_ON_STACK(name)    LC_ASCON_CTX_ON_STACK(name, lc_ascon_xof)
 Allocate stack memory for the Ascon XOF context without VLA. More...
 

Variables

const struct lc_hash * lc_ascon_256
 Ascon 256 message digest algorithm. More...
 
const struct lc_hash * lc_ascon_128a
 Ascon 128a message digest algorithm. More...
 
const struct lc_hash * lc_ascon_xof
 Ascon XOF extended output function. More...
 

Macro Definition Documentation

◆ LC_ASCON_256_CTX_ON_STACK

#define LC_ASCON_256_CTX_ON_STACK (   name)     LC_ASCON_CTX_ON_STACK(name, lc_ascon_256)

Allocate stack memory for the Ascon 256 context without VLA.

Parameters
[in]nameName of the stack variable

Definition at line 95 of file lc_ascon_hash.h.

◆ LC_ASCON_XOF_CTX_ON_STACK

#define LC_ASCON_XOF_CTX_ON_STACK (   name)     LC_ASCON_CTX_ON_STACK(name, lc_ascon_xof)

Allocate stack memory for the Ascon XOF context without VLA.

Parameters
[in]nameName of the stack variable

Definition at line 103 of file lc_ascon_hash.h.

Variable Documentation

◆ lc_ascon_128a

lc_ascon_128a
extern

Ascon 128a message digest algorithm.

◆ lc_ascon_256

lc_ascon_256
extern

Ascon 256 message digest algorithm.

◆ lc_ascon_xof

lc_ascon_xof
extern

Ascon XOF extended output function.