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)
commit0f2bc13181ce22d365929176a3d3d47fb857c202
treecad099807e71c0f6c111bf1049d98be46905dde2
parentfc0f82b179d31d1fe4ab8325059a460e4236ed14
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