Re: [PATCH v2 0/6] General Key Derivation Function Support

From: Stephan Mueller
Date: Mon Jan 28 2019 - 05:08:01 EST


Am Mittwoch, 16. Januar 2019, 12:06:54 CET schrieb Stephan Müller:

Hi Herbert,

> Changes v2:
> * Incorporation of all comments from Eric Biggers
>
> Stephan Mueller (6):
> crypto: add template handling for RNGs
> crypto: kdf - SP800-108 Key Derivation Function
> crypto: kdf - add known answer tests
> crypto: hkdf - HMAC-based Extract-and-Expand KDF
> crypto: hkdf - add known answer tests
> crypto: tcrypt - add KDF test invocation
>
> crypto/Kconfig | 13 +
> crypto/Makefile | 2 +
> crypto/hkdf.c | 272 +++++++++++++++++++
> crypto/kdf_sp800108.c | 491 ++++++++++++++++++++++++++++++++++
> crypto/rng.c | 44 +++
> crypto/tcrypt.c | 8 +
> crypto/testmgr.c | 245 +++++++++++++++++
> crypto/testmgr.h | 198 ++++++++++++++
> include/crypto/internal/rng.h | 26 ++
> 9 files changed, 1299 insertions(+)
> create mode 100644 crypto/hkdf.c
> create mode 100644 crypto/kdf_sp800108.c

Do you happen to have any comments on this patch set?

Ciao
Stephan