commit | 9c9e77a8add2765d0297543c19ad24bfc2b3a8f0 | [log] [tgz] |
---|---|---|
author | Jarno Lamsa <jarno.lamsa@arm.com> | Thu Apr 18 16:13:19 2019 +0300 |
committer | Hanno Becker <hanno.becker@arm.com> | Wed Sep 04 16:17:25 2019 +0100 |
tree | d76b1493e1cda617828788d604ff47dd0993cde2 | |
parent | b1760926568f8708fb14ae3fc9b1d6e75fe8e07e [diff] [blame] |
Actually use the parse functions
diff --git a/include/mbedtls/pk.h b/include/mbedtls/pk.h index a044c57..1536ebe 100644 --- a/include/mbedtls/pk.h +++ b/include/mbedtls/pk.h
@@ -172,6 +172,13 @@ } #endif /* MBEDTLS_RSA_C */ +#if defined(MBEDTLS_USE_TINYCRYPT) +static inline mbedtls_uecc_keypair *mbedtls_uecc_pk( const mbedtls_pk_context pk ) +{ + return( (mbedtls_uecc_keypair *) (pk).pk_ctx ); +} +#endif + #if defined(MBEDTLS_ECP_C) /** * Quick access to an EC context inside a PK context.