From c26646c211427ce6c1685412e0657fee17df2f78 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Thu, 21 Mar 2024 16:22:24 +0100 Subject: [PATCH] pk: fix description of mbedtls_pk_setup_opaque for sign_ext() Signed-off-by: Valerio Setti --- include/mbedtls/pk.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/mbedtls/pk.h b/include/mbedtls/pk.h index 86ab7d6ac2..e33702fe86 100644 --- a/include/mbedtls/pk.h +++ b/include/mbedtls/pk.h @@ -369,7 +369,9 @@ int mbedtls_pk_setup(mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info); * * EC: * * verify, verify_ext, sign, sign_ext: ECDSA. * * RSA: - * * sign, sign_ext, decrypt: use the primary algorithm in the wrapped PSA key; + * * sign, decrypt: use the primary algorithm in the wrapped PSA key; + * * sign_ext: RSA PSS if the pk_type is #MBEDTLS_PK_RSASSA_PSS, otherwise + * it falls back to the sign() case; * * verify, verify_ext, encrypt: not supported. * * In order for the above operations to succeed, the policy of the wrapped PSA