From 98f6f78a7082e061b328402dc378df0c3c40aeef Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Fri, 25 Mar 2022 15:36:07 +0100 Subject: [PATCH] Update mbedtls_pk_wrap_as_opaque() documentation for ECDH derivation usage Signed-off-by: Neil Armstrong --- include/mbedtls/pk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/mbedtls/pk.h b/include/mbedtls/pk.h index 324612a24..a0d469494 100644 --- a/include/mbedtls/pk.h +++ b/include/mbedtls/pk.h @@ -923,7 +923,8 @@ int mbedtls_pk_load_file( const char *path, unsigned char **buf, size_t *n ); * change or be removed at any time without notice. * * \note Only ECDSA keys are supported so far. Signing with the - * specified hash is the only allowed use of that key. + * specified hash & ECDH key agreement derivation operation + * are the only allowed use of that key. * * \param pk Input: the EC key to import to a PSA key. * Output: a PK context wrapping that PSA key.