Home
last modified time | relevance | path

Searched refs:crypto_pwhash_argon2id_str_needs_rehash (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dpwhash_argon2id.c259 if (crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests()
260 crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 || in str_tests()
261 crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests()
262 crypto_pwhash_argon2id_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != 1) { in str_tests()
275 crypto_pwhash_argon2id_str_needs_rehash(str_out + 1, OPSLIMIT, MEMLIMIT) != -1) { in str_tests()
365 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
367 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
369 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
371 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == 1); in str_tests()
373 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out + 1, in str_tests()
[all …]
H A Dpwhash_argon2i.c374 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == -1); in str_tests()
377 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == -1); in str_tests()
378 assert(crypto_pwhash_argon2id_str_needs_rehash("", OPSLIMIT, MEMLIMIT) == -1); in str_tests()
382 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
384 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
386 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, in str_tests()
388 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out, 0, 0) == 1); in str_tests()
390 assert(crypto_pwhash_argon2id_str_needs_rehash("", OPSLIMIT, MEMLIMIT) == -1); in str_tests()
391 assert(crypto_pwhash_argon2id_str_needs_rehash(str_out + 1, in str_tests()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_pwhash_argon2id.h114 int crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES],
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/
H A Dcrypto_pwhash.c197 return crypto_pwhash_argon2id_str_needs_rehash(str, opslimit, memlimit); in crypto_pwhash_str_needs_rehash()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dpwhash_argon2i.c286 crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES], in crypto_pwhash_argon2id_str_needs_rehash() function