mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-07-25 18:03:15 +08:00

When importing a transparent key, the key needs to be not only validated, but also possibly converted, if it is not already in the canonical representation. So change the validate_key entry point to an import_key entry point. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>