[gnutls-devel] GnuTLS | Importing есс public keys and calculating bits (#640)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Dec 5 14:33:33 CET 2018


New Issue was created.

Issue 640: https://gitlab.com/gnutls/gnutls/issues/640
Author:    Dilyan Palauzov
Assignee:  

Why do gnutls_pubkey_import_x509(key, …), gnutls_pubkey_import_x509_crq(key, …), gnutls_pubkey_import_privkey(key, …), gnutls_pubkey_import(key, …),  gnutls_pubkey_import_rsa_raw(key, …), gnutls_pubkey_import_dsa_raw(key,…)  something with &key->bits, but gnutls_pubkey_import_ecc_x962(key,…), gnutls_import_ecc_raw(key, …) leave key->bits zero?

In particular, after

gnutls_pubkey_import_ecc_raw(x, GNUTLS_ECC_CURVE_ED25519, &key, NULL);
gnutls_pubkey_verify_data2(x, GNUTLS_SIGN_EDDSA_ED25519, 0, &m, &n);
gnutls_pubkey_get_pk_algorithm(x, &b);

I expect that b is set, as it is set when I use other key types.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/640
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181205/31575196/attachment.html>


More information about the Gnutls-devel mailing list