]> git.ipfire.org Git - thirdparty/openssl.git/commit
ec_kem.c: Fix ikmlen check
authorЗишан Мирза <zmirza@tutanota.de>
Tue, 24 Dec 2024 06:05:21 +0000 (11:05 +0500)
committerTomas Mraz <tomas@openssl.org>
Mon, 30 Dec 2024 16:14:26 +0000 (17:14 +0100)
commitdf889697820263530f8f43ff7ef1acd6f93aefef
tree36278ce34ef6e9bd5abcd6deb4d252e90d3b2e05
parentf8f246a1f75e825050b94732b9b27f122797ecbd
ec_kem.c: Fix ikmlen check

This makes `ikmlen` have a length of at least `Nsk`.

Closes #26213

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26254)

(cherry picked from commit c93f4a1e75efbb10153b2520a10e5a19a4479fdf)
providers/implementations/kem/ec_kem.c