Home
last modified time | relevance | path

Searched hist:"059 c5342" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c059c5342 Sat Mar 27 05:28:30 CDT 2021 Longfang Liu <liulongfang@huawei.com> crypto: hisilicon/sec - Fixes AES algorithm mode parameter problem

The input data of the ECB (AES) algorithm needs to be aligned
with 16 bytes, and the input data of the XTS (AES) algorithm is
at least 16 bytes. Otherwise the SEC hardware will go wrong.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>