mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-06 15:06:05 +00:00
Introduce a platform fault on bad input in uECC_vli_mmod
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
5ef12c0cbc
commit
7aebd7f55d
2 changed files with 17 additions and 3 deletions
|
|
@ -3028,9 +3028,11 @@
|
|||
/**
|
||||
* \def MBEDTLS_PLATFORM_FAULT_CALLBACKS
|
||||
*
|
||||
* Uncomment to provide your own alternate implementation for mbedtls_platform_fault(),
|
||||
* used in library/platform_util.c to signal a fault injection in either
|
||||
* mbedtls_platform_memcpy, mbedtls_platform_memset or mbedtls_platform_random_buf.
|
||||
* Uncomment to provide your own alternate implementation for
|
||||
* mbedtls_platform_fault(), used in library/platform_util.c and
|
||||
* tinycrypt/ecc.c to signal a fault injection in either
|
||||
* mbedtls_platform_memcpy, mbedtls_platform_memset, mbedtls_platform_random_buf,
|
||||
* or uECC_vli_mmod.
|
||||
*
|
||||
* You will need to provide a header "platform_fault.h" and an implementation at
|
||||
* compile time.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue