aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorValerio Setti <valerio.setti@nordicsemi.no>2024-04-04 09:39:12 +0200
committerValerio Setti <valerio.setti@nordicsemi.no>2024-04-04 09:39:12 +0200
commit1c7f5dea8b9442e14d907dc81c014d675c054478 (patch)
tree09a757d7cc7c41c0ef974f9d2a92de781d1f83d8 /include
parentf9f63edbe4fb3f5c239a78153041ddfee057f397 (diff)
downloadmbedtls-1c7f5dea8b9442e14d907dc81c014d675c054478.zip
mbedtls-1c7f5dea8b9442e14d907dc81c014d675c054478.tar.gz
mbedtls-1c7f5dea8b9442e14d907dc81c014d675c054478.tar.bz2
pk: fix documentation of mbedtls_pk_setup_opaque()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
Diffstat (limited to 'include')
-rw-r--r--include/mbedtls/pk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbedtls/pk.h b/include/mbedtls/pk.h
index a239270..52f4cc6 100644
--- a/include/mbedtls/pk.h
+++ b/include/mbedtls/pk.h
@@ -390,7 +390,8 @@ int mbedtls_pk_setup(mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info);
* \return \c 0 on success.
* \return #MBEDTLS_ERR_PK_BAD_INPUT_DATA on invalid input (context already
* used, invalid key identifier).
- * \return #MBEDTLS_ERR_PK_FEATURE_UNAVAILABLE if the key is not an ECC key pair.
+ * \return #MBEDTLS_ERR_PK_FEATURE_UNAVAILABLE if the key is not an ECC or
+ * RSA key pair.
* \return #MBEDTLS_ERR_PK_ALLOC_FAILED on allocation failure.
*/
int mbedtls_pk_setup_opaque(mbedtls_pk_context *ctx,