xref: /freebsd/crypto/krb5/src/plugins/preauth/pkinit/pkinit_constants.c (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubert /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2*7f2fe78bSCy Schubert /* plugins/preauth/pkinit/pkinit_constants.c */
3*7f2fe78bSCy Schubert /*
4*7f2fe78bSCy Schubert  * Copyright (C) 2011,2021 by the Massachusetts Institute of Technology.
5*7f2fe78bSCy Schubert  * All rights reserved.
6*7f2fe78bSCy Schubert  *
7*7f2fe78bSCy Schubert  * Redistribution and use in source and binary forms, with or without
8*7f2fe78bSCy Schubert  * modification, are permitted provided that the following conditions
9*7f2fe78bSCy Schubert  * are met:
10*7f2fe78bSCy Schubert  *
11*7f2fe78bSCy Schubert  * * Redistributions of source code must retain the above copyright
12*7f2fe78bSCy Schubert  *   notice, this list of conditions and the following disclaimer.
13*7f2fe78bSCy Schubert  *
14*7f2fe78bSCy Schubert  * * Redistributions in binary form must reproduce the above copyright
15*7f2fe78bSCy Schubert  *   notice, this list of conditions and the following disclaimer in
16*7f2fe78bSCy Schubert  *   the documentation and/or other materials provided with the
17*7f2fe78bSCy Schubert  *   distribution.
18*7f2fe78bSCy Schubert  *
19*7f2fe78bSCy Schubert  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20*7f2fe78bSCy Schubert  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21*7f2fe78bSCy Schubert  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22*7f2fe78bSCy Schubert  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23*7f2fe78bSCy Schubert  * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
24*7f2fe78bSCy Schubert  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25*7f2fe78bSCy Schubert  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26*7f2fe78bSCy Schubert  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27*7f2fe78bSCy Schubert  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28*7f2fe78bSCy Schubert  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29*7f2fe78bSCy Schubert  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
30*7f2fe78bSCy Schubert  * OF THE POSSIBILITY OF SUCH DAMAGE.
31*7f2fe78bSCy Schubert  */
32*7f2fe78bSCy Schubert 
33*7f2fe78bSCy Schubert #include "pkinit.h"
34*7f2fe78bSCy Schubert 
35*7f2fe78bSCy Schubert /* RFC 8636 id-pkinit-kdf-ah-sha1: iso(1) identified-organization(3) dod(6)
36*7f2fe78bSCy Schubert  * internet(1) security(5) kerberosv5(2) pkinit(3) kdf(6) sha1(1) */
37*7f2fe78bSCy Schubert static char sha1_oid[8] = { 0x2B, 0x06, 0x01, 0x05, 0x02, 0x03, 0x06, 0x01 };
38*7f2fe78bSCy Schubert /* RFC 8636 id-pkinit-kdf-ah-sha256: iso(1) identified-organization(3) dod(6)
39*7f2fe78bSCy Schubert  * internet(1) security(5) kerberosv5(2) pkinit(3) kdf(6) sha256(2) */
40*7f2fe78bSCy Schubert static char sha256_oid[8] = { 0x2B, 0x06, 0x01, 0x05, 0x02, 0x03, 0x06, 0x02 };
41*7f2fe78bSCy Schubert /* RFC 8636 id-pkinit-kdf-ah-sha512: iso(1) identified-organization(3) dod(6)
42*7f2fe78bSCy Schubert  * internet(1) security(5) kerberosv5(2) pkinit(3) kdf(6) sha512(3) */
43*7f2fe78bSCy Schubert static char sha512_oid[8] = { 0x2B, 0x06, 0x01, 0x05, 0x02, 0x03, 0x06, 0x03 };
44*7f2fe78bSCy Schubert 
45*7f2fe78bSCy Schubert const krb5_data sha1_id = { KV5M_DATA, sizeof(sha1_oid), sha1_oid };
46*7f2fe78bSCy Schubert const krb5_data sha256_id = { KV5M_DATA, sizeof(sha256_oid), sha256_oid };
47*7f2fe78bSCy Schubert const krb5_data sha512_id = { KV5M_DATA, sizeof(sha512_oid), sha512_oid };
48*7f2fe78bSCy Schubert 
49*7f2fe78bSCy Schubert krb5_data const * const supported_kdf_alg_ids[] = {
50*7f2fe78bSCy Schubert     &sha256_id,
51*7f2fe78bSCy Schubert     &sha1_id,
52*7f2fe78bSCy Schubert     &sha512_id,
53*7f2fe78bSCy Schubert     NULL
54*7f2fe78bSCy Schubert };
55*7f2fe78bSCy Schubert 
56*7f2fe78bSCy Schubert /* RFC 4055 sha256WithRSAEncryption: iso(1) member-body(2) us(840)
57*7f2fe78bSCy Schubert  * rsadsi(113549) pkcs(1) 1 11 */
58*7f2fe78bSCy Schubert static char sha256WithRSAEncr_oid[9] = {
59*7f2fe78bSCy Schubert     0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b
60*7f2fe78bSCy Schubert };
61*7f2fe78bSCy Schubert /* RFC 4055 sha256WithRSAEncryption: iso(1) member-body(2) us(840)
62*7f2fe78bSCy Schubert  * rsadsi(113549) pkcs(1) 1 13 */
63*7f2fe78bSCy Schubert static char sha512WithRSAEncr_oid[9] = {
64*7f2fe78bSCy Schubert     0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0d
65*7f2fe78bSCy Schubert };
66*7f2fe78bSCy Schubert 
67*7f2fe78bSCy Schubert const krb5_data sha256WithRSAEncr_id = {
68*7f2fe78bSCy Schubert     KV5M_DATA, sizeof(sha256WithRSAEncr_oid), sha256WithRSAEncr_oid
69*7f2fe78bSCy Schubert };
70*7f2fe78bSCy Schubert const krb5_data sha512WithRSAEncr_id = {
71*7f2fe78bSCy Schubert     KV5M_DATA, sizeof(sha512WithRSAEncr_oid), sha512WithRSAEncr_oid
72*7f2fe78bSCy Schubert };
73*7f2fe78bSCy Schubert 
74*7f2fe78bSCy Schubert krb5_data const * const supported_cms_algs[] = {
75*7f2fe78bSCy Schubert     &sha512WithRSAEncr_id,
76*7f2fe78bSCy Schubert     &sha256WithRSAEncr_id,
77*7f2fe78bSCy Schubert     NULL
78*7f2fe78bSCy Schubert };
79*7f2fe78bSCy Schubert 
80*7f2fe78bSCy Schubert /* RFC 2412 section E.2 (well-known group 2) parameters, DER-encoded as
81*7f2fe78bSCy Schubert  * DomainParameters (RFC 3279 section 2.3.3). */
82*7f2fe78bSCy Schubert static const uint8_t o1024[] = {
83*7f2fe78bSCy Schubert     0x30, 0x82, 0x01, 0x0A, 0x02, 0x81, 0x81, 0x00,
84*7f2fe78bSCy Schubert     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
85*7f2fe78bSCy Schubert     0xC9, 0x0F, 0xDA, 0xA2, 0x21, 0x68, 0xC2, 0x34,
86*7f2fe78bSCy Schubert     0xC4, 0xC6, 0x62, 0x8B, 0x80, 0xDC, 0x1C, 0xD1,
87*7f2fe78bSCy Schubert     0x29, 0x02, 0x4E, 0x08, 0x8A, 0x67, 0xCC, 0x74,
88*7f2fe78bSCy Schubert     0x02, 0x0B, 0xBE, 0xA6, 0x3B, 0x13, 0x9B, 0x22,
89*7f2fe78bSCy Schubert     0x51, 0x4A, 0x08, 0x79, 0x8E, 0x34, 0x04, 0xDD,
90*7f2fe78bSCy Schubert     0xEF, 0x95, 0x19, 0xB3, 0xCD, 0x3A, 0x43, 0x1B,
91*7f2fe78bSCy Schubert     0x30, 0x2B, 0x0A, 0x6D, 0xF2, 0x5F, 0x14, 0x37,
92*7f2fe78bSCy Schubert     0x4F, 0xE1, 0x35, 0x6D, 0x6D, 0x51, 0xC2, 0x45,
93*7f2fe78bSCy Schubert     0xE4, 0x85, 0xB5, 0x76, 0x62, 0x5E, 0x7E, 0xC6,
94*7f2fe78bSCy Schubert     0xF4, 0x4C, 0x42, 0xE9, 0xA6, 0x37, 0xED, 0x6B,
95*7f2fe78bSCy Schubert     0x0B, 0xFF, 0x5C, 0xB6, 0xF4, 0x06, 0xB7, 0xED,
96*7f2fe78bSCy Schubert     0xEE, 0x38, 0x6B, 0xFB, 0x5A, 0x89, 0x9F, 0xA5,
97*7f2fe78bSCy Schubert     0xAE, 0x9F, 0x24, 0x11, 0x7C, 0x4B, 0x1F, 0xE6,
98*7f2fe78bSCy Schubert     0x49, 0x28, 0x66, 0x51, 0xEC, 0xE6, 0x53, 0x81,
99*7f2fe78bSCy Schubert     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
100*7f2fe78bSCy Schubert     0x02, 0x01, 0x02, 0x02, 0x81, 0x80, 0x7F, 0xFF,
101*7f2fe78bSCy Schubert     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE4, 0x87,
102*7f2fe78bSCy Schubert     0xED, 0x51, 0x10, 0xB4, 0x61, 0x1A, 0x62, 0x63,
103*7f2fe78bSCy Schubert     0x31, 0x45, 0xC0, 0x6E, 0x0E, 0x68, 0x94, 0x81,
104*7f2fe78bSCy Schubert     0x27, 0x04, 0x45, 0x33, 0xE6, 0x3A, 0x01, 0x05,
105*7f2fe78bSCy Schubert     0xDF, 0x53, 0x1D, 0x89, 0xCD, 0x91, 0x28, 0xA5,
106*7f2fe78bSCy Schubert     0x04, 0x3C, 0xC7, 0x1A, 0x02, 0x6E, 0xF7, 0xCA,
107*7f2fe78bSCy Schubert     0x8C, 0xD9, 0xE6, 0x9D, 0x21, 0x8D, 0x98, 0x15,
108*7f2fe78bSCy Schubert     0x85, 0x36, 0xF9, 0x2F, 0x8A, 0x1B, 0xA7, 0xF0,
109*7f2fe78bSCy Schubert     0x9A, 0xB6, 0xB6, 0xA8, 0xE1, 0x22, 0xF2, 0x42,
110*7f2fe78bSCy Schubert     0xDA, 0xBB, 0x31, 0x2F, 0x3F, 0x63, 0x7A, 0x26,
111*7f2fe78bSCy Schubert     0x21, 0x74, 0xD3, 0x1B, 0xF6, 0xB5, 0x85, 0xFF,
112*7f2fe78bSCy Schubert     0xAE, 0x5B, 0x7A, 0x03, 0x5B, 0xF6, 0xF7, 0x1C,
113*7f2fe78bSCy Schubert     0x35, 0xFD, 0xAD, 0x44, 0xCF, 0xD2, 0xD7, 0x4F,
114*7f2fe78bSCy Schubert     0x92, 0x08, 0xBE, 0x25, 0x8F, 0xF3, 0x24, 0x94,
115*7f2fe78bSCy Schubert     0x33, 0x28, 0xF6, 0x73, 0x29, 0xC0, 0xFF, 0xFF,
116*7f2fe78bSCy Schubert     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
117*7f2fe78bSCy Schubert };
118*7f2fe78bSCy Schubert 
119*7f2fe78bSCy Schubert /* RFC 3526 section 3 (2048-bit MODP Group), RFC 3279 encoding */
120*7f2fe78bSCy Schubert static const uint8_t o2048[] = {
121*7f2fe78bSCy Schubert     0x30, 0x82, 0x02, 0x0C, 0x02, 0x82, 0x01, 0x01,
122*7f2fe78bSCy Schubert     0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
123*7f2fe78bSCy Schubert     0xFF, 0xC9, 0x0F, 0xDA, 0xA2, 0x21, 0x68, 0xC2,
124*7f2fe78bSCy Schubert     0x34, 0xC4, 0xC6, 0x62, 0x8B, 0x80, 0xDC, 0x1C,
125*7f2fe78bSCy Schubert     0xD1, 0x29, 0x02, 0x4E, 0x08, 0x8A, 0x67, 0xCC,
126*7f2fe78bSCy Schubert     0x74, 0x02, 0x0B, 0xBE, 0xA6, 0x3B, 0x13, 0x9B,
127*7f2fe78bSCy Schubert     0x22, 0x51, 0x4A, 0x08, 0x79, 0x8E, 0x34, 0x04,
128*7f2fe78bSCy Schubert     0xDD, 0xEF, 0x95, 0x19, 0xB3, 0xCD, 0x3A, 0x43,
129*7f2fe78bSCy Schubert     0x1B, 0x30, 0x2B, 0x0A, 0x6D, 0xF2, 0x5F, 0x14,
130*7f2fe78bSCy Schubert     0x37, 0x4F, 0xE1, 0x35, 0x6D, 0x6D, 0x51, 0xC2,
131*7f2fe78bSCy Schubert     0x45, 0xE4, 0x85, 0xB5, 0x76, 0x62, 0x5E, 0x7E,
132*7f2fe78bSCy Schubert     0xC6, 0xF4, 0x4C, 0x42, 0xE9, 0xA6, 0x37, 0xED,
133*7f2fe78bSCy Schubert     0x6B, 0x0B, 0xFF, 0x5C, 0xB6, 0xF4, 0x06, 0xB7,
134*7f2fe78bSCy Schubert     0xED, 0xEE, 0x38, 0x6B, 0xFB, 0x5A, 0x89, 0x9F,
135*7f2fe78bSCy Schubert     0xA5, 0xAE, 0x9F, 0x24, 0x11, 0x7C, 0x4B, 0x1F,
136*7f2fe78bSCy Schubert     0xE6, 0x49, 0x28, 0x66, 0x51, 0xEC, 0xE4, 0x5B,
137*7f2fe78bSCy Schubert     0x3D, 0xC2, 0x00, 0x7C, 0xB8, 0xA1, 0x63, 0xBF,
138*7f2fe78bSCy Schubert     0x05, 0x98, 0xDA, 0x48, 0x36, 0x1C, 0x55, 0xD3,
139*7f2fe78bSCy Schubert     0x9A, 0x69, 0x16, 0x3F, 0xA8, 0xFD, 0x24, 0xCF,
140*7f2fe78bSCy Schubert     0x5F, 0x83, 0x65, 0x5D, 0x23, 0xDC, 0xA3, 0xAD,
141*7f2fe78bSCy Schubert     0x96, 0x1C, 0x62, 0xF3, 0x56, 0x20, 0x85, 0x52,
142*7f2fe78bSCy Schubert     0xBB, 0x9E, 0xD5, 0x29, 0x07, 0x70, 0x96, 0x96,
143*7f2fe78bSCy Schubert     0x6D, 0x67, 0x0C, 0x35, 0x4E, 0x4A, 0xBC, 0x98,
144*7f2fe78bSCy Schubert     0x04, 0xF1, 0x74, 0x6C, 0x08, 0xCA, 0x18, 0x21,
145*7f2fe78bSCy Schubert     0x7C, 0x32, 0x90, 0x5E, 0x46, 0x2E, 0x36, 0xCE,
146*7f2fe78bSCy Schubert     0x3B, 0xE3, 0x9E, 0x77, 0x2C, 0x18, 0x0E, 0x86,
147*7f2fe78bSCy Schubert     0x03, 0x9B, 0x27, 0x83, 0xA2, 0xEC, 0x07, 0xA2,
148*7f2fe78bSCy Schubert     0x8F, 0xB5, 0xC5, 0x5D, 0xF0, 0x6F, 0x4C, 0x52,
149*7f2fe78bSCy Schubert     0xC9, 0xDE, 0x2B, 0xCB, 0xF6, 0x95, 0x58, 0x17,
150*7f2fe78bSCy Schubert     0x18, 0x39, 0x95, 0x49, 0x7C, 0xEA, 0x95, 0x6A,
151*7f2fe78bSCy Schubert     0xE5, 0x15, 0xD2, 0x26, 0x18, 0x98, 0xFA, 0x05,
152*7f2fe78bSCy Schubert     0x10, 0x15, 0x72, 0x8E, 0x5A, 0x8A, 0xAC, 0xAA,
153*7f2fe78bSCy Schubert     0x68, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
154*7f2fe78bSCy Schubert     0xFF, 0x02, 0x01, 0x02, 0x02, 0x82, 0x01, 0x00,
155*7f2fe78bSCy Schubert     0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
156*7f2fe78bSCy Schubert     0xE4, 0x87, 0xED, 0x51, 0x10, 0xB4, 0x61, 0x1A,
157*7f2fe78bSCy Schubert     0x62, 0x63, 0x31, 0x45, 0xC0, 0x6E, 0x0E, 0x68,
158*7f2fe78bSCy Schubert     0x94, 0x81, 0x27, 0x04, 0x45, 0x33, 0xE6, 0x3A,
159*7f2fe78bSCy Schubert     0x01, 0x05, 0xDF, 0x53, 0x1D, 0x89, 0xCD, 0x91,
160*7f2fe78bSCy Schubert     0x28, 0xA5, 0x04, 0x3C, 0xC7, 0x1A, 0x02, 0x6E,
161*7f2fe78bSCy Schubert     0xF7, 0xCA, 0x8C, 0xD9, 0xE6, 0x9D, 0x21, 0x8D,
162*7f2fe78bSCy Schubert     0x98, 0x15, 0x85, 0x36, 0xF9, 0x2F, 0x8A, 0x1B,
163*7f2fe78bSCy Schubert     0xA7, 0xF0, 0x9A, 0xB6, 0xB6, 0xA8, 0xE1, 0x22,
164*7f2fe78bSCy Schubert     0xF2, 0x42, 0xDA, 0xBB, 0x31, 0x2F, 0x3F, 0x63,
165*7f2fe78bSCy Schubert     0x7A, 0x26, 0x21, 0x74, 0xD3, 0x1B, 0xF6, 0xB5,
166*7f2fe78bSCy Schubert     0x85, 0xFF, 0xAE, 0x5B, 0x7A, 0x03, 0x5B, 0xF6,
167*7f2fe78bSCy Schubert     0xF7, 0x1C, 0x35, 0xFD, 0xAD, 0x44, 0xCF, 0xD2,
168*7f2fe78bSCy Schubert     0xD7, 0x4F, 0x92, 0x08, 0xBE, 0x25, 0x8F, 0xF3,
169*7f2fe78bSCy Schubert     0x24, 0x94, 0x33, 0x28, 0xF6, 0x72, 0x2D, 0x9E,
170*7f2fe78bSCy Schubert     0xE1, 0x00, 0x3E, 0x5C, 0x50, 0xB1, 0xDF, 0x82,
171*7f2fe78bSCy Schubert     0xCC, 0x6D, 0x24, 0x1B, 0x0E, 0x2A, 0xE9, 0xCD,
172*7f2fe78bSCy Schubert     0x34, 0x8B, 0x1F, 0xD4, 0x7E, 0x92, 0x67, 0xAF,
173*7f2fe78bSCy Schubert     0xC1, 0xB2, 0xAE, 0x91, 0xEE, 0x51, 0xD6, 0xCB,
174*7f2fe78bSCy Schubert     0x0E, 0x31, 0x79, 0xAB, 0x10, 0x42, 0xA9, 0x5D,
175*7f2fe78bSCy Schubert     0xCF, 0x6A, 0x94, 0x83, 0xB8, 0x4B, 0x4B, 0x36,
176*7f2fe78bSCy Schubert     0xB3, 0x86, 0x1A, 0xA7, 0x25, 0x5E, 0x4C, 0x02,
177*7f2fe78bSCy Schubert     0x78, 0xBA, 0x36, 0x04, 0x65, 0x0C, 0x10, 0xBE,
178*7f2fe78bSCy Schubert     0x19, 0x48, 0x2F, 0x23, 0x17, 0x1B, 0x67, 0x1D,
179*7f2fe78bSCy Schubert     0xF1, 0xCF, 0x3B, 0x96, 0x0C, 0x07, 0x43, 0x01,
180*7f2fe78bSCy Schubert     0xCD, 0x93, 0xC1, 0xD1, 0x76, 0x03, 0xD1, 0x47,
181*7f2fe78bSCy Schubert     0xDA, 0xE2, 0xAE, 0xF8, 0x37, 0xA6, 0x29, 0x64,
182*7f2fe78bSCy Schubert     0xEF, 0x15, 0xE5, 0xFB, 0x4A, 0xAC, 0x0B, 0x8C,
183*7f2fe78bSCy Schubert     0x1C, 0xCA, 0xA4, 0xBE, 0x75, 0x4A, 0xB5, 0x72,
184*7f2fe78bSCy Schubert     0x8A, 0xE9, 0x13, 0x0C, 0x4C, 0x7D, 0x02, 0x88,
185*7f2fe78bSCy Schubert     0x0A, 0xB9, 0x47, 0x2D, 0x45, 0x56, 0x55, 0x34,
186*7f2fe78bSCy Schubert     0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
187*7f2fe78bSCy Schubert };
188*7f2fe78bSCy Schubert 
189*7f2fe78bSCy Schubert /* RFC 3526 section 5 (4096-bit MODP Group), RFC 3279 encoding */
190*7f2fe78bSCy Schubert static const uint8_t o4096[] = {
191*7f2fe78bSCy Schubert     0x30, 0x82, 0x04, 0x0C, 0x02, 0x82, 0x02, 0x01,
192*7f2fe78bSCy Schubert     0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
193*7f2fe78bSCy Schubert     0xFF, 0xC9, 0x0F, 0xDA, 0xA2, 0x21, 0x68, 0xC2,
194*7f2fe78bSCy Schubert     0x34, 0xC4, 0xC6, 0x62, 0x8B, 0x80, 0xDC, 0x1C,
195*7f2fe78bSCy Schubert     0xD1, 0x29, 0x02, 0x4E, 0x08, 0x8A, 0x67, 0xCC,
196*7f2fe78bSCy Schubert     0x74, 0x02, 0x0B, 0xBE, 0xA6, 0x3B, 0x13, 0x9B,
197*7f2fe78bSCy Schubert     0x22, 0x51, 0x4A, 0x08, 0x79, 0x8E, 0x34, 0x04,
198*7f2fe78bSCy Schubert     0xDD, 0xEF, 0x95, 0x19, 0xB3, 0xCD, 0x3A, 0x43,
199*7f2fe78bSCy Schubert     0x1B, 0x30, 0x2B, 0x0A, 0x6D, 0xF2, 0x5F, 0x14,
200*7f2fe78bSCy Schubert     0x37, 0x4F, 0xE1, 0x35, 0x6D, 0x6D, 0x51, 0xC2,
201*7f2fe78bSCy Schubert     0x45, 0xE4, 0x85, 0xB5, 0x76, 0x62, 0x5E, 0x7E,
202*7f2fe78bSCy Schubert     0xC6, 0xF4, 0x4C, 0x42, 0xE9, 0xA6, 0x37, 0xED,
203*7f2fe78bSCy Schubert     0x6B, 0x0B, 0xFF, 0x5C, 0xB6, 0xF4, 0x06, 0xB7,
204*7f2fe78bSCy Schubert     0xED, 0xEE, 0x38, 0x6B, 0xFB, 0x5A, 0x89, 0x9F,
205*7f2fe78bSCy Schubert     0xA5, 0xAE, 0x9F, 0x24, 0x11, 0x7C, 0x4B, 0x1F,
206*7f2fe78bSCy Schubert     0xE6, 0x49, 0x28, 0x66, 0x51, 0xEC, 0xE4, 0x5B,
207*7f2fe78bSCy Schubert     0x3D, 0xC2, 0x00, 0x7C, 0xB8, 0xA1, 0x63, 0xBF,
208*7f2fe78bSCy Schubert     0x05, 0x98, 0xDA, 0x48, 0x36, 0x1C, 0x55, 0xD3,
209*7f2fe78bSCy Schubert     0x9A, 0x69, 0x16, 0x3F, 0xA8, 0xFD, 0x24, 0xCF,
210*7f2fe78bSCy Schubert     0x5F, 0x83, 0x65, 0x5D, 0x23, 0xDC, 0xA3, 0xAD,
211*7f2fe78bSCy Schubert     0x96, 0x1C, 0x62, 0xF3, 0x56, 0x20, 0x85, 0x52,
212*7f2fe78bSCy Schubert     0xBB, 0x9E, 0xD5, 0x29, 0x07, 0x70, 0x96, 0x96,
213*7f2fe78bSCy Schubert     0x6D, 0x67, 0x0C, 0x35, 0x4E, 0x4A, 0xBC, 0x98,
214*7f2fe78bSCy Schubert     0x04, 0xF1, 0x74, 0x6C, 0x08, 0xCA, 0x18, 0x21,
215*7f2fe78bSCy Schubert     0x7C, 0x32, 0x90, 0x5E, 0x46, 0x2E, 0x36, 0xCE,
216*7f2fe78bSCy Schubert     0x3B, 0xE3, 0x9E, 0x77, 0x2C, 0x18, 0x0E, 0x86,
217*7f2fe78bSCy Schubert     0x03, 0x9B, 0x27, 0x83, 0xA2, 0xEC, 0x07, 0xA2,
218*7f2fe78bSCy Schubert     0x8F, 0xB5, 0xC5, 0x5D, 0xF0, 0x6F, 0x4C, 0x52,
219*7f2fe78bSCy Schubert     0xC9, 0xDE, 0x2B, 0xCB, 0xF6, 0x95, 0x58, 0x17,
220*7f2fe78bSCy Schubert     0x18, 0x39, 0x95, 0x49, 0x7C, 0xEA, 0x95, 0x6A,
221*7f2fe78bSCy Schubert     0xE5, 0x15, 0xD2, 0x26, 0x18, 0x98, 0xFA, 0x05,
222*7f2fe78bSCy Schubert     0x10, 0x15, 0x72, 0x8E, 0x5A, 0x8A, 0xAA, 0xC4,
223*7f2fe78bSCy Schubert     0x2D, 0xAD, 0x33, 0x17, 0x0D, 0x04, 0x50, 0x7A,
224*7f2fe78bSCy Schubert     0x33, 0xA8, 0x55, 0x21, 0xAB, 0xDF, 0x1C, 0xBA,
225*7f2fe78bSCy Schubert     0x64, 0xEC, 0xFB, 0x85, 0x04, 0x58, 0xDB, 0xEF,
226*7f2fe78bSCy Schubert     0x0A, 0x8A, 0xEA, 0x71, 0x57, 0x5D, 0x06, 0x0C,
227*7f2fe78bSCy Schubert     0x7D, 0xB3, 0x97, 0x0F, 0x85, 0xA6, 0xE1, 0xE4,
228*7f2fe78bSCy Schubert     0xC7, 0xAB, 0xF5, 0xAE, 0x8C, 0xDB, 0x09, 0x33,
229*7f2fe78bSCy Schubert     0xD7, 0x1E, 0x8C, 0x94, 0xE0, 0x4A, 0x25, 0x61,
230*7f2fe78bSCy Schubert     0x9D, 0xCE, 0xE3, 0xD2, 0x26, 0x1A, 0xD2, 0xEE,
231*7f2fe78bSCy Schubert     0x6B, 0xF1, 0x2F, 0xFA, 0x06, 0xD9, 0x8A, 0x08,
232*7f2fe78bSCy Schubert     0x64, 0xD8, 0x76, 0x02, 0x73, 0x3E, 0xC8, 0x6A,
233*7f2fe78bSCy Schubert     0x64, 0x52, 0x1F, 0x2B, 0x18, 0x17, 0x7B, 0x20,
234*7f2fe78bSCy Schubert     0x0C, 0xBB, 0xE1, 0x17, 0x57, 0x7A, 0x61, 0x5D,
235*7f2fe78bSCy Schubert     0x6C, 0x77, 0x09, 0x88, 0xC0, 0xBA, 0xD9, 0x46,
236*7f2fe78bSCy Schubert     0xE2, 0x08, 0xE2, 0x4F, 0xA0, 0x74, 0xE5, 0xAB,
237*7f2fe78bSCy Schubert     0x31, 0x43, 0xDB, 0x5B, 0xFC, 0xE0, 0xFD, 0x10,
238*7f2fe78bSCy Schubert     0x8E, 0x4B, 0x82, 0xD1, 0x20, 0xA9, 0x21, 0x08,
239*7f2fe78bSCy Schubert     0x01, 0x1A, 0x72, 0x3C, 0x12, 0xA7, 0x87, 0xE6,
240*7f2fe78bSCy Schubert     0xD7, 0x88, 0x71, 0x9A, 0x10, 0xBD, 0xBA, 0x5B,
241*7f2fe78bSCy Schubert     0x26, 0x99, 0xC3, 0x27, 0x18, 0x6A, 0xF4, 0xE2,
242*7f2fe78bSCy Schubert     0x3C, 0x1A, 0x94, 0x68, 0x34, 0xB6, 0x15, 0x0B,
243*7f2fe78bSCy Schubert     0xDA, 0x25, 0x83, 0xE9, 0xCA, 0x2A, 0xD4, 0x4C,
244*7f2fe78bSCy Schubert     0xE8, 0xDB, 0xBB, 0xC2, 0xDB, 0x04, 0xDE, 0x8E,
245*7f2fe78bSCy Schubert     0xF9, 0x2E, 0x8E, 0xFC, 0x14, 0x1F, 0xBE, 0xCA,
246*7f2fe78bSCy Schubert     0xA6, 0x28, 0x7C, 0x59, 0x47, 0x4E, 0x6B, 0xC0,
247*7f2fe78bSCy Schubert     0x5D, 0x99, 0xB2, 0x96, 0x4F, 0xA0, 0x90, 0xC3,
248*7f2fe78bSCy Schubert     0xA2, 0x23, 0x3B, 0xA1, 0x86, 0x51, 0x5B, 0xE7,
249*7f2fe78bSCy Schubert     0xED, 0x1F, 0x61, 0x29, 0x70, 0xCE, 0xE2, 0xD7,
250*7f2fe78bSCy Schubert     0xAF, 0xB8, 0x1B, 0xDD, 0x76, 0x21, 0x70, 0x48,
251*7f2fe78bSCy Schubert     0x1C, 0xD0, 0x06, 0x91, 0x27, 0xD5, 0xB0, 0x5A,
252*7f2fe78bSCy Schubert     0xA9, 0x93, 0xB4, 0xEA, 0x98, 0x8D, 0x8F, 0xDD,
253*7f2fe78bSCy Schubert     0xC1, 0x86, 0xFF, 0xB7, 0xDC, 0x90, 0xA6, 0xC0,
254*7f2fe78bSCy Schubert     0x8F, 0x4D, 0xF4, 0x35, 0xC9, 0x34, 0x06, 0x31,
255*7f2fe78bSCy Schubert     0x99, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
256*7f2fe78bSCy Schubert     0xFF, 0x02, 0x01, 0x02, 0x02, 0x82, 0x02, 0x00,
257*7f2fe78bSCy Schubert     0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
258*7f2fe78bSCy Schubert     0xE4, 0x87, 0xED, 0x51, 0x10, 0xB4, 0x61, 0x1A,
259*7f2fe78bSCy Schubert     0x62, 0x63, 0x31, 0x45, 0xC0, 0x6E, 0x0E, 0x68,
260*7f2fe78bSCy Schubert     0x94, 0x81, 0x27, 0x04, 0x45, 0x33, 0xE6, 0x3A,
261*7f2fe78bSCy Schubert     0x01, 0x05, 0xDF, 0x53, 0x1D, 0x89, 0xCD, 0x91,
262*7f2fe78bSCy Schubert     0x28, 0xA5, 0x04, 0x3C, 0xC7, 0x1A, 0x02, 0x6E,
263*7f2fe78bSCy Schubert     0xF7, 0xCA, 0x8C, 0xD9, 0xE6, 0x9D, 0x21, 0x8D,
264*7f2fe78bSCy Schubert     0x98, 0x15, 0x85, 0x36, 0xF9, 0x2F, 0x8A, 0x1B,
265*7f2fe78bSCy Schubert     0xA7, 0xF0, 0x9A, 0xB6, 0xB6, 0xA8, 0xE1, 0x22,
266*7f2fe78bSCy Schubert     0xF2, 0x42, 0xDA, 0xBB, 0x31, 0x2F, 0x3F, 0x63,
267*7f2fe78bSCy Schubert     0x7A, 0x26, 0x21, 0x74, 0xD3, 0x1B, 0xF6, 0xB5,
268*7f2fe78bSCy Schubert     0x85, 0xFF, 0xAE, 0x5B, 0x7A, 0x03, 0x5B, 0xF6,
269*7f2fe78bSCy Schubert     0xF7, 0x1C, 0x35, 0xFD, 0xAD, 0x44, 0xCF, 0xD2,
270*7f2fe78bSCy Schubert     0xD7, 0x4F, 0x92, 0x08, 0xBE, 0x25, 0x8F, 0xF3,
271*7f2fe78bSCy Schubert     0x24, 0x94, 0x33, 0x28, 0xF6, 0x72, 0x2D, 0x9E,
272*7f2fe78bSCy Schubert     0xE1, 0x00, 0x3E, 0x5C, 0x50, 0xB1, 0xDF, 0x82,
273*7f2fe78bSCy Schubert     0xCC, 0x6D, 0x24, 0x1B, 0x0E, 0x2A, 0xE9, 0xCD,
274*7f2fe78bSCy Schubert     0x34, 0x8B, 0x1F, 0xD4, 0x7E, 0x92, 0x67, 0xAF,
275*7f2fe78bSCy Schubert     0xC1, 0xB2, 0xAE, 0x91, 0xEE, 0x51, 0xD6, 0xCB,
276*7f2fe78bSCy Schubert     0x0E, 0x31, 0x79, 0xAB, 0x10, 0x42, 0xA9, 0x5D,
277*7f2fe78bSCy Schubert     0xCF, 0x6A, 0x94, 0x83, 0xB8, 0x4B, 0x4B, 0x36,
278*7f2fe78bSCy Schubert     0xB3, 0x86, 0x1A, 0xA7, 0x25, 0x5E, 0x4C, 0x02,
279*7f2fe78bSCy Schubert     0x78, 0xBA, 0x36, 0x04, 0x65, 0x0C, 0x10, 0xBE,
280*7f2fe78bSCy Schubert     0x19, 0x48, 0x2F, 0x23, 0x17, 0x1B, 0x67, 0x1D,
281*7f2fe78bSCy Schubert     0xF1, 0xCF, 0x3B, 0x96, 0x0C, 0x07, 0x43, 0x01,
282*7f2fe78bSCy Schubert     0xCD, 0x93, 0xC1, 0xD1, 0x76, 0x03, 0xD1, 0x47,
283*7f2fe78bSCy Schubert     0xDA, 0xE2, 0xAE, 0xF8, 0x37, 0xA6, 0x29, 0x64,
284*7f2fe78bSCy Schubert     0xEF, 0x15, 0xE5, 0xFB, 0x4A, 0xAC, 0x0B, 0x8C,
285*7f2fe78bSCy Schubert     0x1C, 0xCA, 0xA4, 0xBE, 0x75, 0x4A, 0xB5, 0x72,
286*7f2fe78bSCy Schubert     0x8A, 0xE9, 0x13, 0x0C, 0x4C, 0x7D, 0x02, 0x88,
287*7f2fe78bSCy Schubert     0x0A, 0xB9, 0x47, 0x2D, 0x45, 0x55, 0x62, 0x16,
288*7f2fe78bSCy Schubert     0xD6, 0x99, 0x8B, 0x86, 0x82, 0x28, 0x3D, 0x19,
289*7f2fe78bSCy Schubert     0xD4, 0x2A, 0x90, 0xD5, 0xEF, 0x8E, 0x5D, 0x32,
290*7f2fe78bSCy Schubert     0x76, 0x7D, 0xC2, 0x82, 0x2C, 0x6D, 0xF7, 0x85,
291*7f2fe78bSCy Schubert     0x45, 0x75, 0x38, 0xAB, 0xAE, 0x83, 0x06, 0x3E,
292*7f2fe78bSCy Schubert     0xD9, 0xCB, 0x87, 0xC2, 0xD3, 0x70, 0xF2, 0x63,
293*7f2fe78bSCy Schubert     0xD5, 0xFA, 0xD7, 0x46, 0x6D, 0x84, 0x99, 0xEB,
294*7f2fe78bSCy Schubert     0x8F, 0x46, 0x4A, 0x70, 0x25, 0x12, 0xB0, 0xCE,
295*7f2fe78bSCy Schubert     0xE7, 0x71, 0xE9, 0x13, 0x0D, 0x69, 0x77, 0x35,
296*7f2fe78bSCy Schubert     0xF8, 0x97, 0xFD, 0x03, 0x6C, 0xC5, 0x04, 0x32,
297*7f2fe78bSCy Schubert     0x6C, 0x3B, 0x01, 0x39, 0x9F, 0x64, 0x35, 0x32,
298*7f2fe78bSCy Schubert     0x29, 0x0F, 0x95, 0x8C, 0x0B, 0xBD, 0x90, 0x06,
299*7f2fe78bSCy Schubert     0x5D, 0xF0, 0x8B, 0xAB, 0xBD, 0x30, 0xAE, 0xB6,
300*7f2fe78bSCy Schubert     0x3B, 0x84, 0xC4, 0x60, 0x5D, 0x6C, 0xA3, 0x71,
301*7f2fe78bSCy Schubert     0x04, 0x71, 0x27, 0xD0, 0x3A, 0x72, 0xD5, 0x98,
302*7f2fe78bSCy Schubert     0xA1, 0xED, 0xAD, 0xFE, 0x70, 0x7E, 0x88, 0x47,
303*7f2fe78bSCy Schubert     0x25, 0xC1, 0x68, 0x90, 0x54, 0x90, 0x84, 0x00,
304*7f2fe78bSCy Schubert     0x8D, 0x39, 0x1E, 0x09, 0x53, 0xC3, 0xF3, 0x6B,
305*7f2fe78bSCy Schubert     0xC4, 0x38, 0xCD, 0x08, 0x5E, 0xDD, 0x2D, 0x93,
306*7f2fe78bSCy Schubert     0x4C, 0xE1, 0x93, 0x8C, 0x35, 0x7A, 0x71, 0x1E,
307*7f2fe78bSCy Schubert     0x0D, 0x4A, 0x34, 0x1A, 0x5B, 0x0A, 0x85, 0xED,
308*7f2fe78bSCy Schubert     0x12, 0xC1, 0xF4, 0xE5, 0x15, 0x6A, 0x26, 0x74,
309*7f2fe78bSCy Schubert     0x6D, 0xDD, 0xE1, 0x6D, 0x82, 0x6F, 0x47, 0x7C,
310*7f2fe78bSCy Schubert     0x97, 0x47, 0x7E, 0x0A, 0x0F, 0xDF, 0x65, 0x53,
311*7f2fe78bSCy Schubert     0x14, 0x3E, 0x2C, 0xA3, 0xA7, 0x35, 0xE0, 0x2E,
312*7f2fe78bSCy Schubert     0xCC, 0xD9, 0x4B, 0x27, 0xD0, 0x48, 0x61, 0xD1,
313*7f2fe78bSCy Schubert     0x11, 0x9D, 0xD0, 0xC3, 0x28, 0xAD, 0xF3, 0xF6,
314*7f2fe78bSCy Schubert     0x8F, 0xB0, 0x94, 0xB8, 0x67, 0x71, 0x6B, 0xD7,
315*7f2fe78bSCy Schubert     0xDC, 0x0D, 0xEE, 0xBB, 0x10, 0xB8, 0x24, 0x0E,
316*7f2fe78bSCy Schubert     0x68, 0x03, 0x48, 0x93, 0xEA, 0xD8, 0x2D, 0x54,
317*7f2fe78bSCy Schubert     0xC9, 0xDA, 0x75, 0x4C, 0x46, 0xC7, 0xEE, 0xE0,
318*7f2fe78bSCy Schubert     0xC3, 0x7F, 0xDB, 0xEE, 0x48, 0x53, 0x60, 0x47,
319*7f2fe78bSCy Schubert     0xA6, 0xFA, 0x1A, 0xE4, 0x9A, 0x03, 0x18, 0xCC,
320*7f2fe78bSCy Schubert     0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
321*7f2fe78bSCy Schubert };
322*7f2fe78bSCy Schubert 
323*7f2fe78bSCy Schubert const krb5_data oakley_1024 = { KV5M_DATA, sizeof(o1024), (char *)o1024 };
324*7f2fe78bSCy Schubert const krb5_data oakley_2048 = { KV5M_DATA, sizeof(o2048), (char *)o2048 };
325*7f2fe78bSCy Schubert const krb5_data oakley_4096 = { KV5M_DATA, sizeof(o4096), (char *)o4096 };
326