mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-29 19:32:53 +00:00
Improve documentation of mbedtls_dhm_make_params
This commit is contained in:
parent
a2f6b72cbb
commit
70da2c545b
|
@ -211,9 +211,11 @@ int mbedtls_dhm_read_params( mbedtls_dhm_context *ctx,
|
||||||
* \param p_rng RNG parameter
|
* \param p_rng RNG parameter
|
||||||
*
|
*
|
||||||
* \note The destination buffer must be large enough to hold
|
* \note The destination buffer must be large enough to hold
|
||||||
* the modulus, the generator, and the public key, each
|
* the reduced binary presentation of the modulus, the generator
|
||||||
* wrapped with a 2-byte length field. It is the responsibility
|
* and the public key, each wrapped with a 2-byte length field.
|
||||||
* of the caller to ensure that enough space is available.
|
* It is the responsibility of the caller to ensure that enough
|
||||||
|
* space is available. Refer to \c mbedtls_mpi_size to computing
|
||||||
|
* the byte-size of an MPI.
|
||||||
*
|
*
|
||||||
* \note This function assumes that ctx->P and ctx->G
|
* \note This function assumes that ctx->P and ctx->G
|
||||||
* have already been properly set (for example
|
* have already been properly set (for example
|
||||||
|
|
Loading…
Reference in a new issue