crypto: inside-secure - Added support for HMAC-SM3 ahash

Added support for the hmac(sm3) ahash authentication algorithm

changes since v1:
- added Acked-by tag below, no changes to the source

changes since v2:
- nothing

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>
This commit is contained in:
Pascal van Leeuwen
2019-09-13 17:20:37 +02:00
committed by Herbert Xu
parent 0f2bc13181
commit aa3a43e6e4
3 changed files with 72 additions and 0 deletions

View File

@@ -1177,6 +1177,7 @@ static struct safexcel_alg_template *safexcel_algs[] = {
&safexcel_alg_chachapoly,
&safexcel_alg_chachapoly_esp,
&safexcel_alg_sm3,
&safexcel_alg_hmac_sm3,
};
static int safexcel_register_algorithms(struct safexcel_crypto_priv *priv)