Skip to content

Conversation

@ssievert42
Copy link
Contributor

@ssievert42 ssievert42 commented Jan 5, 2025

This adds some docs for AES CCM authenticated encryption and decryption.

Turns out I misread the mbedtls docs when adding initial AES CCM support, so this also corrects the existing parameter descriptions.
(For example the iv can be 7 to 13 bytes, while I previously wrote 2 to 13 bytes; passing an iv of less than 7 bytes just errors out though.)

@ssievert42 ssievert42 changed the title crypto: add some docs for AES CCM Crypto: add some docs for AES CCM Jan 6, 2025
@gfwilliams
Copy link
Member

That's great - thanks!

@gfwilliams gfwilliams merged commit e30de2a into espruino:master Jan 6, 2025
21 checks passed
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