Searched refs:crypto_pwhash_argon2id_str_needs_rehash (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | pwhash_argon2id.c | 259 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 D | pwhash_argon2i.c | 374 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 D | crypto_pwhash_argon2id.h | 114 int crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES],
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/ |
H A D | crypto_pwhash.c | 197 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 D | pwhash_argon2i.c | 286 crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES], in crypto_pwhash_argon2id_str_needs_rehash() function
|