pk: fix typos in description of mbedtls_pk_setup_opaque()

Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
Valerio Setti
2024-03-25 09:38:05 +01:00
parent ac81e23c33
commit f9f63edbe4
+3 -3
View File
@@ -361,10 +361,10 @@ int mbedtls_pk_setup(mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info);
/**
* \brief Initialize a PK context to wrap a PSA key.
*
* This function helps creating a PK context which wraps a PSA key. The PSA wrapped
* key must be an EC or RSA key pair (DH is not suported in PK module).
* This function creates a PK context which wraps a PSA key. The PSA wrapped
* key must be an EC or RSA key pair (DH is not suported in the PK module).
*
* Under the hood PSA functions are used to perform the required
* Under the hood PSA functions will be used to perform the required
* operations and, based on the key type, used algorithms will be:
* * EC:
* * verify, verify_ext, sign, sign_ext: ECDSA.