Correct the description of psa_raw_key_agreement

There was some copypasta from the KA+KDF function's description.
This commit is contained in:
Gilles Peskine 2019-05-16 18:01:45 +02:00
parent be697d8324
commit 58fe9e8afe

View file

@ -3439,11 +3439,7 @@ psa_status_t psa_key_derivation_output_key(
psa_status_t psa_key_derivation_abort( psa_status_t psa_key_derivation_abort(
psa_key_derivation_operation_t *operation); psa_key_derivation_operation_t *operation);
/** Perform a key agreement and use the shared secret as input to a key /** Perform a key agreement and return the raw shared secret.
* derivation.
*
* A key agreement algorithm takes two inputs: a private key \p private_key
* a public key \p peer_key.
* *
* \warning The raw result of a key agreement algorithm such as finite-field * \warning The raw result of a key agreement algorithm such as finite-field
* Diffie-Hellman or elliptic curve Diffie-Hellman has biases and should * Diffie-Hellman or elliptic curve Diffie-Hellman has biases and should