Closed dgarske closed 1 month ago
Fix issue with ARM ASM with AES CFB/OFB not initializing the "left" member.
Consistency for initializing "left = 0" with various build option combinations.
Fixes ZD 18841.
Tested on Raspberry Pi 5 with ./configure --enable-armasm --enable-aescfb CC="clang -fsanitize=address" && make && make check
./configure --enable-armasm --enable-aescfb CC="clang -fsanitize=address" && make && make check
./configure CC="clang -fsanitize=address" --enable-armasm --enable-aescfb --disable-aesgcm --disable-aesctr --enable-cryptonly --disable-examples && make
It was the wolfTPM use of AES CFB that found this issue.
Description
Fix issue with ARM ASM with AES CFB/OFB not initializing the "left" member.
Consistency for initializing "left = 0" with various build option combinations.
Fixes ZD 18841.
Testing
Tested on Raspberry Pi 5 with
./configure --enable-armasm --enable-aescfb CC="clang -fsanitize=address" && make && make check
It was the wolfTPM use of AES CFB that found this issue.
Checklist