37 #ifndef SPH_CUBEHASH_H__ 38 #define SPH_CUBEHASH_H__ 50 #define SPH_SIZE_cubehash224 224 55 #define SPH_SIZE_cubehash256 256 60 #define SPH_SIZE_cubehash384 384 65 #define SPH_SIZE_cubehash512 512 78 #ifndef DOXYGEN_IGNORE 79 unsigned char buf[32];
149 void *cc,
unsigned ub,
unsigned n,
void *dst);
195 void *cc,
unsigned ub,
unsigned n,
void *dst);
241 void *cc,
unsigned ub,
unsigned n,
void *dst);
287 void *cc,
unsigned ub,
unsigned n,
void *dst);
void sph_cubehash384_close(void *cc, void *dst)
Terminate the current CubeHash-384 computation and output the result into the provided buffer...
void sph_cubehash224_init(void *cc)
Initialize a CubeHash-224 context.
void sph_cubehash384_init(void *cc)
Initialize a CubeHash-384 context.
sph_cubehash_context sph_cubehash512_context
Type for a CubeHash-512 context (identical to the common context).
void sph_cubehash512_close(void *cc, void *dst)
Terminate the current CubeHash-512 computation and output the result into the provided buffer...
void sph_cubehash384_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_cubehash512(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_cubehash256_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_cubehash224_close(void *cc, void *dst)
Terminate the current CubeHash-224 computation and output the result into the provided buffer...
void sph_cubehash512_init(void *cc)
Initialize a CubeHash-512 context.
void sph_cubehash256_close(void *cc, void *dst)
Terminate the current CubeHash-256 computation and output the result into the provided buffer...
sph_cubehash_context sph_cubehash384_context
Type for a CubeHash-384 context (identical to the common context).
void sph_cubehash384(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_cubehash512_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_cubehash_context sph_cubehash224_context
Type for a CubeHash-224 context (identical to the common context).
void sph_cubehash256(void *cc, const void *data, size_t len)
Process some data bytes.
sph_cubehash_context sph_cubehash256_context
Type for a CubeHash-256 context (identical to the common context).
void sph_cubehash224(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_cubehash224_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_cubehash256_init(void *cc)
Initialize a CubeHash-256 context.
This structure is a context for CubeHash computations: it contains the intermediate values and some d...