1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-29 10:26:39 +08:00
Jarno Lamsa 9e8e820993 Increase hamming distance for some error codes
The MBEDTLS_ERR_SSL_WANT_READ and MBEDTLS_ERR_SSL_WANT_WRITE are
errors that can be ignored, so increase the hamming distance between
them and the non-ignorable errors and keep still some distance from
a success case. This mitigates an attack where single bit-flipping could
change a non-ignorable error to being an ignorable one.
2019-12-19 07:56:10 +02:00
..
2015-03-10 11:23:56 +00:00