diff options
author | Devulapally Shiva Krishna <shiva@chelsio.com> | 2020-05-05 08:42:55 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-20 10:25:11 +0200 |
commit | b7c15bdb12106bf3043bbc18ea9f78860f88be48 (patch) | |
tree | 06027aca37100b5e113b515a9e25df3968fed66a /arch | |
parent | 2de3b1d513e50b0b26dd90410842968118a6f46f (diff) |
Crypto/chcr: fix for ccm(aes) failed test
[ Upstream commit 10b0c75d7bc19606fa9a62c8ab9180e95c0e0385 ]
The ccm(aes) test fails when req->assoclen > ~240bytes.
The problem is the value assigned to auth_offset is wrong.
As auth_offset is unsigned char, it can take max value as 255.
So fix it by making it unsigned int.
Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: Devulapally Shiva Krishna <shiva@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions