xref: /aosp_15_r20/external/ltp/testcases/network/virt/macsec02.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-or-later
3# Copyright (c) 2018 Petr Vorel <[email protected]>
4# Copyright (c) 2017 Oracle and/or its affiliates. All Rights Reserved.
5# Author: Alexey Kodanev <[email protected]>
6#
7# Test-case: setup two MACsec drivers and run TCP traffic over them
8# with enabled frame encryption and replay protection, compare
9# performance with similar IPsec configuration on master interface.
10
11IPSEC_PROTO="esp_aead"
12EALGO="aes"
13MACSEC_LIB_SETUP="replay on window 300 encrypt on protect on"
14
15. macsec_lib.sh
16tst_run
17