Remove now invalid comment in pk_opaque_ecdsa_can_do()

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-04-08 15:13:06 +02:00
parent 56e71d4d1a
commit 7df6677c34

View file

@ -1495,9 +1495,6 @@ static size_t pk_opaque_get_bitlen( const void *ctx )
static int pk_opaque_ecdsa_can_do( mbedtls_pk_type_t type )
{
/* For now ECDSA opaque PSA keys can only wrap ECC keypairs,
* as checked by setup_psa().
* Also, ECKEY_DH does not really make sense with the current API. */
return( type == MBEDTLS_PK_ECKEY ||
type == MBEDTLS_PK_ECDSA );
}