aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorSubbaraya Sundeep <sbhatta@marvell.com>2023-07-17 11:46:43 +0530
committerJakub Kicinski <kuba@kernel.org>2023-07-18 19:21:56 -0700
commite7002b3b20c58bce4a88c15aca8e6cc894e3a7ed (patch)
tree94113f912fe2f80a426f84094a8a29da8cf91c20 /net/ipv6/tcp_ipv6.c
parent78adb4bcf99effbb960c5f9091e2e062509d1030 (diff)
downloadlinux-e7002b3b20c58bce4a88c15aca8e6cc894e3a7ed.tar.gz
linux-e7002b3b20c58bce4a88c15aca8e6cc894e3a7ed.tar.bz2
linux-e7002b3b20c58bce4a88c15aca8e6cc894e3a7ed.zip
octeontx2-pf: mcs: Generate hash key using ecb(aes)
Hardware generated encryption and ICV tags are found to be wrong when tested with IEEE MACSEC test vectors. This is because as per the HRM, the hash key (derived by AES-ECB block encryption of an all 0s block with the SAK) has to be programmed by the software in MCSX_RS_MCS_CPM_TX_SLAVE_SA_PLCY_MEM_4X register. Hence fix this by generating hash key in software and configuring in hardware. Fixes: c54ffc73601c ("octeontx2-pf: mcs: Introduce MACSEC hardware offloading") Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Link: https://lore.kernel.org/r/1689574603-28093-1-git-send-email-sbhatta@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions