Lines Matching defs:test
29 function test({ publicKey: alicePublicKey, privateKey: alicePrivateKey },
137 test({ publicKey: alicePublicKey, privateKey: alicePrivateKey },
141 test(crypto.generateKeyPairSync('dh', { group: 'modp5' }),
144 test(crypto.generateKeyPairSync('dh', { group: 'modp5' }),
162 test(crypto.generateKeyPairSync('dh', params1),
216 test(crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }),
219 const not256k1 = crypto.getCurves().find((c) => /^sec.*(224|384|512)/.test(c));
221 test(crypto.generateKeyPairSync('ec', { namedCurve: 'secp256k1' }),
233 test(crypto.generateKeyPairSync('x448'),
236 test(crypto.generateKeyPairSync('x25519'),
240 test(crypto.generateKeyPairSync('x448'),