Leancrypto 1.6.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_256_CTX_ON_STACK(name)
 Allocate stack memory for the Ascon 256 context without VLA.
#define LC_ASCON_XOF_CTX_ON_STACK(name)
 Allocate stack memory for the Ascon XOF context without VLA.

Variables

const struct lc_hashlc_ascon_256
 Ascon 256 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.

Macro Definition Documentation

◆ LC_ASCON_256_CTX_ON_STACK

#define LC_ASCON_256_CTX_ON_STACK ( name)
Value:
LC_ASCON_CTX_ON_STACK(name, lc_ascon_256)
const struct lc_hash * lc_ascon_256
Ascon 256 message digest algorithm.

Allocate stack memory for the Ascon 256 context without VLA.

Parameters
[in]nameName of the stack variable

Definition at line 96 of file lc_ascon_hash.h.

◆ LC_ASCON_XOF_CTX_ON_STACK

#define LC_ASCON_XOF_CTX_ON_STACK ( name)
Value:
LC_ASCON_CTX_ON_STACK(name, lc_ascon_xof)
const struct lc_hash * lc_ascon_xof
Ascon XOF extended output function.

Allocate stack memory for the Ascon XOF context without VLA.

Parameters
[in]nameName of the stack variable

Definition at line 104 of file lc_ascon_hash.h.

Variable Documentation

◆ lc_ascon_128a

const struct lc_hash* lc_ascon_128a
extern

Ascon 128a message digest algorithm.

◆ lc_ascon_256

const struct lc_hash* lc_ascon_256
extern

Ascon 256 message digest algorithm.

◆ lc_ascon_xof

const struct lc_hash* lc_ascon_xof
extern

Ascon XOF extended output function.