OSDN Git Service

crypto: inside-secure - add support for HMAC updates
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 27 May 2019 14:51:04 +0000 (16:51 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Jun 2019 06:38:56 +0000 (14:38 +0800)
commit082ec2d48467b61aa89783e954645ec441714c4e
treec156852b9c23ba343a24614f6ccc5469b6d744c3
parent57660b11d5adbb18182e9388b83b7fb214c4e1a1
crypto: inside-secure - add support for HMAC updates

This patch adds support for HMAC updates in the Inside Secure SafeXcel
crypto engine driver. Updates were supported for hash algorithms, but
were never enabled for HMAC ones. This fixes boot time test issues.

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