mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-31 18:03:17 +08: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.