Fix leftover occurrences of "key selection algorithm"

This commit is contained in:
Gilles Peskine 2019-03-05 19:32:02 +01:00
parent 270420b18f
commit 2e37c0dc5d

View File

@ -1342,8 +1342,7 @@
/** The finite-field Diffie-Hellman (DH) key agreement algorithm. /** The finite-field Diffie-Hellman (DH) key agreement algorithm.
* *
* The shared secret produced by key agreement and passed as input to the * The shared secret produced by key agreement is
* derivation or selection algorithm \p kdf_alg is the shared secret
* `g^{ab}` in big-endian format. * `g^{ab}` in big-endian format.
* It is `ceiling(m / 8)` bytes long where `m` is the size of the prime `p` * It is `ceiling(m / 8)` bytes long where `m` is the size of the prime `p`
* in bits. * in bits.
@ -1352,8 +1351,9 @@
/** Whether the specified algorithm is a finite field Diffie-Hellman algorithm. /** Whether the specified algorithm is a finite field Diffie-Hellman algorithm.
* *
* This includes every supported key selection or key agreement algorithm * This includes the raw finite field Diffie-Hellman algorithm as well as
* for the output of the Diffie-Hellman calculation. * finite-field Diffie-Hellman followed by any supporter key derivation
* algorithm.
* *
* \param alg An algorithm identifier (value of type #psa_algorithm_t). * \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 /** Whether the specified algorithm is an elliptic curve Diffie-Hellman
* algorithm. * algorithm.
* *
* This includes every supported key selection or key agreement algorithm * This includes the raw elliptic curve Diffie-Hellman algorithm as well as
* for the output of the Diffie-Hellman calculation. * elliptic curve Diffie-Hellman followed by any supporter key derivation
* algorithm.
* *
* \param alg An algorithm identifier (value of type #psa_algorithm_t). * \param alg An algorithm identifier (value of type #psa_algorithm_t).
* *