diff options
| author | Andrey Ryabinin <aryabinin@odin.com> | 2015-09-03 14:32:01 +0300 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-09-29 16:44:46 +0100 |
| commit | 4832f8c1d634e8edbb2a58aff6b505aeff53b832 (patch) | |
| tree | 0e58cbc2f5f722b3e8bd29275aefbe9ed442fdde /security | |
| parent | ed13441cce469a54d78b897ce169e4895870086c (diff) | |
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: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
