]> git.ipfire.org Git - thirdparty/openssl.git/commit
Raise PROV_R_NULL_OUTPUT_BUFFER if shsec is NULL in ml_kem_encapsulate()
authorlanming <lanming@huawei.com>
Thu, 10 Jul 2025 02:20:05 +0000 (10:20 +0800)
committerPauli <ppzgs1@gmail.com>
Tue, 22 Jul 2025 01:30:29 +0000 (11:30 +1000)
commit96e7ac3500ea28760ead00cbdd9efcf0ceef8738
tree077f79bcd95c9dd477794f31c548e8cb9ff64c02
parent3aa15fd0553a8957c75c317310d98e652a795bf1
Raise PROV_R_NULL_OUTPUT_BUFFER if shsec is NULL in ml_kem_encapsulate()

Signed-off-by: lanming <lanming@huawei.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/28009)

(cherry picked from commit 5d0c6c52e722f37f0254f8d5bfaf9b5c6b0df68b)
providers/implementations/kem/ml_kem_kem.c