Lines Matching defs:memlimit
14 size_t memlimit;
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;
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) < 0)