49 #define SPH_SIZE_luffa224 224 54 #define SPH_SIZE_luffa256 256 59 #define SPH_SIZE_luffa384 384 64 #define SPH_SIZE_luffa512 512 77 #ifndef DOXYGEN_IGNORE 78 unsigned char buf[32];
94 #ifndef DOXYGEN_IGNORE 95 unsigned char buf[32];
105 #ifndef DOXYGEN_IGNORE 106 unsigned char buf[32];
128 void sph_luffa224(
void *cc,
const void *data,
size_t len);
155 void *cc,
unsigned ub,
unsigned n,
void *dst);
173 void sph_luffa256(
void *cc,
const void *data,
size_t len);
200 void *cc,
unsigned ub,
unsigned n,
void *dst);
218 void sph_luffa384(
void *cc,
const void *data,
size_t len);
245 void *cc,
unsigned ub,
unsigned n,
void *dst);
263 void sph_luffa512(
void *cc,
const void *data,
size_t len);
290 void *cc,
unsigned ub,
unsigned n,
void *dst);
void sph_luffa256(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_luffa224(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_luffa256_init(void *cc)
Initialize a Luffa-256 context.
void sph_luffa512_init(void *cc)
Initialize a Luffa-512 context.
void sph_luffa512_close(void *cc, void *dst)
Terminate the current Luffa-512 computation and output the result into the provided buffer...
void sph_luffa512(void *cc, const void *data, size_t len)
Process some data bytes.
This structure is a context for Luffa-224 computations: it contains the intermediate values and some ...
void sph_luffa256_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
Add a few additional bits (0 to 7) to the current computation, then terminate it and output the resul...
This structure is a context for Luffa-384 computations.
void sph_luffa384(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_luffa224_close(void *cc, void *dst)
Terminate the current Luffa-224 computation and output the result into the provided buffer...
void sph_luffa512_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
Add a few additional bits (0 to 7) to the current computation, then terminate it and output the resul...
void sph_luffa224_init(void *cc)
Initialize a Luffa-224 context.
void sph_luffa224_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
Add a few additional bits (0 to 7) to the current computation, then terminate it and output the resul...
void sph_luffa256_close(void *cc, void *dst)
Terminate the current Luffa-256 computation and output the result into the provided buffer...
This structure is a context for Luffa-512 computations.
sph_luffa224_context sph_luffa256_context
This structure is a context for Luffa-256 computations.
void sph_luffa384_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
Add a few additional bits (0 to 7) to the current computation, then terminate it and output the resul...
void sph_luffa384_init(void *cc)
Initialize a Luffa-384 context.
void sph_luffa384_close(void *cc, void *dst)
Terminate the current Luffa-384 computation and output the result into the provided buffer...