mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 22:19:05 +00:00
Fixup: Impl. MBEDTLS_PK_ECKEY, not MBEDTLS_PK_ECDSA, via TinyCrypt
The PK-type MBEDTLS_PK_ECDSA isn't really used by the library. Especially, when parsing a generic EC key, a PK context of type MBEDTLS_PK_ECKEY will be requested. Hence, to drop in TinyCrypt for the legacy-ECC implementation, the PK type that TinyCrypt implements must be MBEDTLS_PK_ECKEY.
This commit is contained in:
parent
483fd66d21
commit
adf11e13a4
4 changed files with 27 additions and 24 deletions
|
|
@ -132,7 +132,7 @@ extern const mbedtls_pk_info_t mbedtls_ecdsa_info;
|
|||
#endif
|
||||
|
||||
#if defined(MBEDTLS_USE_TINYCRYPT)
|
||||
extern const mbedtls_pk_info_t mbedtls_uecc_ecdsa_info;
|
||||
extern const mbedtls_pk_info_t mbedtls_uecc_eckey_info;
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue