38 #ifndef SPH_SHAVITE_H__ 39 #define SPH_SHAVITE_H__ 51 #define SPH_SIZE_shavite224 224 56 #define SPH_SIZE_shavite256 256 61 #define SPH_SIZE_shavite384 384 66 #define SPH_SIZE_shavite512 512 79 #ifndef DOXYGEN_IGNORE 80 unsigned char buf[64];
110 #ifndef DOXYGEN_IGNORE 111 unsigned char buf[128];
173 void *cc,
unsigned ub,
unsigned n,
void *dst);
218 void *cc,
unsigned ub,
unsigned n,
void *dst);
263 void *cc,
unsigned ub,
unsigned n,
void *dst);
308 void *cc,
unsigned ub,
unsigned n,
void *dst);
void sph_shavite224_close(void *cc, void *dst)
Terminate the current SHAvite-224 computation and output the result into the provided buffer...
void sph_shavite512(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shavite384_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_shavite_small_context sph_shavite224_context
This structure is a context for SHAvite-224 computations.
This structure is a context for SHAvite-384 and SHAvite-512 computations: it contains the intermediat...
sph_shavite_big_context sph_shavite512_context
This structure is a context for SHAvite-512 computations.
sph_shavite_big_context sph_shavite384_context
This structure is a context for SHAvite-384 computations.
void sph_shavite256_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_shavite512_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 SHAvite-224 and SHAvite-256 computations: it contains the intermediat...
sph_shavite_small_context sph_shavite256_context
This structure is a context for SHAvite-256 computations.
void sph_shavite512_init(void *cc)
Initialize a SHAvite-512 context.
void sph_shavite224_init(void *cc)
Initialize a SHAvite-224 context.
void sph_shavite256_close(void *cc, void *dst)
Terminate the current SHAvite-256 computation and output the result into the provided buffer...
void sph_shavite384(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shavite224(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shavite512_close(void *cc, void *dst)
Terminate the current SHAvite-512 computation and output the result into the provided buffer...
void sph_shavite384_close(void *cc, void *dst)
Terminate the current SHAvite-384 computation and output the result into the provided buffer...
void sph_shavite384_init(void *cc)
Initialize a SHAvite-384 context.
void sph_shavite256(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shavite224_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_shavite256_init(void *cc)
Initialize a SHAvite-256 context.