summaryrefslogtreecommitdiff
path: root/libs/libsodium/src/crypto_hash/sha512/hash_sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libsodium/src/crypto_hash/sha512/hash_sha512.c')
-rw-r--r--libs/libsodium/src/crypto_hash/sha512/hash_sha512.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/libsodium/src/crypto_hash/sha512/hash_sha512.c b/libs/libsodium/src/crypto_hash/sha512/hash_sha512.c
new file mode 100644
index 0000000000..ba842b8bd4
--- /dev/null
+++ b/libs/libsodium/src/crypto_hash/sha512/hash_sha512.c
@@ -0,0 +1,13 @@
+#include "crypto_hash_sha512.h"
+
+size_t
+crypto_hash_sha512_bytes(void)
+{
+ return crypto_hash_sha512_BYTES;
+}
+
+size_t
+crypto_hash_sha512_statebytes(void)
+{
+ return sizeof(crypto_hash_sha512_state);
+}