Lines Matching refs:ECDH
15 ECDH: _ECDH,
232 function ECDH(curve) {
233 if (!(this instanceof ECDH))
234 return new ECDH(curve);
240 ECDH.prototype.computeSecret = DiffieHellman.prototype.computeSecret;
241 ECDH.prototype.setPrivateKey = DiffieHellman.prototype.setPrivateKey;
242 ECDH.prototype.setPublicKey = DiffieHellman.prototype.setPublicKey;
243 ECDH.prototype.getPrivateKey = DiffieHellman.prototype.getPrivateKey;
245 ECDH.prototype.generateKeys = function generateKeys(encoding, format) {
251 ECDH.prototype.getPublicKey = function getPublicKey(encoding, format) {
258 ECDH.convertKey = function convertKey(key, curve, inEnc, outEnc, format) {
331 key.algorithm.name !== 'ECDH' &&
335 throw lazyDOMException('Keys must be ECDH, X25519, or X448 keys', 'InvalidAccessError');
345 key.algorithm.name === 'ECDH' &&
353 key.algorithm.name === 'ECDH' ? baseKey.algorithm.namedCurve : baseKey.algorithm.name,
380 ECDH,