linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add SHA-3 algorithm and test vectors.
@ 2016-06-17  5:00 Raveendra Padasalagi
  2016-06-17  5:00 ` [PATCH v2 1/2] Crypto: Add SHA-3 hash algorithm Raveendra Padasalagi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Raveendra Padasalagi @ 2016-06-17  5:00 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, linux-crypto, linux-kernel
  Cc: Jon Mason, Florian Fainelli, Anup Patel, Ray Jui, Scott Branden,
	Pramod Kumar, bcm-kernel-feedback-list, Raveendra Padasalagi

This patchset adds the implementation of SHA-3 algorithm
in software and it's based on original implementation
pushed in patch https://lwn.net/Articles/518415/ with
additional changes to match the padding rules specified
in SHA-3 specification.

This patchset also includes changes in tcrypt module to
add support for SHA-3 algorithms test and related test
vectors for basic testing.

Broadcom Secure Processing Unit-2(SPU-2) engine supports
offloading of SHA-3 operations in hardware, in order to
add SHA-3 support in SPU-2 driver we needed to have the
software implementation and test framework in place.

The patchset is based on v4.7-rc1 tag and its tested on
Broadcom NorthStar2 SoC.

The patch set can be fetched from iproc-sha3-v2 branch
of https://github.com/Broadcom/arm64-linux.git

Changes since v1:
 - Renamed MODULE_ALIAS to MODULE_ALIAS_CRYPTO
 - Added aliases for below cra_driver_name's
   sha3-224-generic
   sha3-256-generic
   sha3-384-generic
   sha3-512-generic

Jeff Garzik (1):
  Crypto: Add SHA-3 hash algorithm

Raveendra Padasalagi (1):
  Crypto: Add SHA-3 Test's in tcrypt

 crypto/Kconfig        |  10 ++
 crypto/Makefile       |   1 +
 crypto/sha3_generic.c | 300 ++++++++++++++++++++++++++++++++++++++++++++++++++
 crypto/tcrypt.c       |  53 ++++++++-
 crypto/testmgr.c      |  40 +++++++
 crypto/testmgr.h      | 125 +++++++++++++++++++++
 include/crypto/sha3.h |  29 +++++
 7 files changed, 557 insertions(+), 1 deletion(-)
 create mode 100644 crypto/sha3_generic.c
 create mode 100644 include/crypto/sha3.h

-- 
1.9.1

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

end of thread, other threads:[~2016-06-20 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17  5:00 [PATCH v2 0/2] Add SHA-3 algorithm and test vectors Raveendra Padasalagi
2016-06-17  5:00 ` [PATCH v2 1/2] Crypto: Add SHA-3 hash algorithm Raveendra Padasalagi
2016-06-17  5:00 ` [PATCH v2 2/2] Crypto: Add SHA-3 Test's in tcrypt Raveendra Padasalagi
2016-06-17  9:27 ` [PATCH v2 0/2] Add SHA-3 algorithm and test vectors Raveendra Padasalagi
2016-06-20 11:35 ` Herbert Xu

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).