aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2021-04-15 07:56:04 -0400
committerJack Lloyd <[email protected]>2021-04-15 08:00:46 -0400
commitaa5485c0900d7ea5b7feadf94dce81eb1ce624f3 (patch)
treedffc0842b525d006f8850b511919ce7870dcf020
parent0c3036417bebf12457e060666c4ee9447e73c583 (diff)
Officially deprecate argon2() and argon2.h
-rw-r--r--src/lib/pbkdf/argon2/argon2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/pbkdf/argon2/argon2.h b/src/lib/pbkdf/argon2/argon2.h
index e83168d6b..409eec13d 100644
--- a/src/lib/pbkdf/argon2/argon2.h
+++ b/src/lib/pbkdf/argon2/argon2.h
@@ -14,7 +14,7 @@
#include <botan/argon2fmt.h>
#endif
-//BOTAN_FUTURE_INTERNAL_HEADER(argon2.h)
+BOTAN_FUTURE_INTERNAL_HEADER(argon2.h)
namespace Botan {
@@ -109,6 +109,7 @@ class BOTAN_PUBLIC_API(2,11) Argon2_Family final : public PasswordHashFamily
* @param M the amount of memory to use in Kb
* @param t the number of iterations to use
*/
+BOTAN_DEPRECATED("Use PasswordHashFamily+PasswordHash")
inline void argon2(uint8_t output[], size_t output_len,
const char* password, size_t password_len,
const uint8_t salt[], size_t salt_len,