|
void | sph_echo224_init (void *cc) |
| Initialize an ECHO-224 context. More...
|
|
void | sph_echo224 (void *cc, const void *data, size_t len) |
| Process some data bytes. More...
|
|
void | sph_echo224_close (void *cc, void *dst) |
| Terminate the current ECHO-224 computation and output the result into the provided buffer. More...
|
|
void | sph_echo224_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 result in the provided buffer, which must be wide enough to accomodate the result (28 bytes). More...
|
|
void | sph_echo256_init (void *cc) |
| Initialize an ECHO-256 context. More...
|
|
void | sph_echo256 (void *cc, const void *data, size_t len) |
| Process some data bytes. More...
|
|
void | sph_echo256_close (void *cc, void *dst) |
| Terminate the current ECHO-256 computation and output the result into the provided buffer. More...
|
|
void | sph_echo256_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 result in the provided buffer, which must be wide enough to accomodate the result (32 bytes). More...
|
|
void | sph_echo384_init (void *cc) |
| Initialize an ECHO-384 context. More...
|
|
void | sph_echo384 (void *cc, const void *data, size_t len) |
| Process some data bytes. More...
|
|
void | sph_echo384_close (void *cc, void *dst) |
| Terminate the current ECHO-384 computation and output the result into the provided buffer. More...
|
|
void | sph_echo384_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 result in the provided buffer, which must be wide enough to accomodate the result (48 bytes). More...
|
|
void | sph_echo512_init (void *cc) |
| Initialize an ECHO-512 context. More...
|
|
void | sph_echo512 (void *cc, const void *data, size_t len) |
| Process some data bytes. More...
|
|
void | sph_echo512_close (void *cc, void *dst) |
| Terminate the current ECHO-512 computation and output the result into the provided buffer. More...
|
|
void | sph_echo512_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 result in the provided buffer, which must be wide enough to accomodate the result (64 bytes). More...
|
|
void sph_echo224_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 result in the provided buffer, which must be wide enough to accomodate the result (28 bytes).
If bit number i in ub
has value 2^i, then the extra bits are those numbered 7 downto 8-n (this is the big-endian convention at the byte level). The context is automatically reinitialized.
- Parameters
-
cc | the ECHO-224 context |
ub | the extra bits |
n | the number of extra bits (0 to 7) |
dst | the destination buffer |
Definition at line 941 of file echo.c.
void sph_echo256_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 result in the provided buffer, which must be wide enough to accomodate the result (32 bytes).
If bit number i in ub
has value 2^i, then the extra bits are those numbered 7 downto 8-n (this is the big-endian convention at the byte level). The context is automatically reinitialized.
- Parameters
-
cc | the ECHO-256 context |
ub | the extra bits |
n | the number of extra bits (0 to 7) |
dst | the destination buffer |
Definition at line 969 of file echo.c.
void sph_echo384_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 result in the provided buffer, which must be wide enough to accomodate the result (48 bytes).
If bit number i in ub
has value 2^i, then the extra bits are those numbered 7 downto 8-n (this is the big-endian convention at the byte level). The context is automatically reinitialized.
- Parameters
-
cc | the ECHO-384 context |
ub | the extra bits |
n | the number of extra bits (0 to 7) |
dst | the destination buffer |
Definition at line 997 of file echo.c.
void sph_echo512_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 result in the provided buffer, which must be wide enough to accomodate the result (64 bytes).
If bit number i in ub
has value 2^i, then the extra bits are those numbered 7 downto 8-n (this is the big-endian convention at the byte level). The context is automatically reinitialized.
- Parameters
-
cc | the ECHO-512 context |
ub | the extra bits |
n | the number of extra bits (0 to 7) |
dst | the destination buffer |
Definition at line 1025 of file echo.c.