49 #define SPH_SIZE_echo224 224 54 #define SPH_SIZE_echo256 256 59 #define SPH_SIZE_echo384 384 64 #define SPH_SIZE_echo512 512 78 #ifndef DOXYGEN_IGNORE 79 unsigned char buf[192];
103 #ifndef DOXYGEN_IGNORE 104 unsigned char buf[128];
152 void sph_echo224(
void *cc,
const void *data,
size_t len);
179 void *cc,
unsigned ub,
unsigned n,
void *dst);
197 void sph_echo256(
void *cc,
const void *data,
size_t len);
224 void *cc,
unsigned ub,
unsigned n,
void *dst);
242 void sph_echo384(
void *cc,
const void *data,
size_t len);
269 void *cc,
unsigned ub,
unsigned n,
void *dst);
287 void sph_echo512(
void *cc,
const void *data,
size_t len);
314 void *cc,
unsigned ub,
unsigned n,
void *dst);
This structure is a context for ECHO computations: it contains the intermediate values and some data ...
void sph_echo224_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_echo256_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_echo256_close(void *cc, void *dst)
Terminate the current ECHO-256 computation and output the result into the provided buffer...
void sph_echo384(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_echo512_close(void *cc, void *dst)
Terminate the current ECHO-512 computation and output the result into the provided buffer...
void sph_echo224_init(void *cc)
Initialize an ECHO-224 context.
sph_echo_big_context sph_echo512_context
Type for a ECHO-512 context (identical to the common "big" context).
void sph_echo512(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_echo512_init(void *cc)
Initialize an ECHO-512 context.
void sph_echo384_init(void *cc)
Initialize an ECHO-384 context.
void sph_echo256(void *cc, const void *data, size_t len)
Process some data bytes.
sph_echo_big_context sph_echo384_context
Type for a ECHO-384 context (identical to the common "big" context).
void sph_echo384_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...
sph_echo_small_context sph_echo224_context
Type for a ECHO-224 context (identical to the common "small" context).
void sph_echo224(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_echo256_init(void *cc)
Initialize an ECHO-256 context.
void sph_echo384_close(void *cc, void *dst)
Terminate the current ECHO-384 computation and output the result into the provided buffer...
void sph_echo224_close(void *cc, void *dst)
Terminate the current ECHO-224 computation and output the result into the provided buffer...
void sph_echo512_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...
sph_echo_small_context sph_echo256_context
Type for a ECHO-256 context (identical to the common "small" context).
This structure is a context for ECHO computations: it contains the intermediate values and some data ...