summaryrefslogtreecommitdiff
path: root/src/third_party/blake3/blake3.h
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2021-08-03 16:30:32 +0900
committerJinWang An <jinwang.an@samsung.com>2021-08-03 16:30:32 +0900
commit6b6c8464f9afa1913fc25a79ce78ac9a712f3723 (patch)
tree47eaacea5a0fb98c7a2b28c83fb897174bad5cdd /src/third_party/blake3/blake3.h
parent72bde18b29fe5c0badacd150129c413546aeaecb (diff)
downloadccache-6b6c8464f9afa1913fc25a79ce78ac9a712f3723.tar.gz
ccache-6b6c8464f9afa1913fc25a79ce78ac9a712f3723.tar.bz2
ccache-6b6c8464f9afa1913fc25a79ce78ac9a712f3723.zip
Imported Upstream version 4.2upstream/4.2
Diffstat (limited to 'src/third_party/blake3/blake3.h')
-rw-r--r--src/third_party/blake3/blake3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/third_party/blake3/blake3.h b/src/third_party/blake3/blake3.h
index 51f1d2a..57ebd5a 100644
--- a/src/third_party/blake3/blake3.h
+++ b/src/third_party/blake3/blake3.h
@@ -8,6 +8,7 @@
extern "C" {
#endif
+#define BLAKE3_VERSION_STRING "0.3.7"
#define BLAKE3_KEY_LEN 32
#define BLAKE3_OUT_LEN 32
#define BLAKE3_BLOCK_LEN 64
@@ -38,6 +39,7 @@ typedef struct {
uint8_t cv_stack[(BLAKE3_MAX_DEPTH + 1) * BLAKE3_OUT_LEN];
} blake3_hasher;
+const char * blake3_version(void);
void blake3_hasher_init(blake3_hasher *self);
void blake3_hasher_init_keyed(blake3_hasher *self,
const uint8_t key[BLAKE3_KEY_LEN]);