mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-30 00:51:06 +02:00
Change the encoding of key types, EC curve families and DH group families to make the low-order bit a parity bit (with even parity). This ensures that distinct key type values always have a Hamming distance of at least 2, which makes it easier for implementations to resist single bit flips.