diff options
author | cvs2svn <admin@example.com> | 2007-03-01 16:29:10 +0000 |
---|---|---|
committer | cvs2svn <admin@example.com> | 2007-03-01 16:29:10 +0000 |
commit | d92cde8050488a0c87c357c4756a89026b6659ee (patch) | |
tree | 737670254ff24eff6f6dddb0b97cae8c0ba8c571 /src/lib/libcrypto/krb5 | |
parent | 9c4b4ca341957016adebec4e1eb2446cf0261241 (diff) | |
download | openbsd-OPENBSD_4_1_BASE.tar.gz openbsd-OPENBSD_4_1_BASE.tar.bz2 openbsd-OPENBSD_4_1_BASE.zip |
This commit was manufactured by cvs2git to create tag 'OPENBSD_4_1_BASE'.OPENBSD_4_1_BASE
Diffstat (limited to 'src/lib/libcrypto/krb5')
-rw-r--r-- | src/lib/libcrypto/krb5/krb5_asn.c | 167 | ||||
-rw-r--r-- | src/lib/libcrypto/krb5/krb5_asn.h | 256 |
2 files changed, 0 insertions, 423 deletions
diff --git a/src/lib/libcrypto/krb5/krb5_asn.c b/src/lib/libcrypto/krb5/krb5_asn.c deleted file mode 100644 index 1fb741d2a0..0000000000 --- a/src/lib/libcrypto/krb5/krb5_asn.c +++ /dev/null | |||
@@ -1,167 +0,0 @@ | |||
1 | /* krb5_asn.c */ | ||
2 | /* Written by Vern Staats <staatsvr@asc.hpc.mil> for the OpenSSL project, | ||
3 | ** using ocsp/{*.h,*asn*.c} as a starting point | ||
4 | */ | ||
5 | /* ==================================================================== | ||
6 | * Copyright (c) 2000 The OpenSSL Project. All rights reserved. | ||
7 | * | ||
8 | * Redistribution and use in source and binary forms, with or without | ||
9 | * modification, are permitted provided that the following conditions | ||
10 | * are met: | ||
11 | * | ||
12 | * 1. Redistributions of source code must retain the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer. | ||
14 | * | ||
15 | * 2. Redistributions in binary form must reproduce the above copyright | ||
16 | * notice, this list of conditions and the following disclaimer in | ||
17 | * the documentation and/or other materials provided with the | ||
18 | * distribution. | ||
19 | * | ||
20 | * 3. All advertising materials mentioning features or use of this | ||
21 | * software must display the following acknowledgment: | ||
22 | * "This product includes software developed by the OpenSSL Project | ||
23 | * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" | ||
24 | * | ||
25 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
26 | * endorse or promote products derived from this software without | ||
27 | * prior written permission. For written permission, please contact | ||
28 | * licensing@OpenSSL.org. | ||
29 | * | ||
30 | * 5. Products derived from this software may not be called "OpenSSL" | ||
31 | * nor may "OpenSSL" appear in their names without prior written | ||
32 | * permission of the OpenSSL Project. | ||
33 | * | ||
34 | * 6. Redistributions of any form whatsoever must retain the following | ||
35 | * acknowledgment: | ||
36 | * "This product includes software developed by the OpenSSL Project | ||
37 | * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" | ||
38 | * | ||
39 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
40 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
41 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
42 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
43 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
44 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
45 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
46 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
47 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
48 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
49 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
50 | * OF THE POSSIBILITY OF SUCH DAMAGE. | ||
51 | * ==================================================================== | ||
52 | * | ||
53 | * This product includes cryptographic software written by Eric Young | ||
54 | * (eay@cryptsoft.com). This product includes software written by Tim | ||
55 | * Hudson (tjh@cryptsoft.com). | ||
56 | * | ||
57 | */ | ||
58 | #include <openssl/asn1.h> | ||
59 | #include <openssl/asn1t.h> | ||
60 | #include <openssl/krb5_asn.h> | ||
61 | |||
62 | |||
63 | ASN1_SEQUENCE(KRB5_ENCDATA) = { | ||
64 | ASN1_EXP(KRB5_ENCDATA, etype, ASN1_INTEGER, 0), | ||
65 | ASN1_EXP_OPT(KRB5_ENCDATA, kvno, ASN1_INTEGER, 1), | ||
66 | ASN1_EXP(KRB5_ENCDATA, cipher, ASN1_OCTET_STRING,2) | ||
67 | } ASN1_SEQUENCE_END(KRB5_ENCDATA) | ||
68 | |||
69 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_ENCDATA) | ||
70 | |||
71 | |||
72 | ASN1_SEQUENCE(KRB5_PRINCNAME) = { | ||
73 | ASN1_EXP(KRB5_PRINCNAME, nametype, ASN1_INTEGER, 0), | ||
74 | ASN1_EXP_SEQUENCE_OF(KRB5_PRINCNAME, namestring, ASN1_GENERALSTRING, 1) | ||
75 | } ASN1_SEQUENCE_END(KRB5_PRINCNAME) | ||
76 | |||
77 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_PRINCNAME) | ||
78 | |||
79 | |||
80 | /* [APPLICATION 1] = 0x61 */ | ||
81 | ASN1_SEQUENCE(KRB5_TKTBODY) = { | ||
82 | ASN1_EXP(KRB5_TKTBODY, tktvno, ASN1_INTEGER, 0), | ||
83 | ASN1_EXP(KRB5_TKTBODY, realm, ASN1_GENERALSTRING, 1), | ||
84 | ASN1_EXP(KRB5_TKTBODY, sname, KRB5_PRINCNAME, 2), | ||
85 | ASN1_EXP(KRB5_TKTBODY, encdata, KRB5_ENCDATA, 3) | ||
86 | } ASN1_SEQUENCE_END(KRB5_TKTBODY) | ||
87 | |||
88 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_TKTBODY) | ||
89 | |||
90 | |||
91 | ASN1_ITEM_TEMPLATE(KRB5_TICKET) = | ||
92 | ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_EXPTAG|ASN1_TFLG_APPLICATION, 1, | ||
93 | KRB5_TICKET, KRB5_TKTBODY) | ||
94 | ASN1_ITEM_TEMPLATE_END(KRB5_TICKET) | ||
95 | |||
96 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_TICKET) | ||
97 | |||
98 | |||
99 | /* [APPLICATION 14] = 0x6e */ | ||
100 | ASN1_SEQUENCE(KRB5_APREQBODY) = { | ||
101 | ASN1_EXP(KRB5_APREQBODY, pvno, ASN1_INTEGER, 0), | ||
102 | ASN1_EXP(KRB5_APREQBODY, msgtype, ASN1_INTEGER, 1), | ||
103 | ASN1_EXP(KRB5_APREQBODY, apoptions, ASN1_BIT_STRING, 2), | ||
104 | ASN1_EXP(KRB5_APREQBODY, ticket, KRB5_TICKET, 3), | ||
105 | ASN1_EXP(KRB5_APREQBODY, authenticator, KRB5_ENCDATA, 4), | ||
106 | } ASN1_SEQUENCE_END(KRB5_APREQBODY) | ||
107 | |||
108 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_APREQBODY) | ||
109 | |||
110 | ASN1_ITEM_TEMPLATE(KRB5_APREQ) = | ||
111 | ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_EXPTAG|ASN1_TFLG_APPLICATION, 14, | ||
112 | KRB5_APREQ, KRB5_APREQBODY) | ||
113 | ASN1_ITEM_TEMPLATE_END(KRB5_APREQ) | ||
114 | |||
115 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_APREQ) | ||
116 | |||
117 | |||
118 | /* Authenticator stuff */ | ||
119 | |||
120 | ASN1_SEQUENCE(KRB5_CHECKSUM) = { | ||
121 | ASN1_EXP(KRB5_CHECKSUM, ctype, ASN1_INTEGER, 0), | ||
122 | ASN1_EXP(KRB5_CHECKSUM, checksum, ASN1_OCTET_STRING,1) | ||
123 | } ASN1_SEQUENCE_END(KRB5_CHECKSUM) | ||
124 | |||
125 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_CHECKSUM) | ||
126 | |||
127 | |||
128 | ASN1_SEQUENCE(KRB5_ENCKEY) = { | ||
129 | ASN1_EXP(KRB5_ENCKEY, ktype, ASN1_INTEGER, 0), | ||
130 | ASN1_EXP(KRB5_ENCKEY, keyvalue, ASN1_OCTET_STRING,1) | ||
131 | } ASN1_SEQUENCE_END(KRB5_ENCKEY) | ||
132 | |||
133 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_ENCKEY) | ||
134 | |||
135 | |||
136 | /* SEQ OF SEQ; see ASN1_EXP_SEQUENCE_OF_OPT() below */ | ||
137 | ASN1_SEQUENCE(KRB5_AUTHDATA) = { | ||
138 | ASN1_EXP(KRB5_AUTHDATA, adtype, ASN1_INTEGER, 0), | ||
139 | ASN1_EXP(KRB5_AUTHDATA, addata, ASN1_OCTET_STRING,1) | ||
140 | } ASN1_SEQUENCE_END(KRB5_AUTHDATA) | ||
141 | |||
142 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_AUTHDATA) | ||
143 | |||
144 | |||
145 | /* [APPLICATION 2] = 0x62 */ | ||
146 | ASN1_SEQUENCE(KRB5_AUTHENTBODY) = { | ||
147 | ASN1_EXP(KRB5_AUTHENTBODY, avno, ASN1_INTEGER, 0), | ||
148 | ASN1_EXP(KRB5_AUTHENTBODY, crealm, ASN1_GENERALSTRING, 1), | ||
149 | ASN1_EXP(KRB5_AUTHENTBODY, cname, KRB5_PRINCNAME, 2), | ||
150 | ASN1_EXP_OPT(KRB5_AUTHENTBODY, cksum, KRB5_CHECKSUM, 3), | ||
151 | ASN1_EXP(KRB5_AUTHENTBODY, cusec, ASN1_INTEGER, 4), | ||
152 | ASN1_EXP(KRB5_AUTHENTBODY, ctime, ASN1_GENERALIZEDTIME, 5), | ||
153 | ASN1_EXP_OPT(KRB5_AUTHENTBODY, subkey, KRB5_ENCKEY, 6), | ||
154 | ASN1_EXP_OPT(KRB5_AUTHENTBODY, seqnum, ASN1_INTEGER, 7), | ||
155 | ASN1_EXP_SEQUENCE_OF_OPT | ||
156 | (KRB5_AUTHENTBODY, authorization, KRB5_AUTHDATA, 8), | ||
157 | } ASN1_SEQUENCE_END(KRB5_AUTHENTBODY) | ||
158 | |||
159 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_AUTHENTBODY) | ||
160 | |||
161 | ASN1_ITEM_TEMPLATE(KRB5_AUTHENT) = | ||
162 | ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_EXPTAG|ASN1_TFLG_APPLICATION, 2, | ||
163 | KRB5_AUTHENT, KRB5_AUTHENTBODY) | ||
164 | ASN1_ITEM_TEMPLATE_END(KRB5_AUTHENT) | ||
165 | |||
166 | IMPLEMENT_ASN1_FUNCTIONS(KRB5_AUTHENT) | ||
167 | |||
diff --git a/src/lib/libcrypto/krb5/krb5_asn.h b/src/lib/libcrypto/krb5/krb5_asn.h deleted file mode 100644 index 3329477b07..0000000000 --- a/src/lib/libcrypto/krb5/krb5_asn.h +++ /dev/null | |||
@@ -1,256 +0,0 @@ | |||
1 | /* krb5_asn.h */ | ||
2 | /* Written by Vern Staats <staatsvr@asc.hpc.mil> for the OpenSSL project, | ||
3 | ** using ocsp/{*.h,*asn*.c} as a starting point | ||
4 | */ | ||
5 | |||
6 | /* ==================================================================== | ||
7 | * Copyright (c) 1998-2000 The OpenSSL Project. All rights reserved. | ||
8 | * | ||
9 | * Redistribution and use in source and binary forms, with or without | ||
10 | * modification, are permitted provided that the following conditions | ||
11 | * are met: | ||
12 | * | ||
13 | * 1. Redistributions of source code must retain the above copyright | ||
14 | * notice, this list of conditions and the following disclaimer. | ||
15 | * | ||
16 | * 2. Redistributions in binary form must reproduce the above copyright | ||
17 | * notice, this list of conditions and the following disclaimer in | ||
18 | * the documentation and/or other materials provided with the | ||
19 | * distribution. | ||
20 | * | ||
21 | * 3. All advertising materials mentioning features or use of this | ||
22 | * software must display the following acknowledgment: | ||
23 | * "This product includes software developed by the OpenSSL Project | ||
24 | * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
25 | * | ||
26 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
27 | * endorse or promote products derived from this software without | ||
28 | * prior written permission. For written permission, please contact | ||
29 | * openssl-core@openssl.org. | ||
30 | * | ||
31 | * 5. Products derived from this software may not be called "OpenSSL" | ||
32 | * nor may "OpenSSL" appear in their names without prior written | ||
33 | * permission of the OpenSSL Project. | ||
34 | * | ||
35 | * 6. Redistributions of any form whatsoever must retain the following | ||
36 | * acknowledgment: | ||
37 | * "This product includes software developed by the OpenSSL Project | ||
38 | * for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
39 | * | ||
40 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
41 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
42 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
43 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
44 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
45 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
46 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
47 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
48 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
49 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
50 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
51 | * OF THE POSSIBILITY OF SUCH DAMAGE. | ||
52 | * ==================================================================== | ||
53 | * | ||
54 | * This product includes cryptographic software written by Eric Young | ||
55 | * (eay@cryptsoft.com). This product includes software written by Tim | ||
56 | * Hudson (tjh@cryptsoft.com). | ||
57 | * | ||
58 | */ | ||
59 | |||
60 | #ifndef HEADER_KRB5_ASN_H | ||
61 | #define HEADER_KRB5_ASN_H | ||
62 | |||
63 | /* | ||
64 | #include <krb5.h> | ||
65 | */ | ||
66 | #include <openssl/safestack.h> | ||
67 | |||
68 | #ifdef __cplusplus | ||
69 | extern "C" { | ||
70 | #endif | ||
71 | |||
72 | |||
73 | /* ASN.1 from Kerberos RFC 1510 | ||
74 | */ | ||
75 | |||
76 | /* EncryptedData ::= SEQUENCE { | ||
77 | ** etype[0] INTEGER, -- EncryptionType | ||
78 | ** kvno[1] INTEGER OPTIONAL, | ||
79 | ** cipher[2] OCTET STRING -- ciphertext | ||
80 | ** } | ||
81 | */ | ||
82 | typedef struct krb5_encdata_st | ||
83 | { | ||
84 | ASN1_INTEGER *etype; | ||
85 | ASN1_INTEGER *kvno; | ||
86 | ASN1_OCTET_STRING *cipher; | ||
87 | } KRB5_ENCDATA; | ||
88 | |||
89 | DECLARE_STACK_OF(KRB5_ENCDATA) | ||
90 | |||
91 | /* PrincipalName ::= SEQUENCE { | ||
92 | ** name-type[0] INTEGER, | ||
93 | ** name-string[1] SEQUENCE OF GeneralString | ||
94 | ** } | ||
95 | */ | ||
96 | typedef struct krb5_princname_st | ||
97 | { | ||
98 | ASN1_INTEGER *nametype; | ||
99 | STACK_OF(ASN1_GENERALSTRING) *namestring; | ||
100 | } KRB5_PRINCNAME; | ||
101 | |||
102 | DECLARE_STACK_OF(KRB5_PRINCNAME) | ||
103 | |||
104 | |||
105 | /* Ticket ::= [APPLICATION 1] SEQUENCE { | ||
106 | ** tkt-vno[0] INTEGER, | ||
107 | ** realm[1] Realm, | ||
108 | ** sname[2] PrincipalName, | ||
109 | ** enc-part[3] EncryptedData | ||
110 | ** } | ||
111 | */ | ||
112 | typedef struct krb5_tktbody_st | ||
113 | { | ||
114 | ASN1_INTEGER *tktvno; | ||
115 | ASN1_GENERALSTRING *realm; | ||
116 | KRB5_PRINCNAME *sname; | ||
117 | KRB5_ENCDATA *encdata; | ||
118 | } KRB5_TKTBODY; | ||
119 | |||
120 | typedef STACK_OF(KRB5_TKTBODY) KRB5_TICKET; | ||
121 | DECLARE_STACK_OF(KRB5_TKTBODY) | ||
122 | |||
123 | |||
124 | /* AP-REQ ::= [APPLICATION 14] SEQUENCE { | ||
125 | ** pvno[0] INTEGER, | ||
126 | ** msg-type[1] INTEGER, | ||
127 | ** ap-options[2] APOptions, | ||
128 | ** ticket[3] Ticket, | ||
129 | ** authenticator[4] EncryptedData | ||
130 | ** } | ||
131 | ** | ||
132 | ** APOptions ::= BIT STRING { | ||
133 | ** reserved(0), use-session-key(1), mutual-required(2) } | ||
134 | */ | ||
135 | typedef struct krb5_ap_req_st | ||
136 | { | ||
137 | ASN1_INTEGER *pvno; | ||
138 | ASN1_INTEGER *msgtype; | ||
139 | ASN1_BIT_STRING *apoptions; | ||
140 | KRB5_TICKET *ticket; | ||
141 | KRB5_ENCDATA *authenticator; | ||
142 | } KRB5_APREQBODY; | ||
143 | |||
144 | typedef STACK_OF(KRB5_APREQBODY) KRB5_APREQ; | ||
145 | DECLARE_STACK_OF(KRB5_APREQBODY) | ||
146 | |||
147 | |||
148 | /* Authenticator Stuff */ | ||
149 | |||
150 | |||
151 | /* Checksum ::= SEQUENCE { | ||
152 | ** cksumtype[0] INTEGER, | ||
153 | ** checksum[1] OCTET STRING | ||
154 | ** } | ||
155 | */ | ||
156 | typedef struct krb5_checksum_st | ||
157 | { | ||
158 | ASN1_INTEGER *ctype; | ||
159 | ASN1_OCTET_STRING *checksum; | ||
160 | } KRB5_CHECKSUM; | ||
161 | |||
162 | DECLARE_STACK_OF(KRB5_CHECKSUM) | ||
163 | |||
164 | |||
165 | /* EncryptionKey ::= SEQUENCE { | ||
166 | ** keytype[0] INTEGER, | ||
167 | ** keyvalue[1] OCTET STRING | ||
168 | ** } | ||
169 | */ | ||
170 | typedef struct krb5_encryptionkey_st | ||
171 | { | ||
172 | ASN1_INTEGER *ktype; | ||
173 | ASN1_OCTET_STRING *keyvalue; | ||
174 | } KRB5_ENCKEY; | ||
175 | |||
176 | DECLARE_STACK_OF(KRB5_ENCKEY) | ||
177 | |||
178 | |||
179 | /* AuthorizationData ::= SEQUENCE OF SEQUENCE { | ||
180 | ** ad-type[0] INTEGER, | ||
181 | ** ad-data[1] OCTET STRING | ||
182 | ** } | ||
183 | */ | ||
184 | typedef struct krb5_authorization_st | ||
185 | { | ||
186 | ASN1_INTEGER *adtype; | ||
187 | ASN1_OCTET_STRING *addata; | ||
188 | } KRB5_AUTHDATA; | ||
189 | |||
190 | DECLARE_STACK_OF(KRB5_AUTHDATA) | ||
191 | |||
192 | |||
193 | /* -- Unencrypted authenticator | ||
194 | ** Authenticator ::= [APPLICATION 2] SEQUENCE { | ||
195 | ** authenticator-vno[0] INTEGER, | ||
196 | ** crealm[1] Realm, | ||
197 | ** cname[2] PrincipalName, | ||
198 | ** cksum[3] Checksum OPTIONAL, | ||
199 | ** cusec[4] INTEGER, | ||
200 | ** ctime[5] KerberosTime, | ||
201 | ** subkey[6] EncryptionKey OPTIONAL, | ||
202 | ** seq-number[7] INTEGER OPTIONAL, | ||
203 | ** authorization-data[8] AuthorizationData OPTIONAL | ||
204 | ** } | ||
205 | */ | ||
206 | typedef struct krb5_authenticator_st | ||
207 | { | ||
208 | ASN1_INTEGER *avno; | ||
209 | ASN1_GENERALSTRING *crealm; | ||
210 | KRB5_PRINCNAME *cname; | ||
211 | KRB5_CHECKSUM *cksum; | ||
212 | ASN1_INTEGER *cusec; | ||
213 | ASN1_GENERALIZEDTIME *ctime; | ||
214 | KRB5_ENCKEY *subkey; | ||
215 | ASN1_INTEGER *seqnum; | ||
216 | KRB5_AUTHDATA *authorization; | ||
217 | } KRB5_AUTHENTBODY; | ||
218 | |||
219 | typedef STACK_OF(KRB5_AUTHENTBODY) KRB5_AUTHENT; | ||
220 | DECLARE_STACK_OF(KRB5_AUTHENTBODY) | ||
221 | |||
222 | |||
223 | /* DECLARE_ASN1_FUNCTIONS(type) = DECLARE_ASN1_FUNCTIONS_name(type, type) = | ||
224 | ** type *name##_new(void); | ||
225 | ** void name##_free(type *a); | ||
226 | ** DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) = | ||
227 | ** DECLARE_ASN1_ENCODE_FUNCTIONS(type, itname, name) = | ||
228 | ** type *d2i_##name(type **a, unsigned char **in, long len); | ||
229 | ** int i2d_##name(type *a, unsigned char **out); | ||
230 | ** DECLARE_ASN1_ITEM(itname) = OPENSSL_EXTERN const ASN1_ITEM itname##_it | ||
231 | */ | ||
232 | |||
233 | DECLARE_ASN1_FUNCTIONS(KRB5_ENCDATA) | ||
234 | DECLARE_ASN1_FUNCTIONS(KRB5_PRINCNAME) | ||
235 | DECLARE_ASN1_FUNCTIONS(KRB5_TKTBODY) | ||
236 | DECLARE_ASN1_FUNCTIONS(KRB5_APREQBODY) | ||
237 | DECLARE_ASN1_FUNCTIONS(KRB5_TICKET) | ||
238 | DECLARE_ASN1_FUNCTIONS(KRB5_APREQ) | ||
239 | |||
240 | DECLARE_ASN1_FUNCTIONS(KRB5_CHECKSUM) | ||
241 | DECLARE_ASN1_FUNCTIONS(KRB5_ENCKEY) | ||
242 | DECLARE_ASN1_FUNCTIONS(KRB5_AUTHDATA) | ||
243 | DECLARE_ASN1_FUNCTIONS(KRB5_AUTHENTBODY) | ||
244 | DECLARE_ASN1_FUNCTIONS(KRB5_AUTHENT) | ||
245 | |||
246 | |||
247 | /* BEGIN ERROR CODES */ | ||
248 | /* The following lines are auto generated by the script mkerr.pl. Any changes | ||
249 | * made after this point may be overwritten when the script is next run. | ||
250 | */ | ||
251 | |||
252 | #ifdef __cplusplus | ||
253 | } | ||
254 | #endif | ||
255 | #endif | ||
256 | |||