]> git.ipfire.org Git - thirdparty/openssl.git/commit
Report errors in ML-KEM pkey hash
authorViktor Dukhovni <openssl-users@dukhovni.org>
Fri, 11 Apr 2025 14:35:57 +0000 (00:35 +1000)
committerNeil Horman <nhorman@openssl.org>
Wed, 18 Jun 2025 11:27:33 +0000 (07:27 -0400)
commit842c17fcc750e7415f566b5dd8f7797e388bbe12
tree9b68418446951a198f9c7050f024359c1a54a0a5
parentf8304e17bba3df34ea96e5c0318503d539bbbf11
Report errors in ML-KEM pkey hash

When on import the public key hash of a private key fails to match the
public part, add an appropriate message to the error stack.  Previously,
the just failed to parse, without a reason.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27352)

(cherry picked from commit 8721def7fce8f895fa3e7b0eae9e577e5ecf32bb)
crypto/ml_kem/ml_kem.c