1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00
Files
wolfssl/certs
Tobias Frauenschläger 837e0b6aec certs: generate the ML-KEM test material with renewcerts.sh
The README described how to regenerate the ML-KEM certificates in prose,
which amounts to "write a program". They are produced by
certs/renewcerts.sh instead, using the same OpenSSL 3.5 or newer binary
its ML-DSA section already requires.

An ML-KEM key cannot sign, so it can sign neither a certificate nor a
certificate request. Each certificate therefore comes from a throwaway
request carrying only the subject name, with x509 -req -force_pubkey
swapping in the ML-KEM public key before the ML-DSA-87 test CA signs it,
and keyUsage marked critical asserting keyEncipherment and nothing else,
per RFC 9935 Section 5.

The keys are written in the priv-only PKCS#8 shape, which is the RFC 9935
Section 6 expandedKey form: that decodes in a build without key
generation, which the seed form does not.

ML-KEM is probed separately from ML-DSA so a binary carrying one provider
and not the other still regenerates what it can.

The MLKEM_TYPE certificate generation paths had no coverage, so
mlkem_certgen_test drives wc_MakeCert_ex, wc_SignCert_ex and
wc_SetSubjectKeyIdFromPublicKey_ex for all three parameter sets. It signs
with ECDSA rather than ML-DSA, which is available in far more builds and
which the paths under test do not care about.
2026-09-29 17:26:23 +02:00
..
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-07-08 09:33:47 +10:00
2023-08-11 11:29:15 +09:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2015-09-07 09:51:21 +02:00
2020-12-17 14:26:49 +01:00
2016-12-28 14:45:29 -07:00
2012-05-02 10:30:15 -07:00
2014-08-29 14:25:58 -07:00
2011-02-05 11:14:47 -08:00
2011-02-05 11:14:47 -08:00
2011-12-01 13:10:01 -08:00
2015-09-07 09:51:21 +02:00
2017-06-14 09:44:26 +10:00
2019-12-06 14:27:01 -07:00
2024-11-07 07:40:02 -06:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2021-10-04 11:05:58 -05:00