Skip to content

Commit 0129a04

Browse files
Correct the description of psa_raw_key_agreement
There was some copypasta from the KA+KDF function's description.
1 parent e9ec931 commit 0129a04

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

include/psa/crypto.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3439,11 +3439,7 @@ psa_status_t psa_key_derivation_output_key(
34393439
psa_status_t psa_key_derivation_abort(
34403440
psa_key_derivation_operation_t *operation);
34413441

3442-
/** Perform a key agreement and use the shared secret as input to a key
3443-
* derivation.
3444-
*
3445-
* A key agreement algorithm takes two inputs: a private key \p private_key
3446-
* a public key \p peer_key.
3442+
/** Perform a key agreement and return the raw shared secret.
34473443
*
34483444
* \warning The raw result of a key agreement algorithm such as finite-field
34493445
* Diffie-Hellman or elliptic curve Diffie-Hellman has biases and should

0 commit comments

Comments
 (0)