mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 22:19:05 +00:00
Rename ATTACK_DETECTED to FAULT_DETECTED
We don't know for sure it's an attack, it could be the hardware failing randomly as well.
This commit is contained in:
parent
2b90961b8d
commit
4d6186beb0
3 changed files with 3 additions and 3 deletions
|
|
@ -304,7 +304,7 @@ int uECC_verify(const uint8_t *public_key, const uint8_t *message_hash,
|
|||
return UECC_SUCCESS;
|
||||
}
|
||||
else {
|
||||
return UECC_ATTACK_DETECTED;
|
||||
return UECC_FAULT_DETECTED;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue