diff options
author | Zaibo Xu <xuzaibo@huawei.com> | 2020-01-11 10:41:49 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-01-16 15:18:14 +0800 |
commit | a718cfce062ea7d216a4d0fe50d28981b8426842 (patch) | |
tree | 39b06abae1d8a651a01bd368d73aeb7a2e0c79b9 /drivers/crypto/hisilicon/sec2/sec_crypto.h | |
parent | ca0d158dc9e5dc0902c1d507d82178d97f6f5709 (diff) |
crypto: hisilicon - fix print/comment of SEC V2
Fixed some print, coding style and comments of HiSilicon SEC V2.
Signed-off-by: Zaibo Xu <xuzaibo@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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.h b/drivers/crypto/hisilicon/sec2/sec_crypto.h index 097dce828340..46b3a3558be6 100644 --- a/drivers/crypto/hisilicon/sec2/sec_crypto.h +++ b/drivers/crypto/hisilicon/sec2/sec_crypto.h @@ -48,8 +48,8 @@ enum sec_addr_type { struct sec_sqe_type2 { /* - * mac_len: 0~5 bits - * a_key_len: 6~10 bits + * mac_len: 0~4 bits + * a_key_len: 5~10 bits * a_alg: 11~16 bits */ __le32 mac_key_alg; |