[openssl/openssl] 91895e: Avoid divide-by-zero in kmac_prov.c's bytepad()
Evgeny Shtanov
noreply at github.com
Mon Oct 9 10:06:29 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 91895e39b10033178e662fc7427a09d7562cf8e1
https://github.com/openssl/openssl/commit/91895e39b10033178e662fc7427a09d7562cf8e1
Author: Klavishnik <evg.shtanov at gmail.com>
Date: 2023-10-09 (Mon, 09 Oct 2023)
Changed paths:
M providers/implementations/macs/kmac_prov.c
Log Message:
-----------
Avoid divide-by-zero in kmac_prov.c's bytepad()
This would happen if EVP_MD_get_block_size() returned 0
so we return an error instead.
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21698)
More information about the openssl-commits
mailing list