Changeset View
Changeset View
Standalone View
Standalone View
head/tests/sys/netipsec/tunnel/aesni_aes_gcm_128.sh
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:executable | null | * \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
. $(atf_get_srcdir)/utils.subr | |||||
atf_test_case "v4" "cleanup" | |||||
v4_head() | |||||
{ | |||||
atf_set descr 'IPSec inet4 tunnel using aes-gcm-128 and AESNI' | |||||
atf_set require.user root | |||||
# load AESNI module if not already | |||||
kldstat -q -n aesni || kldload aesni | |||||
} | |||||
v4_body() | |||||
{ | |||||
ist_test 4 aes-gcm-16 "12345678901234567890" | |||||
} | |||||
v4_cleanup() | |||||
{ | |||||
ist_cleanup | |||||
} | |||||
atf_test_case "v6" "cleanup" | |||||
v6_head() | |||||
{ | |||||
atf_set descr 'IPSec inet6 tunnel using aes-gcm-128 and AESNI' | |||||
atf_set require.user root | |||||
# load AESNI module if not already | |||||
kldstat -q -n aesni || kldload aesni | |||||
} | |||||
v6_body() | |||||
{ | |||||
atf_expect_fail "PR 201447" | |||||
ist_test 6 aes-gcm-16 "12345678901234567890" | |||||
} | |||||
v6_cleanup() | |||||
{ | |||||
ist_cleanup | |||||
} | |||||
atf_init_test_cases() | |||||
{ | |||||
atf_add_test_case "v4" | |||||
atf_add_test_case "v6" | |||||
} |