Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with ARM ASM with AES CFB/OFB not initializing the "left" member #8099

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

dgarske
Copy link
Contributor

@dgarske dgarske commented Oct 22, 2024

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

./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.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@JacobBarthelmeh JacobBarthelmeh merged commit 43fe46c into wolfSSL:master Oct 22, 2024
141 checks passed
@dgarske dgarske deleted the armasm_aes branch October 28, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants