mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-24 05:01:11 +01:00
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.