Add error code MBEDTLS_ERR_PLATFORM_FAULT_DETECTED
This can be used by Mbed TLS functions in any module to signal that a fault attack is likely happening, so this can be appropriately handled by the application (report, fall back to safer mode or even halt, etc.)
This commit is contained in:
parent
e6d6f17738
commit
324c6e9cc9
3 changed files with 4 additions and 1 deletions
|
@ -86,7 +86,7 @@
|
|||
* CHACHA20 3 0x0051-0x0055
|
||||
* POLY1305 3 0x0057-0x005B
|
||||
* CHACHAPOLY 2 0x0054-0x0056
|
||||
* PLATFORM 1 0x0070-0x0072
|
||||
* PLATFORM 3 0x0070-0x0072 0x0071-0x0071
|
||||
*
|
||||
* High-level module nr (3 bits - 0x0...-0x7...)
|
||||
* Name ID Nr of Errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue