[gnutls-devel] GnuTLS | Follow-up for ML-DSA support (!1916)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Thu Dec 26 08:11:34 CET 2024
Daiki Ueno created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/1916
Project:Branches: dueno/gnutls:wip/dueno/mldsa-followup to gnutls/gnutls:master
Author: Daiki Ueno
<!-- Add a description of the new feature/bug fix. Reference any relevant bugs. -->
* tests: add basic tests for ML-DSA usage with certtool
* nettle: ensure liboqs is loaded for signing operations with ML-DSA
* algorithms: expose ML-DSA algorithm entries regardless of liboqs
* algorithms: document ML-KEM/ML-DSA in public enums
* algorithms: rename GNUTLS_PK_MLKEM768 to GNUTLS_PK_ML_KEM_768
To be consistent with ML-DSA algorithms, this renames
GNUTLS_PK_MLKEM768 to GNUTLS_PK_ML_KEM_768, while the old name is
preserved through a compatibility macro.
* certtool: enable ML-DSA private key generation
* x509: assume PKCS#8 for ML-DSA private keys
Given the ML-DSA private keys are always represented in the PKCS#8
PrivateKeyInfo, stop using the specific "-----BEGIN ML-DSA PRIVATE
KEY-----" PEM header.
* fips: perform pair-wise consistency test for ML-DSA
Also mark the signature creation and verification operation as
non-approved, as the current version of liboqs doesn't implement
sufficient checks for input.
## Checklist
* [x] Commits have `Signed-off-by:` with name/author being identical to the commit author
* [ ] Code modified for feature
* [x] Test suite updated with functionality tests
* [ ] Test suite updated with negative tests
* [x] Documentation updated / NEWS entry present (for non-trivial changes)
* [ ] CI timeout is 2h or higher (see Settings/CICD/General pipelines/Timeout)
## 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/1916
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/20241226/e0fabafb/attachment-0001.html>
More information about the Gnutls-devel
mailing list