jnk0le / cortexm-AES

high performance AES implementations optimized for cortex-m microcontrollers
MIT License
40 stars 4 forks source link

cbc mode works on multiple of 16 bytes only, no padding #2

Closed jnk0le closed 1 month ago

jnk0le commented 2 years ago

otherwise no padding, will read and write past the in/out buffers

jnk0le commented 8 months ago

needs new API for append/finalize

PKCS#7 creates additional block if data is multiple of 16