Skip to content

Cherry-pick to earlgrey_1.0.0: [crypto] Fix use of AES mode constant from incompatible enum#29641

Open
lowrisc-ci[bot] wants to merge 1 commit intoearlgrey_1.0.0from
backport-29532-to-earlgrey_1.0.0
Open

Cherry-pick to earlgrey_1.0.0: [crypto] Fix use of AES mode constant from incompatible enum#29641
lowrisc-ci[bot] wants to merge 1 commit intoearlgrey_1.0.0from
backport-29532-to-earlgrey_1.0.0

Conversation

@lowrisc-ci
Copy link
Copy Markdown

@lowrisc-ci lowrisc-ci bot commented Mar 31, 2026

This is an automatic cherry-pick of #29532 to branch earlgrey_1.0.0.

kAesCipherModeEcb and kOtcryptoAesModeEcb have the same numerical value
but come from different enum types. More recent versions of Clang warn
about this. Fix this by using the appropriate enum member.

Signed-off-by: Luís Marques <luismarques@lowrisc.org>
(cherry picked from commit 9bf5126)
@lowrisc-ci lowrisc-ci bot requested a review from a team as a code owner March 31, 2026 15:25
@lowrisc-ci lowrisc-ci bot requested review from alees24 and removed request for a team March 31, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant