summaryrefslogtreecommitdiff
path: root/drivers/crypto/hisilicon/sec2/sec_crypto.h
diff options
context:
space:
mode:
authorKai Ye <yekai13@huawei.com>2021-06-04 09:31:28 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-06-11 15:03:30 +0800
commit668f1ab70378d836a9df0cc01abf21c40c4d9348 (patch)
treeda25e07d8c5bc277f4c581a53a1fa18323c410ca /drivers/crypto/hisilicon/sec2/sec_crypto.h
parent6c46a3297beae4ae2d22b26da5e091f058381c7c (diff)
crypto: hisilicon/sec - add hardware integrity check value process
Use hardware integrity check value process instead of soft verify process when doing aead decryption. Signed-off-by: Kai Ye <yekai13@huawei.com> Signed-off-by: Longfang Liu <liulongfang@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/sec2/sec_crypto.h')
-rw-r--r--drivers/crypto/hisilicon/sec2/sec_crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.h b/drivers/crypto/hisilicon/sec2/sec_crypto.h
index a7bcd3e2affd..9f71c358a6d3 100644
--- a/drivers/crypto/hisilicon/sec2/sec_crypto.h
+++ b/drivers/crypto/hisilicon/sec2/sec_crypto.h
@@ -80,6 +80,7 @@ struct bd_status {
u8 done;
u8 err_type;
u16 flag;
+ u16 icv;
};
enum {