]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - Added support for basic SM3 ahash
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 13 Sep 2019 15:20:36 +0000 (17:20 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:03 +0000 (01:06 +1000)
commit1ddf2d12bcde68d86023019ef9d0f50e657f1509
treecad099807e71c0f6c111bf1049d98be46905dde2
parentfaeeae92cc8f277c05cb5203ee3fb3adc1bb8f51
crypto: inside-secure - Added support for basic SM3 ahash

Added support for the SM3 ahash algorithm

changes since v1:
- moved definition of CONTEXT_CONTROL_CRYPTO_ALG_SM3 (0x7) up above 0xf

changes since v2:
- allow compilation if CONFIG_CRYPTO_SM3 is not set

Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_hash.c