Lines Matching refs:maxmem
38 maxmem: 32 << 20, // 32 MiB, matches SCRYPT_MAX_MEM. property
48 const { N, r, p, maxmem } = options;
54 kCryptoJobAsync, password, salt, N, r, p, maxmem, keylen);
71 const { N, r, p, maxmem } = options;
74 kCryptoJobSync, password, salt, N, r, p, maxmem, keylen);
93 let { N, r, p, maxmem } = defaults;
125 if (options.maxmem !== undefined) {
126 maxmem = options.maxmem;
127 validateInteger(maxmem, 'maxmem', 0);
132 if (maxmem === 0) maxmem = defaults.maxmem;
135 return { password, salt, keylen, N, r, p, maxmem };