mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 20:16:57 +00:00
Give "DH" and "DHM" as alternative names
Be consistent about calling it just "Diffie-Hellman", except once where I state that "Diffie-Hellman-Merkle" is an alternative name.
This commit is contained in:
parent
1d7c082124
commit
2607bca666
|
@ -1222,8 +1222,9 @@ typedef uint32_t psa_algorithm_t;
|
||||||
#define PSA_ALG_FFDH_BASE ((psa_algorithm_t)0x22100000)
|
#define PSA_ALG_FFDH_BASE ((psa_algorithm_t)0x22100000)
|
||||||
/** The Diffie-Hellman key agreement algorithm.
|
/** The Diffie-Hellman key agreement algorithm.
|
||||||
*
|
*
|
||||||
* This algorithm combines the finite-field Diffie-Hellman-Merkle key
|
* This algorithm combines the finite-field Diffie-Hellman (DH) key
|
||||||
* agreement to produce a shared secret from a private key and the peer's
|
* agreement, also known as Diffie-Hellman-Merkle (DHM) key agreement,
|
||||||
|
* to produce a shared secret from a private key and the peer's
|
||||||
* public key, with a key selection or key derivation algorithm to produce
|
* public key, with a key selection or key derivation algorithm to produce
|
||||||
* one or more shared keys and other shared cryptographic material.
|
* one or more shared keys and other shared cryptographic material.
|
||||||
*
|
*
|
||||||
|
@ -1252,7 +1253,7 @@ typedef uint32_t psa_algorithm_t;
|
||||||
(PSA_ALG_KEY_AGREEMENT_GET_BASE(alg) == PSA_ALG_FFDH_BASE)
|
(PSA_ALG_KEY_AGREEMENT_GET_BASE(alg) == PSA_ALG_FFDH_BASE)
|
||||||
|
|
||||||
#define PSA_ALG_ECDH_BASE ((psa_algorithm_t)0x22200000)
|
#define PSA_ALG_ECDH_BASE ((psa_algorithm_t)0x22200000)
|
||||||
/** The elliptic curve Diffie-Hellman key agreement algorithm.
|
/** The elliptic curve Diffie-Hellman (ECDH) key agreement algorithm.
|
||||||
*
|
*
|
||||||
* This algorithm combines the elliptic curve Diffie-Hellman key
|
* This algorithm combines the elliptic curve Diffie-Hellman key
|
||||||
* agreement to produce a shared secret from a private key and the peer's
|
* agreement to produce a shared secret from a private key and the peer's
|
||||||
|
|
Loading…
Reference in a new issue