Viktor Dukhovni 5421423ef9 Flexible encoders for ML-DSA
- Same UX as ML-KEM.  The main ASN.1 private key syntax is the one from
  Russ Housley's post on the LAMPS list, subsequently amended to tag the
  seed instead of the key (each of the three parameter sets will have a
  fixed size for the `expandedKey`):

    ML-DSA-PrivateKey ::= CHOICE {
      seed [0] IMPLICIT OCTET STRING SIZE (32),
      expandedKey OCTET STRING SIZE (2560 | 4032 | 4896)
      both SEQUENCE {
        seed OCTET STRING SIZE (32),
        expandedKey OCTET STRING SIZE (2560 | 4032 | 4896) } }

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26638)
2025-02-14 10:46:04 +01:00
..
2024-04-25 11:07:20 +02:00
2024-04-09 13:43:27 +02:00
2024-09-05 09:35:49 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-04-09 13:43:26 +02:00
2023-12-12 16:12:32 +00:00
2023-09-28 14:23:29 +01:00
2023-09-28 14:23:29 +01:00
2025-02-14 10:46:04 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-04-09 13:43:26 +02:00
2023-09-07 09:59:15 +01:00
2024-09-05 09:35:49 +02:00