mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-14 15:42:41 +02: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.