Fix usage of randomized number in AES

-Fix usage of randomized bits (do not reuse the bits)
-Update comments
This commit is contained in:
Arto Kinnunen 2020-01-20 11:46:34 +02:00
parent 311ab594d7
commit 17540ab74c
2 changed files with 33 additions and 14 deletions

View file

@ -646,7 +646,7 @@
* -before the first AES calculation round
* -after the last AES calculation round
*
* Tradeoff: Uncommenting this macro does not increases ROM footprint.
* Tradeoff: Uncommenting this macro does not increase codesize.
* The performance loss is ~50% with 128 bit AES.
*
* This option is dependent of \c MBEDTLS_ENTROPY_HARDWARE_ALT.