-/* $OpenBSD: tls_prf.c,v 1.10 2024/06/05 04:50:36 tb Exp $ */
+/* $OpenBSD: tls_prf.c,v 1.11 2024/07/16 14:38:59 jsing Exp $ */
/*
* Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
*
static const struct tls_prf_test tls_prf_tests[] = {
{
- .desc = "MD5+SHA1",
- .ssl_method = TLSv1_method,
- .cipher_value = 0x0033,
- .out = {
- 0x03, 0xa1, 0xc1, 0x7d, 0x2c, 0xa5, 0x3d, 0xe8,
- 0x9d, 0x59, 0x5e, 0x30, 0xf5, 0x71, 0xbb, 0x96,
- 0xde, 0x5c, 0x8e, 0xdc, 0x25, 0x8a, 0x7c, 0x05,
- 0x9f, 0x7d, 0x35, 0x29, 0x45, 0xae, 0x56, 0xad,
- 0x9f, 0x57, 0x15, 0x5c, 0xdb, 0x83, 0x3a, 0xac,
- 0x19, 0xa8, 0x2b, 0x40, 0x72, 0x38, 0x1e, 0xed,
- 0xf3, 0x25, 0xde, 0x84, 0x84, 0xd8, 0xd1, 0xfc,
- 0x31, 0x85, 0x81, 0x12, 0x55, 0x4d, 0x12, 0xb5,
- 0xed, 0x78, 0x5e, 0xba, 0xc8, 0xec, 0x8d, 0x28,
- 0xa1, 0x21, 0x1e, 0x6e, 0x07, 0xf1, 0xfc, 0xf5,
- 0xbf, 0xe4, 0x8e, 0x8e, 0x97, 0x15, 0x93, 0x85,
- 0x75, 0xdd, 0x87, 0x09, 0xd0, 0x4e, 0xe5, 0xd5,
- 0x9e, 0x1f, 0xd6, 0x1c, 0x3b, 0xe9, 0xad, 0xba,
- 0xe0, 0x16, 0x56, 0x62, 0x90, 0xd6, 0x82, 0x84,
- 0xec, 0x8a, 0x22, 0xbe, 0xdc, 0x6a, 0x5e, 0x05,
- 0x12, 0x44, 0xec, 0x60, 0x61, 0xd1, 0x8a, 0x66,
- },
- },
- {
- .desc = "SHA256 (via TLSv1.2)",
+ .desc = "SHA256",
.ssl_method = TLSv1_2_method,
.cipher_value = 0x0033,
.out = {