/third_party/node/lib/internal/crypto/ |
D | scrypt.js | 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; [all …]
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | pbe_scrypt.c | 39 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt_ex() argument 63 if (maxmem == 0) in EVP_PBE_scrypt_ex() 64 maxmem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt_ex() 81 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_MAXMEM, &maxmem); in EVP_PBE_scrypt_ex() 92 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt() argument 95 return EVP_PBE_scrypt_ex(pass, passlen, salt, saltlen, N, r, p, maxmem, in EVP_PBE_scrypt()
|
/third_party/openssl/crypto/evp/ |
D | pbe_scrypt.c | 39 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt_ex() argument 63 if (maxmem == 0) in EVP_PBE_scrypt_ex() 64 maxmem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt_ex() 81 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_MAXMEM, &maxmem); in EVP_PBE_scrypt_ex() 92 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt() argument 95 return EVP_PBE_scrypt_ex(pass, passlen, salt, saltlen, N, r, p, maxmem, in EVP_PBE_scrypt()
|
/third_party/node/src/crypto/ |
D | crypto_scrypt.cc | 30 maxmem(other.maxmem), in ScryptConfig() 94 params->maxmem = args[offset + 5]->IntegerValue(env->context()).ToChecked(); in AdditionalConfig() 104 params->maxmem, in AdditionalConfig() 132 params.maxmem, in DeriveBits()
|
D | crypto_scrypt.h | 34 uint64_t maxmem; member
|
/third_party/curl/tests/ |
D | memanalyze.pl | 62 my $maxmem; # the high water mark 68 if($newtot > $maxmem) { 69 $maxmem= $newtot; 432 print "Maximum allocated: $maxmem\n";
|
/third_party/libxml2/ |
D | backport-xmllint-Fix-use-after-free-with-maxmem.patch | 4 Subject: [PATCH] xmllint: Fix use-after-free with --maxmem 44 - if (xmlMemUsed() > maxmem) { 49 + if (xmlMemUsed() + size - oldsize > (size_t) maxmem) {
|
/third_party/node/test/parallel/ |
D | test-crypto-scrypt.js | 110 { N: 2 ** 10, p: 1, r: 8, maxmem: 2 ** 20 }, property 232 crypto.scrypt('', '', 4, { maxmem: 2 ** 52 }, property 238 assert.throws(() => crypto.scryptSync('', '', 0, { maxmem: 2 ** 53 }), { property
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
D | scrypt.c | 38 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, 412 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in scrypt_alg() argument 478 if (maxmem > SIZE_MAX) in scrypt_alg() 479 maxmem = SIZE_MAX; in scrypt_alg() 481 if (Blen + Vlen > maxmem) { in scrypt_alg()
|
/third_party/openssl/providers/implementations/kdfs/ |
D | scrypt.c | 38 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, 412 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in scrypt_alg() argument 478 if (maxmem > SIZE_MAX) in scrypt_alg() 479 maxmem = SIZE_MAX; in scrypt_alg() 481 if (Blen + Vlen > maxmem) { in scrypt_alg()
|
/third_party/openssl/test/recipes/30-test_evp_data/ |
D | evppbe_scrypt.txt | 42 # uncomment out the "maxmem" line and comment out the "Result" 52 #maxmem = 10000000000
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | pkcs5.rs | 126 maxmem: u64, in scrypt() 139 maxmem.try_into().unwrap(), in scrypt()
|
/third_party/python/Modules/clinic/ |
D | _hashopenssl.c.h | 968 long maxmem, long dklen); 983 long maxmem = 0; in _hashlib_scrypt() local 1043 maxmem = PyLong_AsLong(args[5]); in _hashlib_scrypt() 1044 if (maxmem == -1 && PyErr_Occurred()) { in _hashlib_scrypt() 1056 … return_value = _hashlib_scrypt_impl(module, &password, &salt, n_obj, r_obj, p_obj, maxmem, dklen); in _hashlib_scrypt()
|
/third_party/python/Modules/ |
D | _hashopenssl.c | 1320 long maxmem, long dklen) in _hashlib_scrypt_impl() argument 1371 if (maxmem < 0 || maxmem > INT_MAX) { in _hashlib_scrypt_impl() 1388 retval = EVP_PBE_scrypt(NULL, 0, NULL, 0, n, r, p, maxmem, NULL, 0); in _hashlib_scrypt_impl() 1404 n, r, p, maxmem, in _hashlib_scrypt_impl()
|
/third_party/ltp/testcases/kernel/mce-test/stress/ |
D | hwpoison.sh | 141 local maxmem=0 164 maxmem=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'` 165 let "g_maxpfn= $maxmem / 4"
|
/third_party/openssl/doc/man3/ |
D | PKCS5_PBE_keyivgen.pod | 33 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, 37 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
|
D | EVP_PKEY_CTX_set_scrypt_N.pod | 26 uint64_t maxmem);
|
/third_party/python/Lib/test/ |
D | test_hashlib.py | 1098 for maxmem in [-1, None]: 1101 maxmem=maxmem)
|
/third_party/openssl/doc/man7/ |
D | EVP_KDF-SCRYPT.pod | 60 These parameters configure the scrypt work factors N, r, maxmem and p.
|
D | provider-kdf.pod | 240 Sets the scrypt work factor parameter maxmem in the associated KDF ctx.
|
/third_party/openssl/test/ |
D | evp_kdf_test.c | 815 unsigned int nu = 1024, ru = 8, pu = 16, maxmem = 16; in test_kdf_scrypt() local 834 *p++ = OSSL_PARAM_construct_uint(OSSL_KDF_PARAM_SCRYPT_MAXMEM, &maxmem); in test_kdf_scrypt()
|
D | evp_test.c | 2022 uint64_t N, r, p, maxmem; member 2075 return parse_uint64(value, &pdata->maxmem); in scrypt_test_parse() 2198 expected->maxmem, key, expected->key_len) == 0) { in pbe_test_run()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
D | evp.rs | 495 maxmem: u64, in EVP_PBE_scrypt()
|
/third_party/python/Doc/library/ |
D | hashlib.rst | 277 .. function:: scrypt(password, *, salt, n, r, p, maxmem=0, dklen=64) 288 factor and *maxmem* limits memory (OpenSSL 1.1.0 defaults to 32 MiB).
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
D | evp.h | 1500 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, 1504 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
|