Closed portasynthinca3 closed 3 years ago
Hi @portasynthinca3 , can you provide some sample code to test the issue ?
Also I would like to note that there is update in the licensing for esp-wolfssl component as mentioned in https://github.com/espressif/esp-wolfssl#licensing.
Closing due to lack of update, please feel to reopen with more information
I'm trying to encrypt and decrypt some data using AES-128 in CFB mode. Most of the time I'm getting very weird exceptions like this:
After poking the source code a bit and examining objdumps, I have found that this line of code at
aes.c:7102
doesn't evaluate properly for some reason:The value ends up in A8, after which it is being dereferenced which causes the exception. In the particular register dump above it is equal to
0xfa6f0b8d
. However, this piece of code just before the function call prints a sane result:These two calculations are separated by a function call and two if statements, neither of which manipulate the
aes
structure:I having trouble wrapping my head around this issue