[PATCH 12/13] Implement GOST R 34.11-2012 (Streebog) hash function

2017-05-18 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- Makefile.in |6 +- examples/nettle-benchmark.c |3 +- hmac-streebog.c | 73 +++ hmac.h | 33 ++ nettle-meta-hashes.c|2 + nettle-meta.h |2 +

[PATCH 06/13] Add the rest of sboxes for GOST 28147

2017-05-18 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- gost28147.c | 1602 +++ gost28147.h | 13 + 2 files changed, 1615 insertions(+) diff --git a/gost28147.c b/gost28147.c index ff1aca59..d916276a 100644 --- a/gost28147.c +++

Re: TLS PRF + HKDF

2017-05-18 Thread Nikos Mavrogiannopoulos
On Tue, 2017-05-16 at 22:47 +0200, Niels Möller wrote: > >  and a comment in .bootstrap for the > > testsuite/.test-rules.make which I always seem to forget and spend > > an > > hour figuring out what is going on. Ideally .test-rules.make should > > depend on Makefile.in. > > Have you tested if

Request to support more KDFs

2017-05-18 Thread Gabriel Ivașcu
Dear Nettle developers, I see Nettle currently supports only some variations of PBKDF2 so I was wondering whether there could be added support for more KDFs [0]. In my particular case it would be nice to have support for HKDF [1]. HKDF is not complicated and I'm sure most of us can work with