commit | 059c5342812c448f21bed1881a75134320e9c8a2 | [log] [tgz] |
---|---|---|
author | Longfang Liu <liulongfang@huawei.com> | Sat Mar 27 18:28:30 2021 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Apr 02 18:28:14 2021 +1100 |
tree | 841a09f31048f17c4054bc6cc24471324aea9cb6 | |
parent | 0ae869926fab00b95709518d72cca2d50a29eccd [diff] |
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>