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)
commitfef0cfe577e9c8c75ba574d669eec55ac6ab0bad
treec6d2294e1f6c2b848d00ece26b79a88055dc9856
parent3a5ca230bbb64b5a6330559671bd67cfd8b4a170
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