summaryrefslogtreecommitdiff
path: root/libs/libsodium/src/crypto_hash/sha256/hash_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libsodium/src/crypto_hash/sha256/hash_sha256.c')
-rw-r--r--libs/libsodium/src/crypto_hash/sha256/hash_sha256.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/libsodium/src/crypto_hash/sha256/hash_sha256.c b/libs/libsodium/src/crypto_hash/sha256/hash_sha256.c
new file mode 100644
index 0000000000..e729c811e6
--- /dev/null
+++ b/libs/libsodium/src/crypto_hash/sha256/hash_sha256.c
@@ -0,0 +1,13 @@
+#include "crypto_hash_sha256.h"
+
+size_t
+crypto_hash_sha256_bytes(void)
+{
+ return crypto_hash_sha256_BYTES;
+}
+
+size_t
+crypto_hash_sha256_statebytes(void)
+{
+ return sizeof(crypto_hash_sha256_state);
+}