EC support / PK11_ImportDERPrivateKeyInfoAndReturnKey

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

EC support / PK11_ImportDERPrivateKeyInfoAndReturnKey

Anders Rundgren-2
I'm trying to implement SKS/KeyGen2 in Firefox.  This scheme is heavily based on EC keys.

According to this file
https://chromium.googlesource.com/chromium/chromium/+/master/crypto/ec_private_key_nss.cc
PK11_ImportDERPrivateKeyInfoAndReturnKey doesn't support EC keys.
This was reported 2006.

Is there any usable workaround?  My knowledge of NSS and P11 is quite limited....

Can you do a raw ECDH operation (return Z only) in NSS as supplied in Firefox?

Anders


--
dev-tech-crypto mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-tech-crypto