Skip to content

Commit

Permalink
Fixed small error on ecdh vs ecdsa benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Christos Patsonakis committed Apr 14, 2021
1 parent 05c9d1b commit 24d21ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/ecdh-ecdsa-comp.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let aliceECDHPrivateKey = aliceECDH.getPrivateKey()
let aliceECSigningKeyPair = crypto.generateKeyPairSync(
'ec',
{
namedCurve: curveName
namedCurve: mycrypto.params.curveName
}
)
// Generate Bob's ECDH key pair (message receiver)
Expand Down

0 comments on commit 24d21ac

Please sign in to comment.