Files
mbedtls/library
Gilles Peskine fc2c79633b Fix an incorrect error code if RSA private operation glitched
mbedtls_rsa_private() could return the sum of two RSA error codes
instead of a valid error code in some rare circumstances:

* If rsa_prepare_blinding() returned  MBEDTLS_ERR_RSA_RNG_FAILED
  (indicating a misbehaving or misconfigured RNG).
* If the comparison with the public value failed (typically indicating
  a glitch attack).

Make sure not to add two high-level error codes.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-03-03 16:19:09 +00:00
..
2020-10-22 10:34:20 +02:00
2020-12-09 01:22:11 +00:00
2021-02-23 11:28:19 +01:00
2020-11-16 16:09:41 +01:00
2020-09-09 14:51:03 +02:00
2020-09-22 16:19:25 +02:00
2020-11-29 14:45:10 -03:00