Skip to content

Add hw accelerated for stm32 aesccm_16_64_256#59

Closed
WilliamTakeshi wants to merge 4 commits into
lake-rs:mainfrom
WilliamTakeshi:aesccm_16_64_256_hw
Closed

Add hw accelerated for stm32 aesccm_16_64_256#59
WilliamTakeshi wants to merge 4 commits into
lake-rs:mainfrom
WilliamTakeshi:aesccm_16_64_256_hw

Conversation

@WilliamTakeshi

Copy link
Copy Markdown
Collaborator

continuation of #58

this PR only implements hardware accelerated for Stm32wba55Cal.

Because CCM doesn't work for 256 bit keys on Nrf54l15, its not as easy to impl

@WilliamTakeshi WilliamTakeshi self-assigned this Jun 3, 2026
chrysn added a commit that referenced this pull request Jun 9, 2026
AeadTag::AesCcm16_64_128(tag)
}
AeadKey::AesCcm16_64_256(_) => todo!(),
AeadKey::AesCcm16_64_256(_) => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can at least the AES part be accelerated (albeit then with more software layer on top of it, which we don't have), or not even that?

For if nothing can be done in hardware, then this impl would just not do 16-64-256 and leave it to a software impl, 🤷.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scratch that, #62 is addressing this.

@WilliamTakeshi

Copy link
Copy Markdown
Collaborator Author

closed because already merged in #62

@WilliamTakeshi WilliamTakeshi deleted the aesccm_16_64_256_hw branch June 10, 2026 14:17
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.

2 participants