49 #define SPH_SIZE_simd224 224 54 #define SPH_SIZE_simd256 256 59 #define SPH_SIZE_simd384 384 64 #define SPH_SIZE_simd512 512 78 #ifndef DOXYGEN_IGNORE 79 unsigned char buf[64];
98 #ifndef DOXYGEN_IGNORE 99 unsigned char buf[128];
142 void sph_simd224(
void *cc,
const void *data,
size_t len);
169 void *cc,
unsigned ub,
unsigned n,
void *dst);
187 void sph_simd256(
void *cc,
const void *data,
size_t len);
214 void *cc,
unsigned ub,
unsigned n,
void *dst);
232 void sph_simd384(
void *cc,
const void *data,
size_t len);
259 void *cc,
unsigned ub,
unsigned n,
void *dst);
277 void sph_simd512(
void *cc,
const void *data,
size_t len);
304 void *cc,
unsigned ub,
unsigned n,
void *dst);
void sph_simd256(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_simd224_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_simd_big_context sph_simd512_context
Type for a SIMD-512 context (identical to the common "big" context).
void sph_simd512_close(void *cc, void *dst)
Terminate the current SIMD-512 computation and output the result into the provided buffer...
This structure is a context for SIMD computations: it contains the intermediate values and some data ...
void sph_simd224(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_simd384_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_simd512(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_simd384_close(void *cc, void *dst)
Terminate the current SIMD-384 computation and output the result into the provided buffer...
This structure is a context for SIMD computations: it contains the intermediate values and some data ...
void sph_simd384(void *cc, const void *data, size_t len)
Process some data bytes.
void sph_simd256_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_simd512_init(void *cc)
Initialize an SIMD-512 context.
sph_simd_big_context sph_simd384_context
Type for a SIMD-384 context (identical to the common "big" context).
void sph_simd256_close(void *cc, void *dst)
Terminate the current SIMD-256 computation and output the result into the provided buffer...
void sph_simd224_init(void *cc)
Initialize an SIMD-224 context.
void sph_simd512_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_simd_small_context sph_simd256_context
Type for a SIMD-256 context (identical to the common "small" context).
sph_simd_small_context sph_simd224_context
Type for a SIMD-224 context (identical to the common "small" context).
void sph_simd384_init(void *cc)
Initialize an SIMD-384 context.
void sph_simd256_init(void *cc)
Initialize an SIMD-256 context.
void sph_simd224_close(void *cc, void *dst)
Terminate the current SIMD-224 computation and output the result into the provided buffer...