diff options
author | Devulapally Shiva Krishna <shiva@chelsio.com> | 2020-05-05 05:12:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-07 02:44:11 +0200 |
commit | 10b0c75d7bc19606fa9a62c8ab9180e95c0e0385 (patch) | |
tree | be1e8e90233f1e7d62618186233d580b26cab68c /Documentation/locking | |
parent | Crypto/chcr: fix ctr, cbc, xts and rfc3686-ctr failed tests (diff) | |
download | linux-10b0c75d7bc19606fa9a62c8ab9180e95c0e0385.tar.xz linux-10b0c75d7bc19606fa9a62c8ab9180e95c0e0385.zip |
Crypto/chcr: fix for ccm(aes) failed test
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>
Diffstat (limited to 'Documentation/locking')
0 files changed, 0 insertions, 0 deletions