Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH v4 0/3] SP800-38F / RFC3394 key wrapping
@ 2015-10-15  7:05 Stephan Mueller
  2015-10-15  7:06 ` [PATCH v4 1/3] crypto: add key wrapping block chaining mode Stephan Mueller
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Stephan Mueller @ 2015-10-15  7:05 UTC (permalink / raw)
  To: herbert; +Cc: boris.brezillon, linux-crypto

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

-- 
2.5.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-15 13:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15  7:05 [PATCH v4 0/3] SP800-38F / RFC3394 key wrapping Stephan Mueller
2015-10-15  7:06 ` [PATCH v4 1/3] crypto: add key wrapping block chaining mode Stephan Mueller
2015-10-15  7:06 ` [PATCH v4 2/3] crypto: keywrap - enable compilation Stephan Mueller
2015-10-15  7:07 ` [PATCH v4 3/3] crypto: keywrap - add testmgr support Stephan Mueller
2015-10-15  7:11   ` Herbert Xu
2015-10-15  7:13     ` Stephan Mueller
2015-10-15  7:17       ` Herbert Xu
2015-10-15 10:10         ` Stephan Mueller
2015-10-15 10:17           ` Herbert Xu
2015-10-15 13:20 ` [PATCH v4 0/3] SP800-38F / RFC3394 key wrapping Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox