Update mbedtls_pk_wrap_as_opaque() documentation for ECDH derivation usage

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-03-25 15:36:07 +01:00
parent b7b549aa71
commit 98f6f78a70

View file

@ -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.