Closed microshine closed 6 years ago
@rmhrisk I added new 25519 named curve to ECDSA and ECDH. It must be not correct for real curve names. For example elliptic uses other names for it
25519
ECDSA
ECDH
Should I change names for namedCurve?
namedCurve
crypto.subtle.generateKey( { name: "ECDSA", namedCurve: "25519" }, false, ["sign", "verify"], )
crypto.subtle.generateKey( { name: "ECDH", namedCurve: "25519" }, false, ["deriveBits", "deriveKey"], )
Coverage increased (+0.003%) to 97.418% when pulling 73f79ef32f39da2afa59edae8922324613f757e6 on 25519 into 560571cc1884843f8fbcf489fa3b4646037b7ea6 on master.
ed25510 is signing - https://ed25519.cr.yp.to/ Curve25510 is dh - https://cr.yp.to/ecdh.html
This PR is not actual. master branch supports X25519 namedCurve
master
X25519
@rmhrisk I added new
25519
named curve toECDSA
andECDH
. It must be not correct for real curve names. For example elliptic uses other names for itShould I change names for
namedCurve
?Current version
ECDSA 25519 key generation
ECDH 25519 key generation