Fixup: Rename mbedtls_uecc_pk -> mbedtls_pk_uecc

This is in line with the naming of the analogous function mbedtls_pk_ec
used for legacy ECC PK contexts.
This commit is contained in:
Hanno Becker
2019-08-21 13:22:59 +01:00
parent 8cf2f5e466
commit da77971ec8
2 changed files with 4 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ static inline mbedtls_rsa_context *mbedtls_pk_rsa( const mbedtls_pk_context pk )
#endif /* MBEDTLS_RSA_C */
#if defined(MBEDTLS_USE_TINYCRYPT)
static inline mbedtls_uecc_keypair *mbedtls_uecc_pk( const mbedtls_pk_context pk )
static inline mbedtls_uecc_keypair *mbedtls_pk_uecc( const mbedtls_pk_context pk )
{
return( (mbedtls_uecc_keypair *) (pk).pk_ctx );
}