]> git.ipfire.org Git - thirdparty/openssl.git/commit
More seed and private key checks for ML-DSA
authorViktor Dukhovni <openssl-users@dukhovni.org>
Fri, 21 Feb 2025 08:47:36 +0000 (19:47 +1100)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Tue, 25 Feb 2025 01:49:49 +0000 (12:49 +1100)
commit64a27c24d8f6964706ef25465ab5b83fba45766e
tree72342cdfc033a77e11dc4a1d30336ee318077302
parent1eb5ffcdc8a270b6d49b6b6f5097ebe61f66f648
More seed and private key checks for ML-DSA

- Check seed/key consistency when generating from a seed and the private
  key is also given.
- Improve error reporting when the private key does not match an
  explicit public key.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/26865)
crypto/ml_dsa/ml_dsa_encoders.c
crypto/ml_dsa/ml_dsa_key.c
include/crypto/ml_dsa.h
providers/implementations/keymgmt/ml_dsa_kmgmt.c
test/recipes/15-test_ml_dsa_codecs.t
test/recipes/15-test_ml_kem_codecs.t