Update src/crypto/public_key/elliptic/ecdh.js

Co-Authored-By: wussler <aron@wussler.it>
This commit is contained in:
Daniel Huigens 2019-01-18 16:40:13 +01:00 committed by GitHub
parent 06952b4e30
commit f77ebc7605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ async function kdf(hash_algo, X, length, param) {
* @param {module:enums.hash} hash_algo Hash algorithm to use
* @param {Uint8Array} Q Recipient public key
* @param {String} fingerprint Recipient fingerprint
* @returns {Promise<{V: BN, C: Uint8Array}>} Returns public part of ephemeral key and generated ephemeral secret
* @returns {Promise<{V: BN, Z: Uint8Array}>} Returns public part of ephemeral key and generated ephemeral secret
* @async
*/
async function genPublicEphemeralKey(oid, cipher_algo, hash_algo, Q, fingerprint) {