diff options
author | Andrey Ryabinin <aryabinin@odin.com> | 2015-09-03 14:32:01 +0300 |
---|---|---|
committer | Zefan Li <lizefan@huawei.com> | 2016-04-27 13:55:17 +0300 |
commit | 7646c507f1ad8bd14a3196f84b0eabb229dafb75 (patch) | |
tree | 4dd5b89464b4416811ae1231823b2b76b1463a2e /fs/cifs | |
parent | 7ac8dba7a19bd98ce6839f7d980464bbc6abd996 (diff) | |
download | linux-7646c507f1ad8bd14a3196f84b0eabb229dafb75.tar.xz |
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: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'fs/cifs')
0 files changed, 0 insertions, 0 deletions