summaryrefslogtreecommitdiff
path: root/drivers/s390/crypto/zcrypt_error.h
diff options
context:
space:
mode:
authorAntoine Ténart <antoine.tenart@free-electrons.com>2017-12-11 12:10:57 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-12-22 19:48:00 +1100
commit7cad2fabd5691dbb17762877d4e7f236fe4bc181 (patch)
tree8e95ed4374b2603865df65c1e5895fc50ee0c97d /drivers/s390/crypto/zcrypt_error.h
parent0a02dcca126280595950f3ea809f77c9cb0a235c (diff)
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 'drivers/s390/crypto/zcrypt_error.h')
0 files changed, 0 insertions, 0 deletions