#!/usr/bin/env sh

set -xe

go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 > aes_128_cbc_sha1_tls_tests.txt
go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -implicit-iv > aes_128_cbc_sha1_tls_implicit_iv_tests.txt

go run make_legacy_aead_tests.go -cipher aes128 -mac sha256 > aes_128_cbc_sha256_tls_tests.txt
go run make_legacy_aead_tests.go -cipher aes128 -mac sha256 -implicit-iv > aes_128_cbc_sha256_tls_implicit_iv_tests.txt

go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 > aes_256_cbc_sha1_tls_tests.txt
go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -implicit-iv > aes_256_cbc_sha1_tls_implicit_iv_tests.txt

go run make_legacy_aead_tests.go -cipher aes256 -mac sha384 > aes_256_cbc_sha384_tls_tests.txt

go run make_legacy_aead_tests.go -cipher 3des -mac sha1 > des_ede3_cbc_sha1_tls_tests.txt
go run make_legacy_aead_tests.go -cipher 3des -mac sha1 -implicit-iv > des_ede3_cbc_sha1_tls_implicit_iv_tests.txt

go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -stitch > aes_128_cbc_sha1_tls_stitch_tests.txt
go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -implicit-iv -stitch > aes_128_cbc_sha1_tls_stitch_implicit_iv_tests.txt

go run make_legacy_aead_tests.go -cipher aes128 -mac sha256 -stitch > aes_128_cbc_sha256_tls_stitch_tests.txt
go run make_legacy_aead_tests.go -cipher aes128 -mac sha256 -implicit-iv -stitch > aes_128_cbc_sha256_tls_stitch_implicit_iv_tests.txt

go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -stitch > aes_256_cbc_sha1_tls_stitch_tests.txt
go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -implicit-iv -stitch > aes_256_cbc_sha1_tls_stitch_implicit_iv_tests.txt

go run make_legacy_aead_tests.go -cipher aes256 -mac sha256 -stitch > aes_256_cbc_sha256_tls_stitch_tests.txt
go run make_legacy_aead_tests.go -cipher aes256 -mac sha256 -implicit-iv -stitch > aes_256_cbc_sha256_tls_stitch_implicit_iv_tests.txt
