Searched defs:memlimit (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/auth/
H A Dpassword-scheme-sodium.c14 size_t memlimit; local
21 memlimit = crypto_pwhash_argon2i_MEMLIMIT_SENSITIVE;
23 memlimit = crypto_pwhash_argon2i_MEMLIMIT_MODERATE;
25 memlimit = crypto_pwhash_argon2i_MEMLIMIT_INTERACTIVE;
27 if (crypto_pwhash_argon2i_str(result, plaintext, strlen(plaintext), rounds, memlimit) < 0)
39 size_t memlimit; local
47 memlimit = crypto_pwhash_argon2id_MEMLIMIT_SENSITIVE;
49 memlimit = crypto_pwhash_argon2id_MEMLIMIT_MODERATE;
51 memlimit = crypto_pwhash_argon2id_MEMLIMIT_INTERACTIVE;
57 if (crypto_pwhash_argon2id_str(result, plaintext, strlen(plaintext), rounds, memlimit) <
[all...]

Completed in 8 milliseconds