Message ID | 1568388038-1268-1-git-send-email-pvanleeuwen@verimatrix.com (mailing list archive) |
---|---|
Headers | show |
Series | crypto: inside-secure - Add support for (HMAC) SM3 | expand |
On Fri, Sep 13, 2019 at 05:20:35PM +0200, Pascal van Leeuwen wrote: > Extend driver support with sm3 and hmac(sm3) ahash support. > Also add GM/T 0042-2015 hmac(sm3) testvectors to the testmgr. > The patchset has been tested with the eip197c_iewxkbc configuration > on the Xilinx VCU118 development board, including the crypto extra tests. > > Note that this patchset applies on top of the earlier submitted > "Add support for the Chacha20 kcipher and the Chacha20-Poly..." series. > > changes since v1: > - incorporated feedback by Antoine Tenart, see individual patches for > details > > changes since v2: > - allow compilation if CONFIG_CRYPTO_SM3 is not set > > Pascal van Leeuwen (3): > crypto: inside-secure - Added support for basic SM3 ahash > crypto: inside-secure - Added support for HMAC-SM3 ahash > crypto: testmgr - Added testvectors for the hmac(sm3) ahash > > crypto/testmgr.c | 6 ++ > crypto/testmgr.h | 56 +++++++++++ > drivers/crypto/inside-secure/safexcel.c | 2 + > drivers/crypto/inside-secure/safexcel.h | 9 ++ > drivers/crypto/inside-secure/safexcel_hash.c | 134 +++++++++++++++++++++++++++ > 5 files changed, 207 insertions(+) All applied. Thanks.