Verify sign wrapper functionality for uECC
This commit is contained in:
parent
e1c5608370
commit
42b83db1eb
4 changed files with 287 additions and 0 deletions
|
@ -120,10 +120,15 @@ const mbedtls_pk_info_t * mbedtls_pk_info_from_type( mbedtls_pk_type_t pk_type )
|
|||
case MBEDTLS_PK_ECKEY_DH:
|
||||
return( &mbedtls_eckeydh_info );
|
||||
#endif
|
||||
#if defined(MBEDTLS_USE_TINYCRYPT)
|
||||
case MBEDTLS_PK_ECDSA:
|
||||
return( &mbedtls_uecc_ecdsa_info );
|
||||
#else
|
||||
#if defined(MBEDTLS_ECDSA_C)
|
||||
case MBEDTLS_PK_ECDSA:
|
||||
return( &mbedtls_ecdsa_info );
|
||||
#endif
|
||||
#endif /* MBEDTLS_USE_TINYCRYPT */
|
||||
/* MBEDTLS_PK_RSA_ALT omitted on purpose */
|
||||
default:
|
||||
return( NULL );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue