mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Remove now invalid comment in pk_opaque_ecdsa_can_do()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
56e71d4d1a
commit
7df6677c34
|
|
@ -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 )
|
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 ||
|
return( type == MBEDTLS_PK_ECKEY ||
|
||||||
type == MBEDTLS_PK_ECDSA );
|
type == MBEDTLS_PK_ECDSA );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue