Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: hisilicon/sec - fixup icv checking enabled on Kunpeng 930

Fixup icv(integrity check value) checking enabled wrong on
Kunpeng 930

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Kai Ye and committed by
Herbert Xu
60ef3dde 85872d1a

+1 -1
+1 -1
drivers/crypto/hisilicon/sec2/sec_crypto.c
··· 1614 1614 sqe3->auth_mac_key |= cpu_to_le32((u32)SEC_AUTH_TYPE1); 1615 1615 sqe3->huk_iv_seq &= SEC_CIPHER_AUTH_V3; 1616 1616 } else { 1617 - sqe3->auth_mac_key |= cpu_to_le32((u32)SEC_AUTH_TYPE1); 1617 + sqe3->auth_mac_key |= cpu_to_le32((u32)SEC_AUTH_TYPE2); 1618 1618 sqe3->huk_iv_seq |= SEC_AUTH_CIPHER_V3; 1619 1619 } 1620 1620 sqe3->a_len_key = cpu_to_le32(c_req->c_len + aq->assoclen);