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)
commit5e340558c5c7f64504ef1f4d31af152f26705261
treed23651856918190fbc1aeb13efce207c3a2c560c
parente764d81d58070e66e61fb1b972c81eb9d2ea971e
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