/third_party/node/lib/internal/crypto/ |
D | scrypt.js | 21 maxmem: 32 << 20, // 32 MB, matches SCRYPT_MAX_MEM. property 31 const { N, r, p, maxmem } = options; 47 handleError(_scrypt(keybuf, password, salt, N, r, p, maxmem, wrap)); 52 const { N, r, p, maxmem } = options; 55 handleError(_scrypt(keybuf, password, salt, N, r, p, maxmem)); 79 let { N, r, p, maxmem } = defaults; 109 if (options.maxmem !== undefined) { 110 maxmem = options.maxmem; 111 validateInteger(maxmem, 'maxmem', 0); 116 if (maxmem === 0) maxmem = defaults.maxmem; [all …]
|
/third_party/openssl/crypto/evp/ |
D | pbe_scrypt.c | 160 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, in EVP_PBE_scrypt() argument 224 if (maxmem == 0) in EVP_PBE_scrypt() 225 maxmem = SCRYPT_MAX_MEM; in EVP_PBE_scrypt() 228 if (maxmem > SIZE_MAX) in EVP_PBE_scrypt() 229 maxmem = SIZE_MAX; in EVP_PBE_scrypt() 231 if (Blen + Vlen > maxmem) { in EVP_PBE_scrypt()
|
/third_party/libxml2/os400/ |
D | xmllintcl.c | 53 unsigned long * maxmem; /* Maximum dynamic memory. */ member 200 if (args->maxmem && *args->maxmem) { in main() 201 snprintf(textbuf, sizeof textbuf, "%lu", *args->maxmem); in main()
|
/third_party/curl/tests/ |
D | memanalyze.pl | 59 my $maxmem; 65 if($newtot > $maxmem) { 66 $maxmem= $newtot; 424 print "Maximum allocated: $maxmem\n";
|
/third_party/node/test/parallel/ |
D | test-crypto-scrypt.js | 110 { N: 2 ** 10, p: 1, r: 8, maxmem: 2 ** 20 }, property 224 crypto.scrypt('', '', 4, { maxmem: 2 ** 52 }, property 230 assert.throws(() => crypto.scryptSync('', '', 0, { maxmem: 2 ** 53 }), { property
|
/third_party/openssl/test/recipes/30-test_evp_data/ |
D | evppbe.txt | 43 # uncomment out the "maxmem" line and comment out the "Result" 53 #maxmem = 10000000000
|
/third_party/gstreamer/gstplugins_base/gst/tcp/ |
D | gstmultisocketsink.c | 613 gssize navail, maxmem; in gst_multi_socket_sink_handle_client_read() local 627 maxmem = navail; in gst_multi_socket_sink_handle_client_read() 630 maxmem = sizeof (dummy); in gst_multi_socket_sink_handle_client_read() 641 maxmem), sink->cancellable, &err); in gst_multi_socket_sink_handle_client_read() 672 buf = gst_buffer_new_wrapped (omem, maxmem); in gst_multi_socket_sink_handle_client_read()
|
/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/openssl/doc/man3/ |
D | EVP_PKEY_CTX_set_scrypt_N.pod | 26 uint64_t maxmem);
|
/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/libxml2/ |
D | xmllint.c | 111 static int maxmem = 0; variable 334 fprintf(stderr, "Ran out of memory needs > %d bytes\n", maxmem); in OOM() 350 if (xmlMemUsed() > maxmem) { in myMallocFunc() 365 if (xmlMemUsed() > maxmem) { in myReallocFunc() 380 if (xmlMemUsed() > maxmem) { in myStrdupFunc() 3189 if ((i >= argc) || (sscanf(argv[i], "%d", &maxmem) != 1)) { in main() 3190 maxmem = 0; in main() 3194 if (maxmem != 0) in main()
|
D | NEWS | 44 Fix xmllint --maxmem 2336 (Morten Welinder), add --maxmem option to xmllint, add
|
/third_party/python/Lib/test/ |
D | test_hashlib.py | 1089 for maxmem in [-1, None]: 1092 maxmem=maxmem)
|
/third_party/openssl/test/ |
D | evp_test.c | 1357 uint64_t N, r, p, maxmem; member 1412 return parse_uint64(value, &pdata->maxmem); in scrypt_test_parse() 1528 expected->r, expected->p, expected->maxmem, in pbe_test_run()
|
/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/doc/api/ |
D | crypto.md | 2869 description: The `maxmem` value can now be any safe integer. 2887 * `maxmem` {number} Memory upper bound. It is an error when (approximately) 2888 `128 * N * r > maxmem`. **Default:** `32 * 1024 * 1024`. 2929 description: The `maxmem` value can now be any safe integer. 2947 * `maxmem` {number} Memory upper bound. It is an error when (approximately) 2948 `128 * N * r > maxmem`. **Default:** `32 * 1024 * 1024`.
|
/third_party/openssl/include/openssl/ |
D | evp.h | 1100 uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
|
/third_party/node/src/ |
D | node_crypto.cc | 5971 uint64_t maxmem; member 5981 if (1 == EVP_PBE_scrypt(nullptr, 0, nullptr, 0, N, r, p, maxmem, in Validate() 5994 N, r, p, maxmem, keybuf_data, keybuf_size)) { in DoThreadPoolWork() 6037 job->maxmem = static_cast<uint64_t>(args[6]->IntegerValue(ctx).ToChecked()); in Scrypt()
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V12.md | 2263 …* The `maxmem` range is increased from 32 to 53 bits (Tobias Nießen) [#28799](https://github.com/n… 2289 …odejs/node/commit/e0e776331a)] - **(SEMVER-MINOR)** **crypto**: increase maxmem range from 32 to 5…
|
D | CHANGELOG_V10.md | 254 …* increase maxmem range from 32 to 53 bits (Tobias Nießen) [#28799](https://github.com/nodejs/node… 276 …odejs/node/commit/7735824d2c)] - **(SEMVER-MINOR)** **crypto**: increase maxmem range from 32 to 5…
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 80889 - add pattern, walker, maxmem, output and xmlout to man page 81564 - * xmllint.c: adding a --maxmem option to check memory used. 95707 + Fix xmllint --maxmem
|