582a17d662
Includes addition of the various options to s_server/s_client. Also adds one of the new TLS1.3 ciphersuites. This isn't "real" TLS1.3!! It's identical to TLS1.2 apart from the protocol and the ciphersuite...and the ciphersuite is just a renamed TLS1.2 one (not a "real" TLS1.3 ciphersuite). Reviewed-by: Rich Salz <rsalz@openssl.org>
403 lines
11 KiB
Text
403 lines
11 KiB
Text
# Generated with generate_ssl_tests.pl
|
|
|
|
num_tests = 16
|
|
|
|
test-0 = 0-one-fragment-minus-app-data
|
|
test-1 = 1-one-fragment-app-data
|
|
test-2 = 2-one-fragment-plus-app-data
|
|
test-3 = 3-small-app-data
|
|
test-4 = 4-small-app-data-large-fragment-size
|
|
test-5 = 5-medium-app-data
|
|
test-6 = 6-medium-plus-app-data
|
|
test-7 = 7-large-app-data
|
|
test-8 = 8-large-app-data-large-fragment-size
|
|
test-9 = 9-large-app-data-odd-fragment-size
|
|
test-10 = 10-large-app-data-aes-sha1-multibuffer
|
|
test-11 = 11-large-app-data-aes-sha2-multibuffer
|
|
test-12 = 12-large-app-data-aes-sha1-multibuffer-odd-fragment
|
|
test-13 = 13-large-app-data-aes-sha2-multibuffer-odd-fragment
|
|
test-14 = 14-small-app-data-aes-sha1-multibuffer
|
|
test-15 = 15-small-app-data-aes-sha2-multibuffer
|
|
# ===========================================================
|
|
|
|
[0-one-fragment-minus-app-data]
|
|
ssl_conf = 0-one-fragment-minus-app-data-ssl
|
|
|
|
[0-one-fragment-minus-app-data-ssl]
|
|
server = 0-one-fragment-minus-app-data-server
|
|
client = 0-one-fragment-minus-app-data-client
|
|
|
|
[0-one-fragment-minus-app-data-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[0-one-fragment-minus-app-data-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-0]
|
|
ApplicationData = 511
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[1-one-fragment-app-data]
|
|
ssl_conf = 1-one-fragment-app-data-ssl
|
|
|
|
[1-one-fragment-app-data-ssl]
|
|
server = 1-one-fragment-app-data-server
|
|
client = 1-one-fragment-app-data-client
|
|
|
|
[1-one-fragment-app-data-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[1-one-fragment-app-data-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-1]
|
|
ApplicationData = 512
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[2-one-fragment-plus-app-data]
|
|
ssl_conf = 2-one-fragment-plus-app-data-ssl
|
|
|
|
[2-one-fragment-plus-app-data-ssl]
|
|
server = 2-one-fragment-plus-app-data-server
|
|
client = 2-one-fragment-plus-app-data-client
|
|
|
|
[2-one-fragment-plus-app-data-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[2-one-fragment-plus-app-data-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-2]
|
|
ApplicationData = 513
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[3-small-app-data]
|
|
ssl_conf = 3-small-app-data-ssl
|
|
|
|
[3-small-app-data-ssl]
|
|
server = 3-small-app-data-server
|
|
client = 3-small-app-data-client
|
|
|
|
[3-small-app-data-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[3-small-app-data-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-3]
|
|
ApplicationData = 4097
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[4-small-app-data-large-fragment-size]
|
|
ssl_conf = 4-small-app-data-large-fragment-size-ssl
|
|
|
|
[4-small-app-data-large-fragment-size-ssl]
|
|
server = 4-small-app-data-large-fragment-size-server
|
|
client = 4-small-app-data-large-fragment-size-client
|
|
|
|
[4-small-app-data-large-fragment-size-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[4-small-app-data-large-fragment-size-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-4]
|
|
ApplicationData = 4097
|
|
MaxFragmentSize = 16384
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[5-medium-app-data]
|
|
ssl_conf = 5-medium-app-data-ssl
|
|
|
|
[5-medium-app-data-ssl]
|
|
server = 5-medium-app-data-server
|
|
client = 5-medium-app-data-client
|
|
|
|
[5-medium-app-data-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[5-medium-app-data-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-5]
|
|
ApplicationData = 32775
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[6-medium-plus-app-data]
|
|
ssl_conf = 6-medium-plus-app-data-ssl
|
|
|
|
[6-medium-plus-app-data-ssl]
|
|
server = 6-medium-plus-app-data-server
|
|
client = 6-medium-plus-app-data-client
|
|
|
|
[6-medium-plus-app-data-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[6-medium-plus-app-data-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-6]
|
|
ApplicationData = 131069
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[7-large-app-data]
|
|
ssl_conf = 7-large-app-data-ssl
|
|
|
|
[7-large-app-data-ssl]
|
|
server = 7-large-app-data-server
|
|
client = 7-large-app-data-client
|
|
|
|
[7-large-app-data-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[7-large-app-data-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-7]
|
|
ApplicationData = 1048576
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[8-large-app-data-large-fragment-size]
|
|
ssl_conf = 8-large-app-data-large-fragment-size-ssl
|
|
|
|
[8-large-app-data-large-fragment-size-ssl]
|
|
server = 8-large-app-data-large-fragment-size-server
|
|
client = 8-large-app-data-large-fragment-size-client
|
|
|
|
[8-large-app-data-large-fragment-size-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[8-large-app-data-large-fragment-size-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-8]
|
|
ApplicationData = 1048576
|
|
MaxFragmentSize = 16384
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[9-large-app-data-odd-fragment-size]
|
|
ssl_conf = 9-large-app-data-odd-fragment-size-ssl
|
|
|
|
[9-large-app-data-odd-fragment-size-ssl]
|
|
server = 9-large-app-data-odd-fragment-size-server
|
|
client = 9-large-app-data-odd-fragment-size-client
|
|
|
|
[9-large-app-data-odd-fragment-size-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[9-large-app-data-odd-fragment-size-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-9]
|
|
ApplicationData = 1048576
|
|
MaxFragmentSize = 5115
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[10-large-app-data-aes-sha1-multibuffer]
|
|
ssl_conf = 10-large-app-data-aes-sha1-multibuffer-ssl
|
|
|
|
[10-large-app-data-aes-sha1-multibuffer-ssl]
|
|
server = 10-large-app-data-aes-sha1-multibuffer-server
|
|
client = 10-large-app-data-aes-sha1-multibuffer-client
|
|
|
|
[10-large-app-data-aes-sha1-multibuffer-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[10-large-app-data-aes-sha1-multibuffer-client]
|
|
CipherString = AES128-SHA
|
|
MaxProtocol = TLSv1.2
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-10]
|
|
ApplicationData = 1048576
|
|
MaxFragmentSize = 4096
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[11-large-app-data-aes-sha2-multibuffer]
|
|
ssl_conf = 11-large-app-data-aes-sha2-multibuffer-ssl
|
|
|
|
[11-large-app-data-aes-sha2-multibuffer-ssl]
|
|
server = 11-large-app-data-aes-sha2-multibuffer-server
|
|
client = 11-large-app-data-aes-sha2-multibuffer-client
|
|
|
|
[11-large-app-data-aes-sha2-multibuffer-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[11-large-app-data-aes-sha2-multibuffer-client]
|
|
CipherString = AES128-SHA256
|
|
MaxProtocol = TLSv1.2
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-11]
|
|
ApplicationData = 1048576
|
|
MaxFragmentSize = 4096
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[12-large-app-data-aes-sha1-multibuffer-odd-fragment]
|
|
ssl_conf = 12-large-app-data-aes-sha1-multibuffer-odd-fragment-ssl
|
|
|
|
[12-large-app-data-aes-sha1-multibuffer-odd-fragment-ssl]
|
|
server = 12-large-app-data-aes-sha1-multibuffer-odd-fragment-server
|
|
client = 12-large-app-data-aes-sha1-multibuffer-odd-fragment-client
|
|
|
|
[12-large-app-data-aes-sha1-multibuffer-odd-fragment-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[12-large-app-data-aes-sha1-multibuffer-odd-fragment-client]
|
|
CipherString = AES128-SHA
|
|
MaxProtocol = TLSv1.2
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-12]
|
|
ApplicationData = 1048579
|
|
MaxFragmentSize = 5115
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[13-large-app-data-aes-sha2-multibuffer-odd-fragment]
|
|
ssl_conf = 13-large-app-data-aes-sha2-multibuffer-odd-fragment-ssl
|
|
|
|
[13-large-app-data-aes-sha2-multibuffer-odd-fragment-ssl]
|
|
server = 13-large-app-data-aes-sha2-multibuffer-odd-fragment-server
|
|
client = 13-large-app-data-aes-sha2-multibuffer-odd-fragment-client
|
|
|
|
[13-large-app-data-aes-sha2-multibuffer-odd-fragment-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[13-large-app-data-aes-sha2-multibuffer-odd-fragment-client]
|
|
CipherString = AES128-SHA256
|
|
MaxProtocol = TLSv1.2
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-13]
|
|
ApplicationData = 1048573
|
|
MaxFragmentSize = 5125
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[14-small-app-data-aes-sha1-multibuffer]
|
|
ssl_conf = 14-small-app-data-aes-sha1-multibuffer-ssl
|
|
|
|
[14-small-app-data-aes-sha1-multibuffer-ssl]
|
|
server = 14-small-app-data-aes-sha1-multibuffer-server
|
|
client = 14-small-app-data-aes-sha1-multibuffer-client
|
|
|
|
[14-small-app-data-aes-sha1-multibuffer-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[14-small-app-data-aes-sha1-multibuffer-client]
|
|
CipherString = AES128-SHA
|
|
MaxProtocol = TLSv1.2
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-14]
|
|
ApplicationData = 4096
|
|
MaxFragmentSize = 4096
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[15-small-app-data-aes-sha2-multibuffer]
|
|
ssl_conf = 15-small-app-data-aes-sha2-multibuffer-ssl
|
|
|
|
[15-small-app-data-aes-sha2-multibuffer-ssl]
|
|
server = 15-small-app-data-aes-sha2-multibuffer-server
|
|
client = 15-small-app-data-aes-sha2-multibuffer-client
|
|
|
|
[15-small-app-data-aes-sha2-multibuffer-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[15-small-app-data-aes-sha2-multibuffer-client]
|
|
CipherString = AES128-SHA256
|
|
MaxProtocol = TLSv1.2
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-15]
|
|
ApplicationData = 4096
|
|
MaxFragmentSize = 4096
|
|
|
|
|