]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - make the context control size dynamic
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 14 May 2018 13:10:58 +0000 (15:10 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 26 May 2018 16:11:37 +0000 (00:11 +0800)
commit429547e614822fefee490ac0c5f02fe4407dc803
treec6d2294e1f6c2b848d00ece26b79a88055dc9856
parent945e8d628dc60accf993bafa47f4a482bdaa0263
crypto: inside-secure - make the context control size dynamic

This patch makes the context control size computation dynamic, not to
rely on hardcoded values. This is better for the future, and will help
adding the AEAD support.

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