Home
last modified time | relevance | path

Searched refs:checkPrime (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-prime.js12 checkPrime,
18 const pCheckPrime = promisify(checkPrime);
91 assert.throws(() => checkPrime(-1n, common.mustNotCall()), {
100 checkPrime(prime, common.mustSucceed((result) => {
227 assert.throws(() => checkPrime(i), {
233 assert.throws(() => checkPrime(2n, { checks }, common.mustNotCall()), {
244 assert.throws(() => checkPrime(2n, { checks }, common.mustNotCall()), {
286 checkPrime(prime, common.mustSucceed(assert));
294 checkPrime(prime, common.mustSucceed(assert));
/third_party/node/lib/
Dcrypto.js49 checkPrime,
178 checkPrime, property
/third_party/node/lib/internal/crypto/
Drandom.js539 function checkPrime(candidate, options = kEmptyObject, callback) { function
606 checkPrime, property
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md619 …commit/110063d694)] - **(SEMVER-MINOR)** **crypto**: add generatePrime/checkPrime (James M Snell) …
639 …commit/110063d694)] - **(SEMVER-MINOR)** **crypto**: add generatePrime/checkPrime (James M Snell) …
DCHANGELOG_V18.md1126 ….com/nodejs/node/commit/dd42214fd4)] - **crypto**: unify validation of checkPrime checks (Tobias N…
1428 …/node/commit/6fee6050e3)] - **test**: fix 'checks' validation test for checkPrime (Tobias Nießen) …
3396 …node/commit/a93371205b)] - **doc**: fix optionality of callback arg of checkPrime (Tobias Nießen) …
/third_party/node/doc/api/
Dcrypto.md2923 ### `crypto.checkPrime(candidate[, options], callback)`