]> granicus.if.org Git - esp-idf/commit
hwcrypto: Add AES fault injection check
authorAngus Gratton <angus@espressif.com>
Fri, 17 May 2019 19:54:40 +0000 (03:54 +0800)
committerAngus Gratton <gus@projectgus.com>
Tue, 21 May 2019 02:41:42 +0000 (12:41 +1000)
commitaf98ca6b462f20956f3b9fe38959b460e258a05b
tree43d183053973d2bdd6b4a30dcf82a6bff340fe99
parentc9edb7c8a90bc0c84ac4af03fd46cc796dd70c63
hwcrypto: Add AES fault injection check

Hardware AES-CBC performance changes:

Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec

(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
components/mbedtls/port/esp32/aes.c