mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Add hmac_drbg_set_entropy_len()
This commit is contained in:
@ -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)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user