commit | 62d452baac5b3c5c6e999c53983db58a72d2505f | [log] [tgz] |
---|---|---|
author | Neil Armstrong <narmstrong@baylibre.com> | Tue Apr 12 15:11:49 2022 +0200 |
committer | Neil Armstrong <narmstrong@baylibre.com> | Tue Apr 12 15:11:49 2022 +0200 |
tree | a08e4f9094ff828268c6829ba2799e807ab9f84b | |
parent | 7624a5ae5eade9b6253bca518c576791ed2524d5 [diff] [blame] |
Implement PK Opaque RSA PSS signature Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
diff --git a/library/pk_wrap.c b/library/pk_wrap.c index a9c3c71..852c46e 100644 --- a/library/pk_wrap.c +++ b/library/pk_wrap.c
@@ -1501,7 +1501,8 @@ static int pk_opaque_rsa_can_do( mbedtls_pk_type_t type ) { - return( type == MBEDTLS_PK_RSA ); + return( type == MBEDTLS_PK_RSA || + type == MBEDTLS_PK_RSASSA_PSS ); } static int pk_opaque_sign_wrap( void *ctx, mbedtls_md_type_t md_alg,