mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Add hmac_drbg_set_entropy_len()
This commit is contained in:
parent
6801f39397
commit
4e669c614d
2 changed files with 19 additions and 1 deletions
|
|
@ -156,6 +156,14 @@ int hmac_drbg_init( hmac_drbg_context *ctx,
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
/*
|
||||
* Set entropy length grabbed for reseeds
|
||||
*/
|
||||
void hmac_drbg_set_entropy_len( hmac_drbg_context *ctx, size_t len )
|
||||
{
|
||||
ctx->entropy_len = len;
|
||||
}
|
||||
|
||||
/*
|
||||
* HMAC_DRBG random function with optional additional data (10.1.2.5)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue