mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-11 22:06:06 +02:00
commit
214c70d8f3
|
@ -4,6 +4,10 @@
|
|||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define BLAKE3_KEY_LEN 32
|
||||
#define BLAKE3_OUT_LEN 32
|
||||
#define BLAKE3_BLOCK_LEN 64
|
||||
|
@ -41,4 +45,8 @@ void blake3_hasher_update(blake3_hasher *self, const void *input,
|
|||
void blake3_hasher_finalize(const blake3_hasher *self, uint8_t *out,
|
||||
size_t out_len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* BLAKE3_H */
|
||||
|
|
Loading…
Reference in New Issue