]> git.ipfire.org Git - thirdparty/openssl.git/commit
ML_DSA: Fix partially uninitialised hint buffer.
authorslontis <shane.lontis@oracle.com>
Fri, 17 Jan 2025 03:58:14 +0000 (14:58 +1100)
committerTomas Mraz <tomas@openssl.org>
Fri, 14 Feb 2025 09:46:03 +0000 (10:46 +0100)
commit2cb4b0c78121e041e9ffeef60cfbfef027d178c6
treeccd92afd3bdbb73fe5a629ad8ea87ebbe72b8d00
parentdf231a88abab21c31274b6dd0fb8ff90efebbbfe
ML_DSA: Fix partially uninitialised hint buffer.
The encoded hint data consists of omega + k bytes.
The bytes at the end of omega section of the buffer may be 0,
so the buffer must be cleared initially.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26451)
crypto/ml_dsa/ml_dsa_encoders.c