summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/inside-secure/safexcel.h
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2018-03-19 09:21:19 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-30 19:32:47 +0200
commit4505bb02ec87f24e4704716ef5a55b233805157d (patch)
treec65059413a6df07eb4198cf78f9630309a081034 /drivers/crypto/inside-secure/safexcel.h
parentcrypto: inside-secure - improve the skcipher token (diff)
downloadlinux-4505bb02ec87f24e4704716ef5a55b233805157d.tar.xz
linux-4505bb02ec87f24e4704716ef5a55b233805157d.zip
crypto: inside-secure - the context ipad/opad should use the state sz
This patches uses the state size of the algorithms instead of their digest size to copy the ipad and opad in the context. This doesn't fix anything as the state and digest size are the same for many algorithms, and for all the hmac currently supported by this driver. However hmac(sha224) use the sha224 hash function which has a different digest and state size. This commit prepares the addition of such algorithms. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel.h')
0 files changed, 0 insertions, 0 deletions