diff options
author | Andrey Ryabinin <aryabinin@odin.com> | 2015-09-03 14:32:01 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-10-13 03:46:08 +0100 |
commit | 3af9b38d21e276dc168e229e6cde2a28cdadf328 (patch) | |
tree | 8e7e5093f6a6d1ec1af6f75580dba3c307050084 /fs/cifs/cifsfs.c | |
parent | a6706174cfe9fa100651b5012aec9796006a884b (diff) | |
download | lwn-3af9b38d21e276dc168e229e6cde2a28cdadf328.tar.gz lwn-3af9b38d21e276dc168e229e6cde2a28cdadf328.zip |
crypto: ghash-clmulni: specify context size for ghash async algorithm
commit 71c6da846be478a61556717ef1ee1cea91f5d6a8 upstream.
Currently context size (cra_ctxsize) doesn't specified for
ghash_async_alg. Which means it's zero. Thus crypto_create_tfm()
doesn't allocate needed space for ghash_async_ctx, so any
read/write to ctx (e.g. in ghash_async_init_tfm()) is not valid.
Signed-off-by: Andrey Ryabinin <aryabinin@odin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/cifs/cifsfs.c')
0 files changed, 0 insertions, 0 deletions