Include argon2id in crypto_pwhash_primitive()

Fixes #1331
This commit is contained in:
Frank Denis
2023-11-10 12:36:32 +01:00
parent 420356c58a
commit f1184e45d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ main(void)
assert(crypto_pwhash_memlimit_moderate() > 0U);
assert(crypto_pwhash_opslimit_sensitive() > 0U);
assert(crypto_pwhash_memlimit_sensitive() > 0U);
assert(strcmp(crypto_pwhash_primitive(), "argon2i") == 0);
assert(strcmp(crypto_pwhash_primitive(), "argon2id,argon2i") == 0);
assert(crypto_pwhash_bytes_min() == crypto_pwhash_BYTES_MIN);
assert(crypto_pwhash_bytes_max() == crypto_pwhash_BYTES_MAX);