diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2019-04-18 16:39:02 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-25 15:38:15 +0800 |
commit | f3df82b468f00cca241d96ee3697c9a5e7fb6bd0 (patch) | |
tree | 812b2022d64e0cf141f4fe665a69f69ee039d476 /lib/kfifo.c | |
parent | 05c292afb0c0545c0cf084172db13e544eeb8f56 (diff) |
crypto: ccree - use correct internal state sizes for export
We were computing the size of the import buffer based on the digest size
but the 318 and 224 byte variants use 512 and 256 bytes internal state
sizes respectfully, thus causing the import buffer to overrun.
Fix it by using the right sizes.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/kfifo.c')
0 files changed, 0 insertions, 0 deletions