2015-05-19 03:47 AM
I am trying out some examples of the crypto library from ST, but its not working the way it should.
If I try the AES-CBC192 examples on a STM32F107 (STM3210C eval board),I can verify that the encrypted cipher text is correct, but after decryptingit does not entirely match the plain text (13 bytes in the middle, are wrong).2015-05-19 05:02 AM
Seems to be related to compiler optimization setting.
In the doc. it states that the lib is compiled with optimization: high,I had it set to optimization: none for better debugging possibility.Setting it to anything other than ''none'', seem to make it work ?