spaniakos / AES

AES for microcontrollers (Arduino & Raspberry pi)
http://spaniakos.github.io/AES/
GNU Affero General Public License v3.0
126 stars 55 forks source link

Fix padding for multiples of N_BLOCK and pad length calculation #22

Closed palto42 closed 6 years ago

palto42 commented 6 years ago

I combined ideas from the pull requests #15 and #16 and updated the examples accordingly. I tested the code on Arduino Leonardo and Raspberry Pi 1B+

Summary of changes:

spaniakos commented 6 years ago

the changes seem good! i'll give it one two more days to run some test on a crypto-framework i am building and will merge.

thank you.