xref: /minix3/crypto/external/bsd/heimdal/include/der-private.h (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc /* This is a generated file */
2*ebfedea0SLionel Sambuc #ifndef __der_private_h__
3*ebfedea0SLionel Sambuc #define __der_private_h__
4*ebfedea0SLionel Sambuc 
5*ebfedea0SLionel Sambuc #include <stdarg.h>
6*ebfedea0SLionel Sambuc 
7*ebfedea0SLionel Sambuc int
8*ebfedea0SLionel Sambuc _asn1_copy (
9*ebfedea0SLionel Sambuc 	const struct asn1_template */*t*/,
10*ebfedea0SLionel Sambuc 	const void */*from*/,
11*ebfedea0SLionel Sambuc 	void */*to*/);
12*ebfedea0SLionel Sambuc 
13*ebfedea0SLionel Sambuc int
14*ebfedea0SLionel Sambuc _asn1_copy_top (
15*ebfedea0SLionel Sambuc 	const struct asn1_template */*t*/,
16*ebfedea0SLionel Sambuc 	const void */*from*/,
17*ebfedea0SLionel Sambuc 	void */*to*/);
18*ebfedea0SLionel Sambuc 
19*ebfedea0SLionel Sambuc int
20*ebfedea0SLionel Sambuc _asn1_decode (
21*ebfedea0SLionel Sambuc 	const struct asn1_template */*t*/,
22*ebfedea0SLionel Sambuc 	unsigned /*flags*/,
23*ebfedea0SLionel Sambuc 	const unsigned char */*p*/,
24*ebfedea0SLionel Sambuc 	size_t /*len*/,
25*ebfedea0SLionel Sambuc 	void */*data*/,
26*ebfedea0SLionel Sambuc 	size_t */*size*/);
27*ebfedea0SLionel Sambuc 
28*ebfedea0SLionel Sambuc int
29*ebfedea0SLionel Sambuc _asn1_decode_top (
30*ebfedea0SLionel Sambuc 	const struct asn1_template */*t*/,
31*ebfedea0SLionel Sambuc 	unsigned /*flags*/,
32*ebfedea0SLionel Sambuc 	const unsigned char */*p*/,
33*ebfedea0SLionel Sambuc 	size_t /*len*/,
34*ebfedea0SLionel Sambuc 	void */*data*/,
35*ebfedea0SLionel Sambuc 	size_t */*size*/);
36*ebfedea0SLionel Sambuc 
37*ebfedea0SLionel Sambuc int
38*ebfedea0SLionel Sambuc _asn1_encode (
39*ebfedea0SLionel Sambuc 	const struct asn1_template */*t*/,
40*ebfedea0SLionel Sambuc 	unsigned char */*p*/,
41*ebfedea0SLionel Sambuc 	size_t /*len*/,
42*ebfedea0SLionel Sambuc 	const void */*data*/,
43*ebfedea0SLionel Sambuc 	size_t */*size*/);
44*ebfedea0SLionel Sambuc 
45*ebfedea0SLionel Sambuc void
46*ebfedea0SLionel Sambuc _asn1_free (
47*ebfedea0SLionel Sambuc 	const struct asn1_template */*t*/,
48*ebfedea0SLionel Sambuc 	void */*data*/);
49*ebfedea0SLionel Sambuc 
50*ebfedea0SLionel Sambuc size_t
51*ebfedea0SLionel Sambuc _asn1_length (
52*ebfedea0SLionel Sambuc 	const struct asn1_template */*t*/,
53*ebfedea0SLionel Sambuc 	const void */*data*/);
54*ebfedea0SLionel Sambuc 
55*ebfedea0SLionel Sambuc struct tm *
56*ebfedea0SLionel Sambuc _der_gmtime (
57*ebfedea0SLionel Sambuc 	time_t /*t*/,
58*ebfedea0SLionel Sambuc 	struct tm */*tm*/);
59*ebfedea0SLionel Sambuc 
60*ebfedea0SLionel Sambuc int
61*ebfedea0SLionel Sambuc _heim_der_set_sort (
62*ebfedea0SLionel Sambuc 	const void */*a1*/,
63*ebfedea0SLionel Sambuc 	const void */*a2*/);
64*ebfedea0SLionel Sambuc 
65*ebfedea0SLionel Sambuc int
66*ebfedea0SLionel Sambuc _heim_fix_dce (
67*ebfedea0SLionel Sambuc 	size_t /*reallen*/,
68*ebfedea0SLionel Sambuc 	size_t */*len*/);
69*ebfedea0SLionel Sambuc 
70*ebfedea0SLionel Sambuc size_t
71*ebfedea0SLionel Sambuc _heim_len_int (int /*val*/);
72*ebfedea0SLionel Sambuc 
73*ebfedea0SLionel Sambuc size_t
74*ebfedea0SLionel Sambuc _heim_len_unsigned (unsigned /*val*/);
75*ebfedea0SLionel Sambuc 
76*ebfedea0SLionel Sambuc int
77*ebfedea0SLionel Sambuc _heim_time2generalizedtime (
78*ebfedea0SLionel Sambuc 	time_t /*t*/,
79*ebfedea0SLionel Sambuc 	heim_octet_string */*s*/,
80*ebfedea0SLionel Sambuc 	int /*gtimep*/);
81*ebfedea0SLionel Sambuc 
82*ebfedea0SLionel Sambuc #endif /* __der_private_h__ */
83