diff --git a/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c b/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c index 2e0805ae..78a67184 100644 --- a/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c +++ b/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c @@ -19,12 +19,6 @@ crypto_pwhash_argon2i_alg_argon2i13(void) return crypto_pwhash_argon2i_ALG_ARGON2I13; } -int -crypto_pwhash_argon2i_alg_argon2id13(void) -{ - return crypto_pwhash_argon2i_ALG_ARGON2ID13; -} - size_t crypto_pwhash_argon2i_bytes_min(void) { diff --git a/src/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c b/src/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c index 916da9b1..4508b6a1 100644 --- a/src/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c +++ b/src/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c @@ -13,12 +13,6 @@ #define STR_HASHBYTES 32U -int -crypto_pwhash_argon2id_alg_argon2i13(void) -{ - return crypto_pwhash_argon2id_ALG_ARGON2I13; -} - int crypto_pwhash_argon2id_alg_argon2id13(void) { diff --git a/src/libsodium/include/sodium/crypto_pwhash.h b/src/libsodium/include/sodium/crypto_pwhash.h index 41664aa0..4a5309c4 100644 --- a/src/libsodium/include/sodium/crypto_pwhash.h +++ b/src/libsodium/include/sodium/crypto_pwhash.h @@ -18,7 +18,7 @@ extern "C" { SODIUM_EXPORT int crypto_pwhash_alg_argon2i13(void); -#define crypto_pwhash_ALG_ARGON2ID13 crypto_pwhash_argon2i_ALG_ARGON2ID13 +#define crypto_pwhash_ALG_ARGON2ID13 crypto_pwhash_argon2id_ALG_ARGON2ID13 SODIUM_EXPORT int crypto_pwhash_alg_argon2id13(void); diff --git a/src/libsodium/include/sodium/crypto_pwhash_argon2i.h b/src/libsodium/include/sodium/crypto_pwhash_argon2i.h index 0f895805..fed96587 100644 --- a/src/libsodium/include/sodium/crypto_pwhash_argon2i.h +++ b/src/libsodium/include/sodium/crypto_pwhash_argon2i.h @@ -18,10 +18,6 @@ extern "C" { SODIUM_EXPORT int crypto_pwhash_argon2i_alg_argon2i13(void); -#define crypto_pwhash_argon2i_ALG_ARGON2ID13 2 -SODIUM_EXPORT -int crypto_pwhash_argon2i_alg_argon2id13(void); - #define crypto_pwhash_argon2i_BYTES_MIN 16U SODIUM_EXPORT size_t crypto_pwhash_argon2i_bytes_min(void); diff --git a/src/libsodium/include/sodium/crypto_pwhash_argon2id.h b/src/libsodium/include/sodium/crypto_pwhash_argon2id.h index 72e69ff3..3986cb53 100644 --- a/src/libsodium/include/sodium/crypto_pwhash_argon2id.h +++ b/src/libsodium/include/sodium/crypto_pwhash_argon2id.h @@ -14,10 +14,6 @@ extern "C" { #endif -#define crypto_pwhash_argon2id_ALG_ARGON2I13 1 -SODIUM_EXPORT -int crypto_pwhash_argon2id_alg_argon2i13(void); - #define crypto_pwhash_argon2id_ALG_ARGON2ID13 2 SODIUM_EXPORT int crypto_pwhash_argon2id_alg_argon2id13(void);