[openssl/openssl] 2f05fe: Fix SM4-CBC regression on Armv8
Fangming.Fang
noreply at github.com
Mon Dec 12 22:45:00 UTC 2022
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 2f05fe946bcc57c99415eead22154d4b4855afe6
https://github.com/openssl/openssl/commit/2f05fe946bcc57c99415eead22154d4b4855afe6
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)
(cherry picked from commit d89e0361d5ff5b32c24edac6c60c5ae38714e6c3)
More information about the openssl-commits
mailing list