summaryrefslogtreecommitdiff
path: root/libs/libsodium/src/crypto_pwhash/argon2/argon2-encoding.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libsodium/src/crypto_pwhash/argon2/argon2-encoding.h')
-rw-r--r--libs/libsodium/src/crypto_pwhash/argon2/argon2-encoding.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/libsodium/src/crypto_pwhash/argon2/argon2-encoding.h b/libs/libsodium/src/crypto_pwhash/argon2/argon2-encoding.h
index c0a54f8274..4ba93d1543 100644
--- a/libs/libsodium/src/crypto_pwhash/argon2/argon2-encoding.h
+++ b/libs/libsodium/src/crypto_pwhash/argon2/argon2-encoding.h
@@ -2,6 +2,7 @@
#define argon2_encoding_H
#include "argon2.h"
+#include "private/quirks.h"
/*
* encode an Argon2 hash string into the provided buffer. 'dst_len'
@@ -17,8 +18,8 @@
*
* No other parameters are checked
*/
-int encode_string(char *dst, size_t dst_len, argon2_context *ctx,
- argon2_type type);
+int argon2_encode_string(char *dst, size_t dst_len, argon2_context *ctx,
+ argon2_type type);
/*
* Decodes an Argon2 hash string into the provided structure 'ctx'.
@@ -28,6 +29,7 @@ int encode_string(char *dst, size_t dst_len, argon2_context *ctx,
*
* Returned value is ARGON2_OK on success.
*/
-int decode_string(argon2_context *ctx, const char *str, argon2_type type);
+int argon2_decode_string(argon2_context *ctx, const char *str,
+ argon2_type type);
#endif