Home
last modified time | relevance | path

Searched refs:crypto_pwhash_str_needs_rehash (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dpwhash_argon2id.c249 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0 || in str_tests()
250 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) { in str_tests()
253 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests()
254 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 || in str_tests()
255 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests()
256 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != 1) { in str_tests()
271 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1) { in str_tests()
274 if (crypto_pwhash_str_needs_rehash(str_out + 1, OPSLIMIT, MEMLIMIT) != -1 || in str_tests()
H A Dpwhash_scrypt.c360 assert(crypto_pwhash_str_needs_rehash(str_out, 0, 0) == -1); in str_tests()
361 assert(crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) == -1); in str_tests()
H A Dpwhash_argon2i.c262 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1) { in str_tests()
265 if (crypto_pwhash_str_needs_rehash(str_out + 1, OPSLIMIT, MEMLIMIT) != -1 || in str_tests()
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_pwhash.h134 int crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES],
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/
H A Dcrypto_pwhash.c192 crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES], in crypto_pwhash_str_needs_rehash() function
/freebsd/sys/contrib/libsodium/
H A DChangeLog84 - The `crypto_pwhash_str_needs_rehash()` function was added to check if