Home
last modified time | relevance | path

Searched defs:namedCurve (Results 1 – 25 of 37) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-webcrypto-export-import-ec.js102 async function testImportSpki({ name, publicUsages }, namedCurve, extractable) { argument
106 { name, namedCurve }, field
133 { name, namedCurve }, field
141 namedCurve, argument
146 { name, namedCurve }, field
172 { name, namedCurve }, field
180 namedCurve, argument
197 { name, namedCurve }, field
202 { name, namedCurve }, field
214 { name, namedCurve }, field
[all …]
Dtest-webcrypto-derivebits.js17 async function test(namedCurve) { argument
19 subtle.generateKey({ name: 'ECDH', namedCurve }, true, ['deriveBits']), field
20 subtle.generateKey({ name: 'ECDH', namedCurve }, true, ['deriveBits']), field
25 name: 'ECDH', namedCurve, public: alice.publicKey property
28 name: 'ECDH', namedCurve, public: bob.publicKey property
Dtest-webcrypto-derivekey-ecdh.js14 namedCurve: 'P-521', property
31 namedCurve: 'P-384', property
49 kTests.map(async ({ namedCurve, size, pkcs8, spki, result }) => { property
59 namedCurve field
68 namedCurve field
165 namedCurve: 'P-521' property
188 namedCurve: 'P-521' property
Dtest-webcrypto-derivebits-ecdh.js14 namedCurve: 'P-521', property
34 namedCurve: 'P-384', property
54 kTests.map(async ({ namedCurve, size, pkcs8, spki, result }) => { property
64 namedCurve field
73 namedCurve field
203 namedCurve: 'P-521' property
221 namedCurve: 'P-521' property
Dtest-webcrypto-sign-verify-ecdsa.js15 namedCurve, property
31 { name, namedCurve }, field
37 { name, namedCurve }, field
43 { name, namedCurve }, field
145 namedCurve, property
160 { name, namedCurve }, field
166 { name, namedCurve }, field
Dtest-webcrypto-derivekey.js17 async function test(namedCurve) { argument
19 subtle.generateKey({ name: 'ECDH', namedCurve }, true, ['deriveKey']), field
20 subtle.generateKey({ name: 'ECDH', namedCurve }, true, ['deriveKey']), field
25 name: 'ECDH', namedCurve, public: alice.publicKey property
31 name: 'ECDH', namedCurve, public: bob.publicKey property
135 …const keyPair = await subtle.generateKey({ name: 'ECDH', namedCurve: 'P-521' }, false, ['deriveKey… property
Dtest-webcrypto-export-import.js223 namedCurve: 'P-384' property
251 namedCurve: 'P-384' property
255 namedCurve: 'P-384' property
259 namedCurve: 'P-384' property
263 namedCurve: 'P-384' property
Dtest-crypto-psychic-signatures.js36 namedCurve: 'P-256', property
86 { name: 'ECDSA', namedCurve: 'P-256' }, property
Dtest-crypto-dh-stateless.js216 test(crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }), property
217 crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' })); property
221 test(crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }), property
222 crypto.generateKeyPairSync('ec', { namedCurve: not256k1 })); property
Dtest-webcrypto-keygen.js115 algorithm: { namedCurve: 'P-521' }, property
123 algorithm: { namedCurve: 'P-521' }, property
192 namedCurve: 'P521' property
425 namedCurve field
449 subtle.generateKey({ name, namedCurve }, true, privateUsages), { field
454 subtle.generateKey({ name, namedCurve: undefined }, true, privateUsages), { property
Dtest-crypto-keygen.js505 namedCurve: 'prime256v1', property
527 namedCurve: 'prime256v1', property
548 namedCurve: 'prime256v1', property
582 namedCurve: 'prime256v1', property
619 namedCurve: 'P-256', property
657 namedCurve: 'P-256', property
706 namedCurve: curve, property
784 namedCurve: 'P-256', property
816 namedCurve: 'secp224r1', property
1301 namedCurve: 'abcdef', property
[all …]
Dtest-webcrypto-sign-verify-rsa.js54 namedCurve: 'P-521', property
158 namedCurve: 'P-521', property
Dtest-webcrypto-sign-verify-eddsa.js60 namedCurve: 'P-256' property
167 namedCurve: 'P-256' property
Dtest-webcrypto-sign-verify.js68 namedCurve: 'P-384', property
Dtest-crypto-key-objects.js473 assert.deepStrictEqual(key.asymmetricKeyDetails, { namedCurve }); field
485 assert.deepStrictEqual(key.asymmetricKeyDetails, { namedCurve }); field
499 assert.deepStrictEqual(key.asymmetricKeyDetails, { namedCurve }); field
802 const namedCurve = getCurves().find((curve) => !supported.includes(curve)); constant
804 const keyPair = generateKeyPairSync('ec', { namedCurve }); field
Dtest-webcrypto-wrap-unwrap.js101 namedCurve: 'P-384' property
110 namedCurve: 'P-384' property
/third_party/node/lib/internal/crypto/
Dec.js70 function createECPublicKeyRaw(namedCurve, keyData) { argument
107 const keypair = await generateKeyPair('ec', { namedCurve }).catch((err) => { field
126 const keyAlgorithm = { name, namedCurve }; field
275 { name, namedCurve }, field
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
Decdh_bits.js37 Object.keys(sizes).forEach(function(namedCurve) { argument
196 Object.keys(pkcs8).forEach(function(namedCurve) { argument
198 {name: "ECDH", namedCurve: namedCurve}, property
207 Object.keys(pkcs8).forEach(function(namedCurve) { argument
209 {name: "ECDH", namedCurve: namedCurve}, property
218 Object.keys(spki).forEach(function(namedCurve) { argument
220 {name: "ECDH", namedCurve: namedCurve}, property
229 Object.keys(sizes).forEach(function(namedCurve) { argument
230 …var operation = subtle.generateKey({name: "ECDSA", namedCurve: namedCurve}, false, ["sign", "verif… property
Decdh_keys.js37 Object.keys(sizes).forEach(function(namedCurve) { argument
165 Object.keys(pkcs8).forEach(function(namedCurve) { argument
167 {name: "ECDH", namedCurve: namedCurve}, property
176 Object.keys(pkcs8).forEach(function(namedCurve) { argument
178 {name: "ECDH", namedCurve: namedCurve}, property
187 Object.keys(spki).forEach(function(namedCurve) { argument
189 {name: "ECDH", namedCurve: namedCurve}, property
198 Object.keys(sizes).forEach(function(namedCurve) { argument
199 …var operation = subtle.generateKey({name: "ECDSA", namedCurve: namedCurve}, false, ["sign", "verif… property
/third_party/node/test/fixtures/crypto/
Decdsa.js104 namedCurve, property
/third_party/node/deps/npm/node_modules/sigstore/dist/util/
Dcrypto.js28 namedCurve: P256_CURVE, property
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
Decdsa_vectors.js72 namedCurve: curveName, property
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
Dec_importKey.https.any.js76 var algorithm = {name: vector.name, namedCurve: curve}; property
89 var algorithm = {name: vector.name, namedCurve: curve}; property
/third_party/node/test/fixtures/wpt/WebCryptoAPI/util/
Dhelpers.js203 results.push({name: algorithmName, namedCurve: curveName}); property
/third_party/node/test/fixtures/wpt/WebCryptoAPI/generateKey/
Dfailures.js102 results.push({name: algorithmName, namedCurve: curveName}); property
153 {name: "EC", namedCurve: "P521"} property

12