More tests
This commit is contained in:
parent
609e42be75
commit
99fa31a595
@ -181,6 +181,8 @@ tv2(void)
|
||||
1ULL << 12, crypto_pwhash_alg_argon2i13()) != -1) {
|
||||
printf("[tv2] pwhash with a long password length should have failed\n");
|
||||
}
|
||||
assert(crypto_pwhash_argon2i(out, sizeof out, "password", strlen("password"), salt,
|
||||
OPSLIMIT, MEMLIMIT, crypto_pwhash_alg_argon2id13()) == -1);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -177,6 +177,8 @@ tv2(void)
|
||||
1ULL << 12, crypto_pwhash_argon2id_alg_argon2id13()) != -1) {
|
||||
printf("[tv2] pwhash with a long password length should have failed\n");
|
||||
}
|
||||
assert(crypto_pwhash_argon2id(out, sizeof out, "password", strlen("password"), salt,
|
||||
OPSLIMIT, MEMLIMIT, crypto_pwhash_alg_argon2i13()) == -1);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user