From 327da4774b040695e26be990c60a48000afb70f3 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Thu, 1 Aug 2024 18:21:13 +0100 Subject: [PATCH] Clarify key type support Signed-off-by: Paul Elliott --- tf-psa-crypto/include/psa/crypto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tf-psa-crypto/include/psa/crypto.h b/tf-psa-crypto/include/psa/crypto.h index 17a39c345e..e5c148dd87 100644 --- a/tf-psa-crypto/include/psa/crypto.h +++ b/tf-psa-crypto/include/psa/crypto.h @@ -5009,6 +5009,8 @@ uint32_t psa_key_agreement_iop_get_num_ops(psa_key_agreement_iop_t *operation); * The following conditions can result in this error: * * \p alg is not supported. * * \p private_key is not supported for use with \p alg. + * * Only elliptic curve Diffie-Hellman with ECC keys is supported, not + * finite field Diffie_hellman with DH keys. * * \retval #PSA_ERROR_INVALID_ARGUMENT \emptydescription * \retval #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription