summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2016-11-06 13:09:55 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2016-11-06 13:09:55 +0000
commit78a8d34e5591dd0f3474578c42e8726f47ab9d0c (patch)
tree800cb45bcbf5279dc860898763a379a61053ff31 /regress/lib
parent6eeb72ef4d657c28b7dd544e0c3f5b4651f5dc2b (diff)
Update regress for IDEA cipher suite removal.
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libssl/client/clienttest.c166
1 files changed, 83 insertions, 83 deletions
diff --git a/regress/lib/libssl/client/clienttest.c b/regress/lib/libssl/client/clienttest.c
index cc6523184b8..c1997c41d4a 100644
--- a/regress/lib/libssl/client/clienttest.c
+++ b/regress/lib/libssl/client/clienttest.c
@@ -36,28 +36,28 @@ static unsigned char cipher_list_dtls1[] = {
0xff, 0x85, 0x00, 0x88, 0x00, 0x87, 0x00, 0x81,
0x00, 0x35, 0x00, 0x84, 0xc0, 0x13, 0xc0, 0x09,
0x00, 0x33, 0x00, 0x32, 0x00, 0x45, 0x00, 0x44,
- 0x00, 0x2f, 0x00, 0x41, 0x00, 0x07, 0xc0, 0x12,
- 0xc0, 0x08, 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a,
- 0x00, 0x15, 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
+ 0x00, 0x2f, 0x00, 0x41, 0xc0, 0x12, 0xc0, 0x08,
+ 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
+ 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
};
static unsigned char client_hello_dtls1[] = {
0x16, 0xfe, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x72, 0x01, 0x00, 0x00,
- 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x66, 0xfe, 0xff, 0xc3, 0xd6, 0x19, 0xf8, 0x5d,
+ 0x00, 0x00, 0x00, 0x00, 0x70, 0x01, 0x00, 0x00,
+ 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x64, 0xfe, 0xff, 0xc3, 0xd6, 0x19, 0xf8, 0x5d,
0x6a, 0xe3, 0x6d, 0x16, 0x4a, 0xf7, 0x8f, 0x8e,
0x4a, 0x12, 0x87, 0xcf, 0x07, 0x99, 0xa7, 0x92,
0x40, 0xbd, 0x06, 0x9f, 0xe9, 0xd2, 0x68, 0x84,
- 0xff, 0x6f, 0xe8, 0x00, 0x00, 0x00, 0x38, 0xc0,
+ 0xff, 0x6f, 0xe8, 0x00, 0x00, 0x00, 0x36, 0xc0,
0x14, 0xc0, 0x0a, 0x00, 0x39, 0x00, 0x38, 0xff,
0x85, 0x00, 0x88, 0x00, 0x87, 0x00, 0x81, 0x00,
0x35, 0x00, 0x84, 0xc0, 0x13, 0xc0, 0x09, 0x00,
0x33, 0x00, 0x32, 0x00, 0x45, 0x00, 0x44, 0x00,
- 0x2f, 0x00, 0x41, 0x00, 0x07, 0xc0, 0x12, 0xc0,
- 0x08, 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00,
- 0x15, 0x00, 0x12, 0x00, 0x09, 0x00, 0xff, 0x01,
- 0x00, 0x00, 0x04, 0x00, 0x23, 0x00, 0x00,
+ 0x2f, 0x00, 0x41, 0xc0, 0x12, 0xc0, 0x08, 0x00,
+ 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15, 0x00,
+ 0x12, 0x00, 0x09, 0x00, 0xff, 0x01, 0x00, 0x00,
+ 0x04, 0x00, 0x23, 0x00, 0x00,
};
static unsigned char cipher_list_tls10[] = {
@@ -65,37 +65,37 @@ static unsigned char cipher_list_tls10[] = {
0xff, 0x85, 0x00, 0x88, 0x00, 0x87, 0x00, 0x81,
0x00, 0x35, 0x00, 0x84, 0xc0, 0x13, 0xc0, 0x09,
0x00, 0x33, 0x00, 0x32, 0x00, 0x45, 0x00, 0x44,
- 0x00, 0x2f, 0x00, 0x41, 0x00, 0x07, 0xc0, 0x11,
- 0xc0, 0x07, 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12,
- 0xc0, 0x08, 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a,
- 0x00, 0x15, 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
+ 0x00, 0x2f, 0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07,
+ 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08,
+ 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
+ 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
};
static unsigned char client_hello_tls10[] = {
- 0x16, 0x03, 0x01, 0x00, 0xb7, 0x01, 0x00, 0x00,
- 0xb3, 0x03, 0x01, 0x06, 0x6a, 0x3f, 0x0f, 0xf5,
+ 0x16, 0x03, 0x01, 0x00, 0xb5, 0x01, 0x00, 0x00,
+ 0xb1, 0x03, 0x01, 0x06, 0x6a, 0x3f, 0x0f, 0xf5,
0x19, 0x64, 0x2d, 0xfd, 0xb1, 0x4a, 0x91, 0xcd,
0x65, 0x37, 0xf8, 0x51, 0x92, 0xf9, 0xbf, 0xe9,
0x46, 0x41, 0x2e, 0x0a, 0x4d, 0xb1, 0xa8, 0x0c,
- 0x88, 0xec, 0x03, 0x00, 0x00, 0x40, 0xc0, 0x14,
+ 0x88, 0xec, 0x03, 0x00, 0x00, 0x3e, 0xc0, 0x14,
0xc0, 0x0a, 0x00, 0x39, 0x00, 0x38, 0xff, 0x85,
0x00, 0x88, 0x00, 0x87, 0x00, 0x81, 0x00, 0x35,
0x00, 0x84, 0xc0, 0x13, 0xc0, 0x09, 0x00, 0x33,
0x00, 0x32, 0x00, 0x45, 0x00, 0x44, 0x00, 0x2f,
- 0x00, 0x41, 0x00, 0x07, 0xc0, 0x11, 0xc0, 0x07,
- 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08,
- 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
- 0x00, 0x12, 0x00, 0x09, 0x00, 0xff, 0x01, 0x00,
- 0x00, 0x4a, 0x00, 0x0b, 0x00, 0x04, 0x03, 0x00,
- 0x01, 0x02, 0x00, 0x0a, 0x00, 0x3a, 0x00, 0x38,
- 0x00, 0x0e, 0x00, 0x0d, 0x00, 0x19, 0x00, 0x1c,
- 0x00, 0x0b, 0x00, 0x0c, 0x00, 0x1b, 0x00, 0x18,
- 0x00, 0x09, 0x00, 0x0a, 0x00, 0x1a, 0x00, 0x16,
- 0x00, 0x17, 0x00, 0x08, 0x00, 0x06, 0x00, 0x07,
- 0x00, 0x14, 0x00, 0x15, 0x00, 0x04, 0x00, 0x05,
- 0x00, 0x12, 0x00, 0x13, 0x00, 0x01, 0x00, 0x02,
- 0x00, 0x03, 0x00, 0x0f, 0x00, 0x10, 0x00, 0x11,
- 0x00, 0x23, 0x00, 0x00,
+ 0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07, 0x00, 0x05,
+ 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08, 0x00, 0x16,
+ 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15, 0x00, 0x12,
+ 0x00, 0x09, 0x00, 0xff, 0x01, 0x00, 0x00, 0x4a,
+ 0x00, 0x0b, 0x00, 0x04, 0x03, 0x00, 0x01, 0x02,
+ 0x00, 0x0a, 0x00, 0x3a, 0x00, 0x38, 0x00, 0x0e,
+ 0x00, 0x0d, 0x00, 0x19, 0x00, 0x1c, 0x00, 0x0b,
+ 0x00, 0x0c, 0x00, 0x1b, 0x00, 0x18, 0x00, 0x09,
+ 0x00, 0x0a, 0x00, 0x1a, 0x00, 0x16, 0x00, 0x17,
+ 0x00, 0x08, 0x00, 0x06, 0x00, 0x07, 0x00, 0x14,
+ 0x00, 0x15, 0x00, 0x04, 0x00, 0x05, 0x00, 0x12,
+ 0x00, 0x13, 0x00, 0x01, 0x00, 0x02, 0x00, 0x03,
+ 0x00, 0x0f, 0x00, 0x10, 0x00, 0x11, 0x00, 0x23,
+ 0x00, 0x00,
};
static unsigned char cipher_list_tls11[] = {
@@ -103,37 +103,37 @@ static unsigned char cipher_list_tls11[] = {
0xff, 0x85, 0x00, 0x88, 0x00, 0x87, 0x00, 0x81,
0x00, 0x35, 0x00, 0x84, 0xc0, 0x13, 0xc0, 0x09,
0x00, 0x33, 0x00, 0x32, 0x00, 0x45, 0x00, 0x44,
- 0x00, 0x2f, 0x00, 0x41, 0x00, 0x07, 0xc0, 0x11,
- 0xc0, 0x07, 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12,
- 0xc0, 0x08, 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a,
- 0x00, 0x15, 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
+ 0x00, 0x2f, 0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07,
+ 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08,
+ 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
+ 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
};
static unsigned char client_hello_tls11[] = {
- 0x16, 0x03, 0x01, 0x00, 0xb7, 0x01, 0x00, 0x00,
- 0xb3, 0x03, 0x02, 0x2f, 0x93, 0x9c, 0x37, 0x16,
+ 0x16, 0x03, 0x01, 0x00, 0xb5, 0x01, 0x00, 0x00,
+ 0xb1, 0x03, 0x02, 0x2f, 0x93, 0x9c, 0x37, 0x16,
0x88, 0x53, 0xa1, 0xba, 0xb2, 0x36, 0xc9, 0xdf,
0xa4, 0x5f, 0x80, 0x6a, 0x8b, 0xfe, 0x00, 0x52,
0xd3, 0xd2, 0x68, 0x2a, 0xae, 0xca, 0x72, 0xae,
- 0x70, 0x77, 0x84, 0x00, 0x00, 0x40, 0xc0, 0x14,
+ 0x70, 0x77, 0x84, 0x00, 0x00, 0x3e, 0xc0, 0x14,
0xc0, 0x0a, 0x00, 0x39, 0x00, 0x38, 0xff, 0x85,
0x00, 0x88, 0x00, 0x87, 0x00, 0x81, 0x00, 0x35,
0x00, 0x84, 0xc0, 0x13, 0xc0, 0x09, 0x00, 0x33,
0x00, 0x32, 0x00, 0x45, 0x00, 0x44, 0x00, 0x2f,
- 0x00, 0x41, 0x00, 0x07, 0xc0, 0x11, 0xc0, 0x07,
- 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08,
- 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
- 0x00, 0x12, 0x00, 0x09, 0x00, 0xff, 0x01, 0x00,
- 0x00, 0x4a, 0x00, 0x0b, 0x00, 0x04, 0x03, 0x00,
- 0x01, 0x02, 0x00, 0x0a, 0x00, 0x3a, 0x00, 0x38,
- 0x00, 0x0e, 0x00, 0x0d, 0x00, 0x19, 0x00, 0x1c,
- 0x00, 0x0b, 0x00, 0x0c, 0x00, 0x1b, 0x00, 0x18,
- 0x00, 0x09, 0x00, 0x0a, 0x00, 0x1a, 0x00, 0x16,
- 0x00, 0x17, 0x00, 0x08, 0x00, 0x06, 0x00, 0x07,
- 0x00, 0x14, 0x00, 0x15, 0x00, 0x04, 0x00, 0x05,
- 0x00, 0x12, 0x00, 0x13, 0x00, 0x01, 0x00, 0x02,
- 0x00, 0x03, 0x00, 0x0f, 0x00, 0x10, 0x00, 0x11,
- 0x00, 0x23, 0x00, 0x00,
+ 0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07, 0x00, 0x05,
+ 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08, 0x00, 0x16,
+ 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15, 0x00, 0x12,
+ 0x00, 0x09, 0x00, 0xff, 0x01, 0x00, 0x00, 0x4a,
+ 0x00, 0x0b, 0x00, 0x04, 0x03, 0x00, 0x01, 0x02,
+ 0x00, 0x0a, 0x00, 0x3a, 0x00, 0x38, 0x00, 0x0e,
+ 0x00, 0x0d, 0x00, 0x19, 0x00, 0x1c, 0x00, 0x0b,
+ 0x00, 0x0c, 0x00, 0x1b, 0x00, 0x18, 0x00, 0x09,
+ 0x00, 0x0a, 0x00, 0x1a, 0x00, 0x16, 0x00, 0x17,
+ 0x00, 0x08, 0x00, 0x06, 0x00, 0x07, 0x00, 0x14,
+ 0x00, 0x15, 0x00, 0x04, 0x00, 0x05, 0x00, 0x12,
+ 0x00, 0x13, 0x00, 0x01, 0x00, 0x02, 0x00, 0x03,
+ 0x00, 0x0f, 0x00, 0x10, 0x00, 0x11, 0x00, 0x23,
+ 0x00, 0x00,
};
static unsigned char cipher_list_tls12_aes[] = {
@@ -149,10 +149,10 @@ static unsigned char cipher_list_tls12_aes[] = {
0x00, 0x9e, 0x00, 0x67, 0x00, 0x40, 0x00, 0x33,
0x00, 0x32, 0x00, 0xbe, 0x00, 0xbd, 0x00, 0x45,
0x00, 0x44, 0x00, 0x9c, 0x00, 0x3c, 0x00, 0x2f,
- 0x00, 0xba, 0x00, 0x41, 0x00, 0x07, 0xc0, 0x11,
- 0xc0, 0x07, 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12,
- 0xc0, 0x08, 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a,
- 0x00, 0x15, 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
+ 0x00, 0xba, 0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07,
+ 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08,
+ 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
+ 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
};
static unsigned char cipher_list_tls12_chacha[] = {
@@ -168,19 +168,19 @@ static unsigned char cipher_list_tls12_chacha[] = {
0x00, 0x9e, 0x00, 0x67, 0x00, 0x40, 0x00, 0x33,
0x00, 0x32, 0x00, 0xbe, 0x00, 0xbd, 0x00, 0x45,
0x00, 0x44, 0x00, 0x9c, 0x00, 0x3c, 0x00, 0x2f,
- 0x00, 0xba, 0x00, 0x41, 0x00, 0x07, 0xc0, 0x11,
- 0xc0, 0x07, 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12,
- 0xc0, 0x08, 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a,
- 0x00, 0x15, 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
+ 0x00, 0xba, 0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07,
+ 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08,
+ 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
+ 0x00, 0x12, 0x00, 0x09, 0x00, 0xff,
};
static unsigned char client_hello_tls12[] = {
- 0x16, 0x03, 0x01, 0x01, 0x21, 0x01, 0x00, 0x01,
- 0x1d, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x16, 0x03, 0x01, 0x01, 0x1f, 0x01, 0x00, 0x01,
+ 0x1b, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xcc, 0xa9,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0xcc, 0xa9,
0xcc, 0xa8, 0xcc, 0xaa, 0xcc, 0x14, 0xcc, 0x13,
0xcc, 0x15, 0xc0, 0x30, 0xc0, 0x2c, 0xc0, 0x28,
0xc0, 0x24, 0xc0, 0x14, 0xc0, 0x0a, 0x00, 0xa3,
@@ -193,25 +193,25 @@ static unsigned char client_hello_tls12[] = {
0x00, 0x67, 0x00, 0x40, 0x00, 0x33, 0x00, 0x32,
0x00, 0xbe, 0x00, 0xbd, 0x00, 0x45, 0x00, 0x44,
0x00, 0x9c, 0x00, 0x3c, 0x00, 0x2f, 0x00, 0xba,
- 0x00, 0x41, 0x00, 0x07, 0xc0, 0x11, 0xc0, 0x07,
- 0x00, 0x05, 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08,
- 0x00, 0x16, 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15,
- 0x00, 0x12, 0x00, 0x09, 0x00, 0xff, 0x01, 0x00,
- 0x00, 0x74, 0x00, 0x0b, 0x00, 0x04, 0x03, 0x00,
- 0x01, 0x02, 0x00, 0x0a, 0x00, 0x3a, 0x00, 0x38,
- 0x00, 0x0e, 0x00, 0x0d, 0x00, 0x19, 0x00, 0x1c,
- 0x00, 0x0b, 0x00, 0x0c, 0x00, 0x1b, 0x00, 0x18,
- 0x00, 0x09, 0x00, 0x0a, 0x00, 0x1a, 0x00, 0x16,
- 0x00, 0x17, 0x00, 0x08, 0x00, 0x06, 0x00, 0x07,
- 0x00, 0x14, 0x00, 0x15, 0x00, 0x04, 0x00, 0x05,
- 0x00, 0x12, 0x00, 0x13, 0x00, 0x01, 0x00, 0x02,
- 0x00, 0x03, 0x00, 0x0f, 0x00, 0x10, 0x00, 0x11,
- 0x00, 0x23, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x26,
- 0x00, 0x24, 0x06, 0x01, 0x06, 0x02, 0x06, 0x03,
- 0xef, 0xef, 0x05, 0x01, 0x05, 0x02, 0x05, 0x03,
- 0x04, 0x01, 0x04, 0x02, 0x04, 0x03, 0xee, 0xee,
- 0xed, 0xed, 0x03, 0x01, 0x03, 0x02, 0x03, 0x03,
- 0x02, 0x01, 0x02, 0x02, 0x02, 0x03,
+ 0x00, 0x41, 0xc0, 0x11, 0xc0, 0x07, 0x00, 0x05,
+ 0x00, 0x04, 0xc0, 0x12, 0xc0, 0x08, 0x00, 0x16,
+ 0x00, 0x13, 0x00, 0x0a, 0x00, 0x15, 0x00, 0x12,
+ 0x00, 0x09, 0x00, 0xff, 0x01, 0x00, 0x00, 0x74,
+ 0x00, 0x0b, 0x00, 0x04, 0x03, 0x00, 0x01, 0x02,
+ 0x00, 0x0a, 0x00, 0x3a, 0x00, 0x38, 0x00, 0x0e,
+ 0x00, 0x0d, 0x00, 0x19, 0x00, 0x1c, 0x00, 0x0b,
+ 0x00, 0x0c, 0x00, 0x1b, 0x00, 0x18, 0x00, 0x09,
+ 0x00, 0x0a, 0x00, 0x1a, 0x00, 0x16, 0x00, 0x17,
+ 0x00, 0x08, 0x00, 0x06, 0x00, 0x07, 0x00, 0x14,
+ 0x00, 0x15, 0x00, 0x04, 0x00, 0x05, 0x00, 0x12,
+ 0x00, 0x13, 0x00, 0x01, 0x00, 0x02, 0x00, 0x03,
+ 0x00, 0x0f, 0x00, 0x10, 0x00, 0x11, 0x00, 0x23,
+ 0x00, 0x00, 0x00, 0x0d, 0x00, 0x26, 0x00, 0x24,
+ 0x06, 0x01, 0x06, 0x02, 0x06, 0x03, 0xef, 0xef,
+ 0x05, 0x01, 0x05, 0x02, 0x05, 0x03, 0x04, 0x01,
+ 0x04, 0x02, 0x04, 0x03, 0xee, 0xee, 0xed, 0xed,
+ 0x03, 0x01, 0x03, 0x02, 0x03, 0x03, 0x02, 0x01,
+ 0x02, 0x02, 0x02, 0x03,
};
struct client_hello_test {