More Doxygen-compatible documentation. Also unified two identical structures.

This commit is contained in:
Thomas Pornin 2016-11-19 19:05:08 +01:00
parent 60126cafc8
commit e683ebfe19
8 changed files with 568 additions and 320 deletions

View file

@ -57,7 +57,7 @@ void
br_hmac_key_init(br_hmac_key_context *kc,
const br_hash_class *dig, const void *key, size_t key_len)
{
br_hmac_allhash_context hc;
br_hash_compat_context hc;
unsigned char kbuf[64];
kc->dig_vtable = dig;
@ -105,7 +105,7 @@ size_t
br_hmac_out(const br_hmac_context *ctx, void *out)
{
const br_hash_class *dig;
br_hmac_allhash_context hc;
br_hash_compat_context hc;
unsigned char tmp[64];
size_t blen, hlen;

View file

@ -63,7 +63,7 @@ br_hmac_outCT(const br_hmac_context *ctx,
*/
const br_hash_class *dig;
br_hmac_allhash_context hc;
br_hash_compat_context hc;
int be;
uint32_t po, bs;
uint32_t kr, km, kl, kz, u;