summaryrefslogtreecommitdiff
path: root/kit/sha256.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-11-17 05:24:04 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-11-17 05:24:04 +0100
commitd5a727a062e4d727491f4e7f047269d60a93a8cf (patch)
tree565aec155ab056f1bef8ddc7dc78d52e65aa76b7 /kit/sha256.h
parent4ba961dcbf60f7c12f53f46baa261757e15d5931 (diff)
downloadsaw-d5a727a062e4d727491f4e7f047269d60a93a8cf.zip
Remove lots of dependencies
Diffstat (limited to 'kit/sha256.h')
-rw-r--r--kit/sha256.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/kit/sha256.h b/kit/sha256.h
deleted file mode 100644
index da05385..0000000
--- a/kit/sha256.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef KIT_SHA256_H
-#define KIT_SHA256_H
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-enum { KIT_SHA256_BLOCK_SIZE = 32 };
-
-typedef struct {
- u8 v[KIT_SHA256_BLOCK_SIZE];
-} kit_sha256_hash_t;
-
-kit_sha256_hash_t kit_sha256(i64 size, u8 *data);
-
-#ifdef __cplusplus
-}
-#endif
-
-#define SHA256_BLOCK_SIZE KIT_SHA256_BLOCK_SIZE
-#define sha256_hash_t kit_sha256_hash_t
-#define sha256 kit_sha256
-
-#endif