commit | 10b0c75d7bc19606fa9a62c8ab9180e95c0e0385 | [log] [tgz] |
---|---|---|
author | Devulapally Shiva Krishna <shiva@chelsio.com> | Tue May 05 08:42:55 2020 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed May 06 17:44:11 2020 -0700 |
tree | be1e8e90233f1e7d62618186233d580b26cab68c | |
parent | 6b363a286cd01961423f5dcd648b265088ec56d0 [diff] |
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>