Searched refs:crypto_pwhash_argon2i_str_needs_rehash (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | pwhash_argon2i.c | 253 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) { in str_tests() 256 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 || in str_tests() 257 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT / 2, MEMLIMIT) != 1 || in str_tests() 258 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 || in str_tests() 259 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT * 2, MEMLIMIT) != 1) { in str_tests() 266 crypto_pwhash_argon2i_str_needs_rehash(str_out + 1, OPSLIMIT, MEMLIMIT) != -1) { in str_tests() 367 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests() 369 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests() 371 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests() 373 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, 0, 0) == 1); in str_tests() [all …]
|
H A D | pwhash_argon2id.c | 265 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != -1 || in str_tests() 266 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != -1 || in str_tests() 267 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != -1 || in str_tests() 268 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT + 1, MEMLIMIT) != -1) { in str_tests() 372 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, 0, 0) == -1); in str_tests() 375 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, 0, 0) == -1); in str_tests() 376 assert(crypto_pwhash_argon2i_str_needs_rehash("", OPSLIMIT, MEMLIMIT) == -1); in str_tests() 380 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests() 382 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests() 384 assert(crypto_pwhash_argon2i_str_needs_rehash(str_out, in str_tests() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/ |
H A D | crypto_pwhash_argon2i.h | 114 int crypto_pwhash_argon2i_str_needs_rehash(const char str[crypto_pwhash_argon2i_STRBYTES],
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/ |
H A D | crypto_pwhash.c | 201 return crypto_pwhash_argon2i_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 | 279 crypto_pwhash_argon2i_str_needs_rehash(const char str[crypto_pwhash_argon2i_STRBYTES], in crypto_pwhash_argon2i_str_needs_rehash() function
|