Leancrypto 0.12.0
Post-Quantum Cryptographic Library
Loading...
Searching...
No Matches
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_128_CTX_ON_STACK(name)    LC_ASCON_CTX_ON_STACK(name, lc_ascon_128)
 Allocate stack memory for the Ascon 128 context without VLA.
 
#define LC_ASCON_128A_CTX_ON_STACK(name)    LC_ASCON_CTX_ON_STACK(name, lc_ascon_128a)
 Allocate stack memory for the Ascon 128a context without VLA.
 
#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.
 
#define LC_ASCON_XOFA_CTX_ON_STACK(name)    LC_ASCON_CTX_ON_STACK(name, lc_ascon_xofa)
 Allocate stack memory for the Ascon XOFa context without VLA.
 

Variables

const struct lc_hashlc_ascon_128
 Ascon 128 message digest algorithm.
 
const struct lc_hashlc_ascon_128a
 Ascon 128a message digest algorithm.
 
const struct lc_hashlc_ascon_xof
 Ascon XOF extended output function.
 
const struct lc_hashlc_ascon_xofa
 Ascon XOFa extended output function.
 

Macro Definition Documentation

◆ LC_ASCON_128_CTX_ON_STACK

#define LC_ASCON_128_CTX_ON_STACK ( name)     LC_ASCON_CTX_ON_STACK(name, lc_ascon_128)

Allocate stack memory for the Ascon 128 context without VLA.

Parameters
[in]nameName of the stack variable

Definition at line 102 of file lc_ascon_hash.h.

◆ LC_ASCON_128A_CTX_ON_STACK

#define LC_ASCON_128A_CTX_ON_STACK ( name)     LC_ASCON_CTX_ON_STACK(name, lc_ascon_128a)

Allocate stack memory for the Ascon 128a context without VLA.

Parameters
[in]nameName of the stack variable

Definition at line 110 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 118 of file lc_ascon_hash.h.

◆ LC_ASCON_XOFA_CTX_ON_STACK

#define LC_ASCON_XOFA_CTX_ON_STACK ( name)     LC_ASCON_CTX_ON_STACK(name, lc_ascon_xofa)

Allocate stack memory for the Ascon XOFa context without VLA.

Parameters
[in]nameName of the stack variable

Definition at line 126 of file lc_ascon_hash.h.

Variable Documentation

◆ lc_ascon_128

const struct lc_hash* lc_ascon_128
extern

Ascon 128 message digest algorithm.

◆ lc_ascon_128a

const struct lc_hash* lc_ascon_128a
extern

Ascon 128a message digest algorithm.

◆ lc_ascon_xof

const struct lc_hash* lc_ascon_xof
extern

Ascon XOF extended output function.

◆ lc_ascon_xofa

const struct lc_hash* lc_ascon_xofa
extern

Ascon XOFa extended output function.