]> 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)
commita1b522e4e44bb3c57c8fcf5006cfbd6f7a67f985
treec6d2294e1f6c2b848d00ece26b79a88055dc9856
parent559d264accc98f1b25e5eaca1a0e9ead9bc6b5e0
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