/third_party/node/test/fixtures/wpt/WebCryptoAPI/ |
D | getRandomValues.any.js | 4 self.crypto.getRandomValues(new Float32Array(6)) 7 self.crypto.getRandomValues(new Float64Array(6)) 12 self.crypto.getRandomValues(new Float32Array(len)); 16 self.crypto.getRandomValues(new Float64Array(len)) 22 self.crypto.getRandomValues(new DataView(new ArrayBuffer(6))) 26 self.crypto.getRandomValues(new DataView(new ArrayBuffer(65536 + 1))) 46 assert_equals(self.crypto.getRandomValues(new ctor(8)).constructor, 53 self.crypto.getRandomValues(new ctor(maxlength + 1)) 58 assert_true(self.crypto.getRandomValues(new ctor(0)).length == 0)
|
/third_party/node/test/parallel/ |
D | test-webcrypto-encrypt-decrypt.js | 17 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 48 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 49 const counter = webcrypto.getRandomValues(new Uint8Array(16)); 75 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 76 const iv = webcrypto.getRandomValues(new Uint8Array(16)); 102 const buf = webcrypto.getRandomValues(new Uint8Array(50)); 103 const iv = webcrypto.getRandomValues(new Uint8Array(12));
|
D | test-webcrypto-random.js | 19 () => webcrypto.getRandomValues(i), 26 webcrypto.getRandomValues(buf); 44 webcrypto.getRandomValues(buf); 52 webcrypto.getRandomValues(buf); 67 () => webcrypto.getRandomValues(kData),
|
D | test-webcrypto-constructors.js | 51 assert.throws(() => notCrypto.getRandomValues(new Uint8Array(12)), { 143 globalThis.crypto.getRandomValues(new Uint8Array(4)), 152 salt: globalThis.crypto.getRandomValues(new Uint8Array()),
|
D | test-webcrypto-getRandomValues.js | 9 const { getRandomValues } = require('crypto').webcrypto; 11 assert.throws(() => getRandomValues(new Uint8Array()), { code: 'ERR_INVALID_THIS' });
|
D | test-webcrypto-export-import.js | 14 const keyData = webcrypto.getRandomValues(new Uint8Array(32)); 77 const keyData = webcrypto.getRandomValues(new Uint8Array(32)); 119 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-encrypt-decrypt-aes.js | 217 const iv = webcrypto.getRandomValues(new Uint8Array(12)); 218 const aad = webcrypto.getRandomValues(new Uint8Array(32)); 228 webcrypto.getRandomValues(new Uint8Array(32))
|
D | test-webcrypto-derivekey-cfrg.js | 171 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-derivekey-ecdh.js | 230 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-derivebits-cfrg.js | 199 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-webcrypto-derivebits-ecdh.js | 254 const keyData = webcrypto.getRandomValues(new Uint8Array(32));
|
D | test-crypto-random.js | 110 cryptop.getRandomValues(buf);
|
/third_party/node/lib/ |
D | crypto.js | 257 function getRandomValues(array) { function 258 return lazyWebCrypto().crypto.getRandomValues(array); 381 getRandomValues: { property 385 get: () => getRandomValues,
|
/third_party/node/lib/internal/crypto/ |
D | webcrypto.js | 58 getRandomValues: _getRandomValues, 988 function getRandomValues(array) { function 1008 getRandomValues: { property 1013 value: getRandomValues,
|
D | random.js | 317 function getRandomValues(data) { function 612 getRandomValues, property
|
/third_party/node/benchmark/crypto/ |
D | webcrypto-digest.js | 51 data = webcrypto.getRandomValues(Buffer.alloc(data));
|
/third_party/node/test/fixtures/wpt/interfaces/ |
D | WebCryptoAPI.idl | 13 ArrayBufferView getRandomValues(ArrayBufferView array);
|
/third_party/decimal.js/ |
D | decimal.js | 4229 (crypto.getRandomValues || crypto.randomBytes)) { 4674 } else if (crypto.getRandomValues) { 4675 d = crypto.getRandomValues(new Uint32Array(k)); 4683 d[i] = crypto.getRandomValues(new Uint32Array(1))[0];
|
D | decimal.mjs | 4241 (crypto.getRandomValues || crypto.randomBytes)) { 4685 // Browsers supporting crypto.getRandomValues. 4686 } else if (crypto.getRandomValues) { 4687 d = crypto.getRandomValues(new Uint32Array(k)); 4695 d[i] = crypto.getRandomValues(new Uint32Array(1))[0];
|
/third_party/node/deps/npm/node_modules/jsbn/ |
D | index.js | 1254 if (window.crypto.getRandomValues) { 1257 window.crypto.getRandomValues(ua);
|
/third_party/node/doc/api/ |
D | webcrypto.md | 163 const iv = crypto.getRandomValues(new Uint8Array(16)); 382 ### `crypto.getRandomValues(typedArray)`
|
D | crypto.md | 4225 ### `crypto.getRandomValues(typedArray)` 4234 A convenient alias for [`crypto.webcrypto.getRandomValues()`][]. This 4236 web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead. 6166 [`crypto.webcrypto.getRandomValues()`]: webcrypto.md#cryptogetrandomvaluestypedarray
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V17.md | 307 …mmit/c9ea6a9261)] - **crypto**: validate `this` value for `webcrypto.getRandomValues` (Antoine du … 309 …js/node/commit/288f627c46)] - **crypto**: clarify `require("crypto").getRandomValues` is Node.js s… 562 …b.com/nodejs/node/commit/4a4c907604)] - **crypto**: adjust types for getRandomValues (LiviaMedeiro… 748 … **(SEMVER-MINOR)** **crypto**: alias webcrypto.subtle and webcrypto.getRandomValues on crypto (Ja… 776 … **(SEMVER-MINOR)** **crypto**: alias webcrypto.subtle and webcrypto.getRandomValues on crypto (Ja…
|
/third_party/typescript/lib/ |
D | lib.webworker.d.ts | 1102 getRandomValues<T extends ArrayBufferView | null>(array: T): T; method
|
/third_party/typescript/src/lib/ |
D | webworker.generated.d.ts | 1082 getRandomValues<T extends ArrayBufferView | null>(array: T): T; method
|