[gnutls-devel] GnuTLS | nettle: support deriving ML-DSA public key from expanded secret key (!2088)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Apr 10 11:44:05 CEST 2026




Zoltán Fridrich started a new discussion on lib/nettle/pk.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2088#note_3239525189

 >  		}
 >  		break;
 >  
 > +	case GNUTLS_PK_MLDSA44:
 > +	case GNUTLS_PK_MLDSA65:
 > +	case GNUTLS_PK_MLDSA87:
 > +		if (params->raw_pub.data == NULL) {
 > +			ret = ml_dsa_privkey_to_pubkey(algo, &params->raw_priv,
 > +						       &params->raw_pub);
 > +			if (ret < 0 && ret != GNUTLS_E_UNIMPLEMENTED_FEATURE)

Just making sure. Is it correct for the function to return 0 when GNUTLS_E_UNIMPLEMENTED_FEATURE is returned from ml_dsa_privkey_to_pubkey?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2088#note_3239525189
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/4-802i9qbzt3otvd65z1u123wjv-a84t7/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20260410/ac3b85eb/attachment-0001.html>


More information about the Gnutls-devel mailing list