linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2]  BLAKE2b generic implementation
@ 2019-10-14  9:16 David Sterba
  2019-10-14  9:16 ` [PATCH v5 1/2] crypto: add blake2b " David Sterba
  2019-10-14  9:16 ` [PATCH v5 2/2] crypto: add test vectors for blake2b David Sterba
  0 siblings, 2 replies; 6+ messages in thread
From: David Sterba @ 2019-10-14  9:16 UTC (permalink / raw)
  To: linux-crypto; +Cc: ebiggers, ard.biesheuvel, David Sterba

The patchset adds blake2b refrerence implementation and test vectors.

V5:

- removed return 0 and switched to void in blake2 functions
- reordered shash_alg definition so that .base.* are first (this seems
  to be the preferred ordering from what I saw in recent patches in the
  mailinglist)
- added note to blake2b_generic.c about changes made for kernel
  inclusion
- test vectors reworked so that key length and input length are
  distributed over all digest sizes

Tested on x86_64 with KASAN and SLUB_DEBUG.

V1: https://lore.kernel.org/linux-crypto/cover.1569849051.git.dsterba@suse.com/
V2: https://lore.kernel.org/linux-crypto/e31c2030fcfa7f409b2c81adf8f179a8a55a584a.1570184333.git.dsterba@suse.com/
V3: https://lore.kernel.org/linux-crypto/e7f46def436c2c705c0b2cac3324f817efa4717d.1570715842.git.dsterba@suse.com/
V4: https://lore.kernel.org/linux-crypto/cover.1570812094.git.dsterba@suse.com/

David Sterba (2):
  crypto: add blake2b generic implementation
  crypto: add test vectors for blake2b

 crypto/Kconfig           |  17 +
 crypto/Makefile          |   1 +
 crypto/blake2b_generic.c | 413 ++++++++++++++++++++++
 crypto/testmgr.c         |  28 ++
 crypto/testmgr.h         | 719 +++++++++++++++++++++++++++++++++++++++
 include/crypto/blake2b.h |  46 +++
 6 files changed, 1224 insertions(+)
 create mode 100644 crypto/blake2b_generic.c
 create mode 100644 include/crypto/blake2b.h

-- 
2.23.0


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

end of thread, other threads:[~2019-10-21 12:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14  9:16 [PATCH v5 0/2] BLAKE2b generic implementation David Sterba
2019-10-14  9:16 ` [PATCH v5 1/2] crypto: add blake2b " David Sterba
2019-10-14  9:16 ` [PATCH v5 2/2] crypto: add test vectors for blake2b David Sterba
2019-10-17 10:22   ` Ard Biesheuvel
2019-10-18 13:00     ` David Sterba
2019-10-21 12:04       ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).