Skip to content

SP800-38F / RFC3394 key wrapping

Stephan Mueller linux-crypto 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 6 repliesIn review
  2. v33 patches 5 repliesSuperseded
  3. v21 patch 10 repliesSuperseded

Changes in v4 from the cover letter

* make patch 3/3 standalone by incorporating and updating patch
https://lkml.org/lkml/2015/6/16/342

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3crypto: add key wrapping block chaining modecrypto/keywrap.c+419 -00 replies
2/3crypto: keywrap - enable compilationcrypto/Kconfig crypto/Makefile+8 -00 replies
3/3crypto: keywrap - add testmgr supportcrypto/testmgr.c crypto/testmgr.h+68 -15 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/3] SP800-38F / RFC3394 key wrapping

Hi,

Changes v4:
* make patch 3/3 standalone by incorporating and updating patch
https://lkml.org/lkml/2015/6/16/342

Changes v3:
* split patch for easier review
* add support for full SGL handling in decrypt by adding a "fast-forward" function
* significant simplification of code and removal of one memcpy per round
* use of scatterwalk API throughout code and removal of self-written code
* perform a full CAVS test with all AES implementations available on X86 (C, assembler and AES-NI)

Changes v2:
* Turn kw() into a blkcipher as suggested by Herbert Xu.
* Drop the support for user provided IV to initialize encrypt or for performing the verify step during decrypt.

Stephan Mueller (3):
crypto: add key wrapping block chaining mode
crypto: keywrap - enable compilation
crypto: keywrap - add testmgr support

 crypto/Kconfig   |   7 +
 crypto/Makefile  |   1 +
 crypto/keywrap.c | 419 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 crypto/testmgr.c |  28 +++-
 crypto/testmgr.h |  41 ++++++
 5 files changed, 495 insertions(+), 1 deletion(-)
 create mode 100644 crypto/keywrap.c
Signature · 1 line
2.5.0