(curve)
| 231 | |
| 232 | |
| 233 | function ECDH(curve) { |
| 234 | if (!(this instanceof ECDH)) |
| 235 | return new ECDH(curve); |
| 236 | |
| 237 | validateString(curve, 'curve'); |
| 238 | this[kHandle] = new _ECDH(curve); |
| 239 | } |
| 240 | |
| 241 | ECDH.prototype.computeSecret = DiffieHellman.prototype.computeSecret; |
| 242 | ECDH.prototype.setPrivateKey = DiffieHellman.prototype.setPrivateKey; |
no outgoing calls
no test coverage detected
searching dependent graphs…