From 58fe9e8afe3d9426a6cbbdea1c7a2efe9b5b4456 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 16 May 2019 18:01:45 +0200 Subject: [PATCH] Correct the description of psa_raw_key_agreement There was some copypasta from the KA+KDF function's description. --- include/psa/crypto.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 53babd46df..84026c91c8 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -3439,11 +3439,7 @@ psa_status_t psa_key_derivation_output_key( psa_status_t psa_key_derivation_abort( psa_key_derivation_operation_t *operation); -/** Perform a key agreement and use the shared secret as input to a key - * derivation. - * - * A key agreement algorithm takes two inputs: a private key \p private_key - * a public key \p peer_key. +/** Perform a key agreement and return the raw shared secret. * * \warning The raw result of a key agreement algorithm such as finite-field * Diffie-Hellman or elliptic curve Diffie-Hellman has biases and should