aboutsummaryrefslogtreecommitdiffstats
path: root/meta-fsl-ppc/recipes-connectivity/ipsec-demo/ipsec-demo/test_setkey/left.conf-aes-md5-transport
blob: 96f578370f46e87d541c8f13a12c17c357f838f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/sbin/setkey -f
#I am 200.200.200.10

flush;
spdflush;

# ESP SAs doing encryption using 192 bit long keys (168 + 24 parity)
# and hmac-md5 authentication using 128 bit long keys
add 200.200.200.10 200.200.200.20 esp 0x10513 
    -E aes-cbc    0x7aeaca3f87d060a12f4a4487d5a5c3355920fae69a96c831 
    -A hmac-md5   0xd5f603abc8cd9d19319ca32fb955b10f;

add 200.200.200.20 200.200.200.10 esp 0x10514 
    -E aes-cbc    0xf6ddb555acfd9d77b03ea3843f2653255afe8eb5573965df 
    -A hmac-md5   0x1dd90b4c32dcbe9d37b555a23df5170e;


spdadd 200.200.200.20 200.200.200.10 any -P in ipsec
        esp/transport//require;

spdadd 200.200.200.10 200.200.200.20 any -P out ipsec
        esp/transport//require;