Searched refs:crypto_pwhash_str_needs_rehash (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | pwhash_argon2id.c | 249 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 D | pwhash_scrypt.c | 360 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 D | pwhash_argon2i.c | 262 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 D | crypto_pwhash.h | 134 int crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES],
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/ |
H A D | crypto_pwhash.c | 192 crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES], in crypto_pwhash_str_needs_rehash() function
|
/freebsd/sys/contrib/libsodium/ |
H A D | ChangeLog | 84 - The `crypto_pwhash_str_needs_rehash()` function was added to check if
|