35 #ifndef SPH_GROESTL_H__ 36 #define SPH_GROESTL_H__ 48 #define SPH_SIZE_groestl224 224 53 #define SPH_SIZE_groestl256 256 58 #define SPH_SIZE_groestl384 384 63 #define SPH_SIZE_groestl512 512 76 #ifndef DOXYGEN_IGNORE 77 unsigned char buf[64];
116 #ifndef DOXYGEN_IGNORE 117 unsigned char buf[128];
188 void *cc,
unsigned ub,
unsigned n,
void *dst);
233 void *cc,
unsigned ub,
unsigned n,
void *dst);
278 void *cc,
unsigned ub,
unsigned n,
void *dst);
323 void *cc,
unsigned ub,
unsigned n,
void *dst);
void sph_groestl256(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_groestl512_init(void *cc)
Initialize a Groestl-512 context.
sph_groestl_big_context sph_groestl384_context
This structure is a context for Groestl-384 computations.
void sph_groestl224_init(void *cc)
Initialize a Groestl-224 context.
void sph_groestl256_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_groestl384_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_groestl512(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_groestl224_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_groestl512_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_groestl_small_context sph_groestl224_context
This structure is a context for Groestl-224 computations.
void sph_groestl384_init(void *cc)
Initialize a Groestl-384 context.
void sph_groestl384_close(void *cc, void *dst)
Terminate the current Groestl-384 computation and output the result into the provided buffer...
void sph_groestl256_init(void *cc)
Initialize a Groestl-256 context.
sph_groestl_small_context sph_groestl256_context
This structure is a context for Groestl-256 computations.
void sph_groestl512_close(void *cc, void *dst)
Terminate the current Groestl-512 computation and output the result into the provided buffer...
void sph_groestl256_close(void *cc, void *dst)
Terminate the current Groestl-256 computation and output the result into the provided buffer...
This structure is a context for Groestl-224 and Groestl-256 computations: it contains the intermediat...
void sph_groestl224(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_groestl224_close(void *cc, void *dst)
Terminate the current Groestl-224 computation and output the result into the provided buffer...
void sph_groestl384(void *cc, const void *data, size_t len)
Process some data bytes.
This structure is a context for Groestl-384 and Groestl-512 computations: it contains the intermediat...
sph_groestl_big_context sph_groestl512_context
This structure is a context for Groestl-512 computations.