From 2e37c0dc5dbf91af8fc6e1ddb651fb7086b1f954 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 5 Mar 2019 19:32:02 +0100 Subject: [PATCH] Fix leftover occurrences of "key selection algorithm" --- include/psa/crypto_values.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index e0cc5446f..0b40c5fd3 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -1342,8 +1342,7 @@ /** The finite-field Diffie-Hellman (DH) key agreement algorithm. * - * The shared secret produced by key agreement and passed as input to the - * derivation or selection algorithm \p kdf_alg is the shared secret + * The shared secret produced by key agreement is * `g^{ab}` in big-endian format. * It is `ceiling(m / 8)` bytes long where `m` is the size of the prime `p` * in bits. @@ -1352,8 +1351,9 @@ /** Whether the specified algorithm is a finite field Diffie-Hellman algorithm. * - * This includes every supported key selection or key agreement algorithm - * for the output of the Diffie-Hellman calculation. + * This includes the raw finite field Diffie-Hellman algorithm as well as + * finite-field Diffie-Hellman followed by any supporter key derivation + * algorithm. * * \param alg An algorithm identifier (value of type #psa_algorithm_t). * @@ -1394,8 +1394,9 @@ /** Whether the specified algorithm is an elliptic curve Diffie-Hellman * algorithm. * - * This includes every supported key selection or key agreement algorithm - * for the output of the Diffie-Hellman calculation. + * This includes the raw elliptic curve Diffie-Hellman algorithm as well as + * elliptic curve Diffie-Hellman followed by any supporter key derivation + * algorithm. * * \param alg An algorithm identifier (value of type #psa_algorithm_t). *