Add ctr_drbg_free()

This commit is contained in:
Paul Bakker 2014-06-18 16:21:25 +02:00
parent 14e8be4d33
commit fff0366bba
2 changed files with 21 additions and 0 deletions

View file

@ -130,6 +130,13 @@ int ctr_drbg_init( ctr_drbg_context *ctx,
const unsigned char *custom,
size_t len );
/**
* \brief Clear CTR_CRBG context data
*
* \param ctx CTR_DRBG context to clear
*/
void ctr_drbg_free( ctr_drbg_context *ctx );
/**
* \brief Enable / disable prediction resistance (Default: Off)
*