mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 17:05:32 +00:00
Correct the description of psa_raw_key_agreement
There was some copypasta from the KA+KDF function's description.
This commit is contained in:
parent
be697d8324
commit
58fe9e8afe
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue