mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 23:55:36 +00:00
Fix some doc comments
This commit is contained in:
parent
79afaa0551
commit
f6a17d0776
|
@ -191,8 +191,9 @@ int hmac_drbg_reseed( hmac_drbg_context *ctx,
|
||||||
* \param add_len Length of additional data (can be 0)
|
* \param add_len Length of additional data (can be 0)
|
||||||
*
|
*
|
||||||
* \return 0 if successful, or
|
* \return 0 if successful, or
|
||||||
* TODO: POLARSSL_ERR_HMAC_DRBG_ENTROPY_SOURCE_FAILED, or
|
* POLARSSL_ERR_HMAC_DRBG_ENTROPY_SOURCE_FAILED, or
|
||||||
* TODO: POLARSSL_ERR_HMAC_DRBG_REQUEST_TOO_BIG
|
* POLARSSL_ERR_HMAC_DRBG_REQUEST_TOO_BIG, or
|
||||||
|
* POLARSSL_ERR_HMAC_DRBG_INPUT_TOO_BIG.
|
||||||
*/
|
*/
|
||||||
int hmac_drbg_random_with_add( void *p_rng,
|
int hmac_drbg_random_with_add( void *p_rng,
|
||||||
unsigned char *output, size_t output_len,
|
unsigned char *output, size_t output_len,
|
||||||
|
@ -206,11 +207,11 @@ int hmac_drbg_random_with_add( void *p_rng,
|
||||||
*
|
*
|
||||||
* \param p_rng HMAC_DRBG context
|
* \param p_rng HMAC_DRBG context
|
||||||
* \param output Buffer to fill
|
* \param output Buffer to fill
|
||||||
* \param output_len Length of the buffer
|
* \param out_len Length of the buffer
|
||||||
*
|
*
|
||||||
* \return 0 if successful, or
|
* \return 0 if successful, or
|
||||||
* TODO: POLARSSL_ERR_HMAC_DRBG_ENTROPY_SOURCE_FAILED, or
|
* POLARSSL_ERR_HMAC_DRBG_ENTROPY_SOURCE_FAILED, or
|
||||||
* TODO: POLARSSL_ERR_HMAC_DRBG_REQUEST_TOO_BIG
|
* POLARSSL_ERR_HMAC_DRBG_REQUEST_TOO_BIG
|
||||||
*/
|
*/
|
||||||
int hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
|
int hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue