Re: [PATCH] Add benchmarking for HMAC functions

2018-07-30 Thread Niels Möller
Dmitry Eremin-Solenikov writes: > In preparation of changing internal HMAC interface add benchmarking for > HMAC functions. > > Signed-off-by: Dmitry Eremin-Solenikov Thanks, applied. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject

Re: [RFC 3/4] md5: split context into compress and block states

2018-07-30 Thread Niels Möller
Dmitry Eremin-Solenikov writes: > --- a/md5.c > +++ b/md5.c > @@ -56,19 +56,19 @@ md5_init(struct md5_ctx *ctx) >0x98badcfe, >0x10325476, > }; > - memcpy(ctx->state, iv, sizeof(ctx->state)); > - ctx->count = 0; > + memcpy(ctx->state.state, iv, sizeof(ctx->state.state)); >