mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
nvethernet:macsec: Added support to use AES_256
Bug 3673435 Change-Id: Ifeedf740f23595e887de0cb8b67dc07f901b089e Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2730247 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Mahesh Patil <maheshp@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
0913e1b2ed
commit
cafe9a309c
@@ -910,7 +910,7 @@ static int macsec_create_rx_sa(struct sk_buff *skb, struct genl_info *info)
|
||||
table_config->index = kt_idx;
|
||||
kt_config.flags |= OSI_LUT_FLAGS_ENTRY_VALID;
|
||||
|
||||
for (i = 0; i < OSI_KEY_LEN_128; i++) {
|
||||
for (i = 0; i < OSI_KEY_LEN_256; i++) {
|
||||
kt_config.entry.sak[i] = rx_sa.sak[i];
|
||||
}
|
||||
|
||||
@@ -1138,7 +1138,7 @@ static int macsec_create_tx_sa(struct sk_buff *skb, struct genl_info *info)
|
||||
table_config->index = kt_idx;
|
||||
kt_config.flags |= OSI_LUT_FLAGS_ENTRY_VALID;
|
||||
|
||||
for (i = 0; i < OSI_KEY_LEN_128; i++) {
|
||||
for (i = 0; i < OSI_KEY_LEN_256; i++) {
|
||||
kt_config.entry.sak[i] = tx_sa.sak[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user