]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/sec - fix the max length of AAD for the CCM mode
authorKai Ye <yekai13@huawei.com>
Sat, 22 Jan 2022 08:13:10 +0000 (16:13 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 31 Jan 2022 00:21:45 +0000 (11:21 +1100)
commit5945e2493536f2b5e207b33bbbf9217b501f528e
treed23651856918190fbc1aeb13efce207c3a2c560c
parentf2bf8dc7e8079bae80b5deac90f248b2a2669828
crypto: hisilicon/sec - fix the max length of AAD for the CCM mode

Fix the maximum length of AAD for the CCM mode due to the hardware limited.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_crypto.c