36 #ifndef SPH_SHABAL_H__ 37 #define SPH_SHABAL_H__ 48 #define SPH_SIZE_shabal192 192 53 #define SPH_SIZE_shabal224 224 58 #define SPH_SIZE_shabal256 256 63 #define SPH_SIZE_shabal384 384 68 #define SPH_SIZE_shabal512 512 81 #ifndef DOXYGEN_IGNORE 82 unsigned char buf[64];
157 void *cc,
unsigned ub,
unsigned n,
void *dst);
202 void *cc,
unsigned ub,
unsigned n,
void *dst);
247 void *cc,
unsigned ub,
unsigned n,
void *dst);
292 void *cc,
unsigned ub,
unsigned n,
void *dst);
337 void *cc,
unsigned ub,
unsigned n,
void *dst);
void sph_shabal384_close(void *cc, void *dst)
Terminate the current Shabal-384 computation and output the result into the provided buffer...
sph_shabal_context sph_shabal224_context
Type for a Shabal-224 context (identical to the common context).
void sph_shabal512_init(void *cc)
Initialize a Shabal-512 context.
void sph_shabal192(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shabal256(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shabal192_init(void *cc)
Initialize a Shabal-192 context.
void sph_shabal384_init(void *cc)
Initialize a Shabal-384 context.
void sph_shabal512_close(void *cc, void *dst)
Terminate the current Shabal-512 computation and output the result into the provided buffer...
void sph_shabal256_init(void *cc)
Initialize a Shabal-256 context.
sph_shabal_context sph_shabal256_context
Type for a Shabal-256 context (identical to the common context).
void sph_shabal512_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 Shabal computations: it contains the intermediate values and some dat...
void sph_shabal224(void *cc, const void *data, size_t len)
Process some data bytes.
sph_shabal_context sph_shabal384_context
Type for a Shabal-384 context (identical to the common context).
void sph_shabal256_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_shabal224_init(void *cc)
Initialize a Shabal-224 context.
void sph_shabal192_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_shabal512(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shabal192_close(void *cc, void *dst)
Terminate the current Shabal-192 computation and output the result into the provided buffer...
void sph_shabal384(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_shabal256_close(void *cc, void *dst)
Terminate the current Shabal-256 computation and output the result into the provided buffer...
void sph_shabal384_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_shabal_context sph_shabal512_context
Type for a Shabal-512 context (identical to the common context).
void sph_shabal224_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_shabal_context sph_shabal192_context
Type for a Shabal-192 context (identical to the common context).
void sph_shabal224_close(void *cc, void *dst)
Terminate the current Shabal-224 computation and output the result into the provided buffer...