Searched refs:OPSLIMIT (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/sys/contrib/libsodium/test/default/
H A Dpwhash_argon2i.c6 #define OPSLIMIT 3 macro
185 OPSLIMIT, MEMLIMIT, crypto_pwhash_alg_argon2id13()) == -1);
242 if (crypto_pwhash_argon2i_str(str_out, passwd, strlen(passwd), OPSLIMIT,
246 if (crypto_pwhash_argon2i_str(str_out2, passwd, strlen(passwd), OPSLIMIT,
253 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) {
256 if (crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
257 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT / 2, MEMLIMIT) != 1 ||
258 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
259 crypto_pwhash_argon2i_str_needs_rehash(str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
262 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMI
[all...]
H A Dpwhash_argon2id.c6 #define OPSLIMIT 3 macro
181 OPSLIMIT, MEMLIMIT, crypto_pwhash_alg_argon2i13()) == -1);
238 if (crypto_pwhash_str(str_out, passwd, strlen(passwd), OPSLIMIT,
242 if (crypto_pwhash_str(str_out2, passwd, strlen(passwd), OPSLIMIT,
249 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0 ||
250 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT) != 0) {
253 if (crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
254 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT - 1, MEMLIMIT) != 1 ||
255 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
256 crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT
[all...]
H A Dpwhash_scrypt.c6 #define OPSLIMIT 1000000 macro
313 OPSLIMIT, MEMLIMIT) != 0) {
317 OPSLIMIT, MEMLIMIT) != 0) {
324 (str_out, OPSLIMIT, MEMLIMIT) != 0) {
328 (str_out, OPSLIMIT, MEMLIMIT / 2) != 1 ||
330 (str_out, OPSLIMIT / 2, MEMLIMIT) != 1 ||
332 (str_out, OPSLIMIT, MEMLIMIT * 2) != 1 ||
334 (str_out, OPSLIMIT * 2, MEMLIMIT) != 1) {
338 (str_out + 1, OPSLIMIT, MEMLIMIT) != -1) {
361 assert(crypto_pwhash_str_needs_rehash(str_out, OPSLIMIT, MEMLIMI
[all...]

Completed in 77 milliseconds