Improve documentation of mbedtls_dhm_make_params
This commit is contained in:
parent
a2f6b72cbb
commit
70da2c545b
1 changed files with 5 additions and 3 deletions
|
@ -211,9 +211,11 @@ int mbedtls_dhm_read_params( mbedtls_dhm_context *ctx,
|
|||
* \param p_rng RNG parameter
|
||||
*
|
||||
* \note The destination buffer must be large enough to hold
|
||||
* the modulus, the generator, and the public key, each
|
||||
* wrapped with a 2-byte length field. It is the responsibility
|
||||
* of the caller to ensure that enough space is available.
|
||||
* the reduced binary presentation of the modulus, the generator
|
||||
* and the public key, each wrapped with a 2-byte length field.
|
||||
* 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
|
||||
* have already been properly set (for example
|
||||
|
|
Loading…
Reference in a new issue