linux/drivers/crypto/inside-secure
Antoine Ténart 42ef3bedf3 crypto: inside-secure - fix invalidation check in hmac_sha1_setkey
The safexcel_hmac_sha1_setkey function checks if an invalidation command
should be issued, i.e. when the context ipad/opad change. This checks is
done after filling the ipad/opad which and it can't be true. The patch
fixes this by moving the check before the ipad/opad memcpy operations.

Fixes: 1b44c5a60c ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-08-03 13:36:10 +08:00
..
Makefile
safexcel_cipher.c crypto: inside-secure - use one queue per hw ring 2017-06-20 11:21:45 +08:00
safexcel_hash.c crypto: inside-secure - fix invalidation check in hmac_sha1_setkey 2017-08-03 13:36:10 +08:00
safexcel_ring.c crypto: inside-secure - use the base_end pointer in ring rollback 2017-06-20 11:21:48 +08:00
safexcel.c crypto: inside-secure - do not parse the dma mask from dt 2017-07-18 17:01:01 +08:00
safexcel.h crypto: inside-secure - increase the batch size 2017-06-20 11:21:47 +08:00