Re: ECDH internal functions and FIPS140-2 mode
Nicolas Mora <[email protected]> Fri, 11 Jun 2021 11:21:51 -0400
| Newsgroups | gmane.network.gnutls.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, Is it possible to continue with this patch? Le 2021-03-20 à 20 h 23, Nicolas Mora a écrit : > > I'm having problems implementing ecdh-es with Curve25519/Curve448. > > - If I use an ed25519 key pair to compute, _gnutls_dh_compute_key > returns -55 > - If I use an x25519 key pair to compute, I can't import the key using > gnutls_pubkey_import/gnutls_privkey_import_x509 > > Is it possible at this time to calculate a key agreement with these curves? > > I have a working prototype in rhonabwy [1] that uses Nettle's functions > curve25519_mul/curve448_mul. In this case I expect a X25519 or X448 key > pair. > I was stuck with the implementation of ecdh-es with Curve25519/Curve448, but ecdh-es with ecdsa works fine. Thanks in advance /Nicolas _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help