pk: fix description of mbedtls_pk_setup_opaque for sign_ext()

Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
Valerio Setti
2024-04-04 09:42:01 +02:00
parent c51b08ca1d
commit c26646c211
+3 -1
View File
@@ -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