mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Adapt documentation of mbedtls_ssl_conf_dh_param
to new moduli
This commit is contained in:
parent
de6c1644cc
commit
f8258e7d5a
@ -1702,7 +1702,7 @@ void mbedtls_ssl_conf_psk_cb( mbedtls_ssl_config *conf,
|
|||||||
/**
|
/**
|
||||||
* \brief Set the Diffie-Hellman public P and G values,
|
* \brief Set the Diffie-Hellman public P and G values,
|
||||||
* read as hexadecimal strings (server-side only)
|
* read as hexadecimal strings (server-side only)
|
||||||
* (Default: MBEDTLS_DHM_RFC5114_MODP_2048_[PG])
|
* (Default: mbedtls_dhm_rfc7919_ffdhe2048_[pg])
|
||||||
*
|
*
|
||||||
* \param conf SSL configuration
|
* \param conf SSL configuration
|
||||||
* \param dhm_P Diffie-Hellman-Merkle modulus
|
* \param dhm_P Diffie-Hellman-Merkle modulus
|
||||||
@ -1710,7 +1710,9 @@ void mbedtls_ssl_conf_psk_cb( mbedtls_ssl_config *conf,
|
|||||||
*
|
*
|
||||||
* \return 0 if successful
|
* \return 0 if successful
|
||||||
*/
|
*/
|
||||||
int mbedtls_ssl_conf_dh_param( mbedtls_ssl_config *conf, const char *dhm_P, const char *dhm_G );
|
int mbedtls_ssl_conf_dh_param( mbedtls_ssl_config *conf,
|
||||||
|
const char *dhm_P,
|
||||||
|
const char *dhm_G );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Set the Diffie-Hellman public P and G values,
|
* \brief Set the Diffie-Hellman public P and G values,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user