mirror of
https://github.com/BLAKE2/BLAKE2
synced 2024-11-26 04:26:12 +01:00
streaming api prototypes
This commit is contained in:
parent
09f8e4f99e
commit
d113d9c26d
@ -152,6 +152,14 @@ extern "C" {
|
||||
int blake2bp_update( blake2bp_state *S, const void *in, size_t inlen );
|
||||
int blake2bp_final( blake2bp_state *S, void *out, size_t outlen );
|
||||
|
||||
int blake2xs_init( blake2xs_state *S, const size_t outlen, const void *key, size_t keylen );
|
||||
int blake2xs_update( blake2xs_state *S, const void *in, size_t inlen );
|
||||
int blake2xs_final(blake2xs_state *S, void *out, size_t outlen);
|
||||
|
||||
int blake2xb_init( blake2xs_state *S, const size_t outlen, const void *key, size_t keylen );
|
||||
int blake2xb_update( blake2xs_state *S, const void *in, size_t inlen );
|
||||
int blake2xb_final(blake2xs_state *S, void *out, size_t outlen);
|
||||
|
||||
/* Simple API */
|
||||
int blake2s( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
|
||||
int blake2b( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
|
||||
|
Loading…
Reference in New Issue
Block a user