RE: [PATCH 0/2] Add SHA-3 algorithm and test vectors.
From: Raveendra Padasalagi <hidden>
Date: 2016-06-15 10:57:16
Also in:
lkml
The patch set can be fetched from iproc-sha3-v1 branch of https://github.com/Broadcom/arm64-linux.git Regards, Raveendra
-----Original Message----- From: Raveendra Padasalagi [mailto:raveendra.padasalagi@broadcom.com] Sent: 15 June 2016 15:20 To: 'Herbert Xu'; 'David S. Miller'; 'linux-crypto@vger.kernel.org';
'linux-
kernel@vger.kernel.org'; 'Jeff Garzik'; 'Jeff Garzik' Cc: 'Jon Mason'; 'Florian Fainelli'; Anup Patel; 'Ray Jui'; 'Scott
Branden'; Pramod
Kumar; 'bcm-kernel-feedback-list@broadcom.com' Subject: RE: [PATCH 0/2] Add SHA-3 algorithm and test vectors. Forgot to add Jeff Garzik in the email list. ++ Jeff Garzik. Regards, Raveendraquoted
-----Original Message----- From: Raveendra Padasalagi [mailto:raveendra.padasalagi@broadcom.com] Sent: 15 June 2016 15:12 To: Herbert Xu; David S. Miller; linux-crypto@vger.kernel.org; linux- kernel@vger.kernel.org Cc: Jon Mason; Florian Fainelli; Anup Patel; Ray Jui; Scott Branden; Pramod Kumar; bcm-kernel-feedback-list@broadcom.com; Raveendra Padasalagi Subject: [PATCH 0/2] Add SHA-3 algorithm and test vectors. 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.quoted
The patchset is based on v4.7-rc1 tag and its tested on Broadcom NorthStar2 SoC. 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 | 296 ++++++++++++++++++++++++++++++++++++++++++++++++++ crypto/tcrypt.c | 53 ++++++++- crypto/testmgr.c | 40 +++++++ crypto/testmgr.h | 125 +++++++++++++++++++++ include/crypto/sha3.h | 29 +++++ 7 files changed, 553 insertions(+), 1 deletion(-) create mode 100644 crypto/sha3_generic.c create mode 100644 include/crypto/sha3.h -- 1.9.1