mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-30 09:01:08 +02:00
When importing a private elliptic curve key, require the input to have exactly the right size. RFC 5915 requires the right size (you aren't allow to omit leading zeros). A different buffer size likely means that something is wrong, e.g. a mismatch between the declared key type and the actual data.