[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
Thu Apr 9 08:17:18 CEST 2026



Daiki Ueno created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/2088

Project:Branches: dueno/gnutls:wip/dueno/mldsa-pk-from-sk to gnutls/gnutls:master
Author:   Daiki Ueno



<!-- Add a description of the new feature/bug fix. Reference any relevant bugs. -->

This enables to derive ML-DSA public key from a secret key, using the new `lc_dilithium_pk_from_sk` function in leancrypto, through the following commits:

* gnutls_x509_privkey_get_key_id: derive ML-DSA public key if needed

* nettle: support deriving ML-DSA public key from expanded secret key

* crypto-backend: turn privkey_to_pubkey into a backend API

* privkey_to_pubkey: use constants to access public key parameters

Fixes: #1723

## Checklist
 * [x] Commits have `Signed-off-by:` with name/author being identical to the commit author
 * [ ] Code modified for feature
 * [ ] Test suite updated with functionality tests
 * [ ] Test suite updated with negative tests
 * [ ] Documentation updated / NEWS entry present (for non-trivial changes)

## Reviewer's checklist:
 * [ ] Any issues marked for closing are addressed
 * [ ] There is a test suite reasonably covering new functionality or modifications
 * [ ] Function naming, parameters, return values, types, etc., are consistent and according to `CONTRIBUTION.md`
 * [ ] This feature/change has adequate documentation added
 * [ ] No obvious mistakes in the code

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2088
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/4-4zzryyzuobp3gosfcf1wjv1ln-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/20260409/67cb3992/attachment.html>


More information about the Gnutls-devel mailing list