X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=inc%2Fbearssl_rand.h;h=0a9f544fc4c58a82805d9b759eb6b21d8a001511;hp=e22d5d44a0b50fd4b2d95c7fe0bfb560c456f3d4;hb=8ef7680081c61b486622f2d983c0d3d21e83caad;hpb=fa0b7bbe90b4bf262d80c00b21bb37e9d1c75855;ds=inline diff --git a/inc/bearssl_rand.h b/inc/bearssl_rand.h index e22d5d4..0a9f544 100644 --- a/inc/bearssl_rand.h +++ b/inc/bearssl_rand.h @@ -29,6 +29,7 @@ #include #include "bearssl_block.h" +#include "bearssl_hash.h" #ifdef __cplusplus extern "C" { @@ -353,10 +354,10 @@ extern const br_prng_class br_aesctr_drbg_vtable; * * The `aesctr` parameter defines the underlying AES/CTR implementation. * - * \param ctx HMAC_DRBG context to initialise. - * \param digest_class vtable for the underlying hash function. - * \param seed initial seed (can be `NULL` if `seed_len` is zero). - * \param seed_len initial seed length (in bytes). + * \param ctx AESCTR_DRBG context to initialise. + * \param aesctr vtable for the AES/CTR implementation. + * \param seed initial seed (can be `NULL` if `seed_len` is zero). + * \param seed_len initial seed length (in bytes). */ void br_aesctr_drbg_init(br_aesctr_drbg_context *ctx, const br_block_ctr_class *aesctr, const void *seed, size_t seed_len);