[openssl/openssl] d89e03: Fix SM4-CBC regression on Armv8
Fangming.Fang
noreply at github.com
Mon Dec 12 22:44:01 UTC 2022
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: d89e0361d5ff5b32c24edac6c60c5ae38714e6c3
https://github.com/openssl/openssl/commit/d89e0361d5ff5b32c24edac6c60c5ae38714e6c3
Author: fangming.fang <fangming.fang at arm.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
Changed paths:
M crypto/sm4/asm/vpsm4-armv8.pl
M test/recipes/30-test_evp_data/evpciph_sm4.txt
Log Message:
-----------
Fix SM4-CBC regression on Armv8
Fixes #19858
During decryption, the last ciphertext is not fed to next block
correctly when the number of input blocks is exactly 4. Fix this
and add the corresponding test cases.
Thanks xu-yi-zhou for reporting this issue and proposing the fix.
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19872)
More information about the openssl-commits
mailing list