ASCON Suite
Functions
ascon-xof-internal.h File Reference
#include <ascon/xof.h>

Go to the source code of this file.

Functions

void ascon_xof_absorb_custom (ascon_xof_state_t *state, const unsigned char *custom, size_t customlen)
 Absorbs a customization string into an ASCON-XOF state. More...
 
void ascon_xofa_absorb_custom (ascon_xofa_state_t *state, const unsigned char *custom, size_t customlen)
 Absorbs a customization string into an ASCON-XOFA state. More...
 

Function Documentation

◆ ascon_xof_absorb_custom()

void ascon_xof_absorb_custom ( ascon_xof_state_t state,
const unsigned char *  custom,
size_t  customlen 
)

Absorbs a customization string into an ASCON-XOF state.

Parameters
stateXOF state to be updated.
customPoints to the customization string.
customlenNumber of bytes in the customization string.

Definition at line 131 of file ascon-xof.c.

◆ ascon_xofa_absorb_custom()

void ascon_xofa_absorb_custom ( ascon_xofa_state_t state,
const unsigned char *  custom,
size_t  customlen 
)

Absorbs a customization string into an ASCON-XOFA state.

Parameters
stateXOF state to be updated.
customPoints to the customization string.
customlenNumber of bytes in the customization string.

Definition at line 129 of file ascon-xofa.c.