diff options
author | Antoine Ténart <antoine.tenart@free-electrons.com> | 2017-12-11 14:10:57 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-12-22 11:48:00 +0300 |
commit | 7cad2fabd5691dbb17762877d4e7f236fe4bc181 (patch) | |
tree | 8e95ed4374b2603865df65c1e5895fc50ee0c97d /arch/powerpc/sysdev/fsl_rmu.c | |
parent | 0a02dcca126280595950f3ea809f77c9cb0a235c (diff) | |
download | linux-7cad2fabd5691dbb17762877d4e7f236fe4bc181.tar.xz |
crypto: inside-secure - fix request allocations in invalidation path
This patch makes use of the SKCIPHER_REQUEST_ON_STACK and
AHASH_REQUEST_ON_STACK helpers to allocate enough memory to contain both
the crypto request structures and their embedded context (__ctx).
Fixes: 1b44c5a60c13 ("crypto: inside-secure - add SafeXcel EIP197 crypto engine driver")
Suggested-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_rmu.c')
0 files changed, 0 insertions, 0 deletions