Skip to content

General Key Derivation Function Support

Stephan Müller keyrings linux-crypto linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 8 repliesIn review
  2. v16 patches 14 repliesSuperseded

Changes in v2 from the cover letter

* Incorporation of all comments from Eric Biggers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6crypto: add template handling for RNGscrypto/rng.c include/crypto/internal/rng.h+70 -00 replies
2/6crypto: kdf - SP800-108 Key Derivation Functioncrypto/Kconfig crypto/Makefile crypto/kdf_sp800108.c+499 -00 replies
3/6crypto: kdf - add known answer testscrypto/testmgr.c crypto/testmgr.h+326 -00 replies
4/6crypto: hkdf - HMAC-based Extract-and-Expand KDFcrypto/Kconfig crypto/Makefile crypto/hkdf.c+279 -00 replies
5/6crypto: hkdf - add known answer testscrypto/testmgr.c crypto/testmgr.h+117 -00 replies
6/6crypto: tcrypt - add KDF test invocationcrypto/tcrypt.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] General Key Derivation Function Support

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
Signature · 1 line
2.20.1