mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-06 05:35:51 -04: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.