mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-31 12:08:47 +08:00

In ECDH key agreement, allow a public key with the OID id-ECDH, not just a public key with the OID id-ecPublicKey. Public keys with the OID id-ECDH are not permitted by psa_import_key, at least for now. There would be no way to use the key for a key agreement operation anyway in the current API.