xref: /netbsd-src/crypto/external/bsd/heimdal/include/der-private.h (revision d3273b5b76f5afaafe308cead5511dbb8df8c5e9)
1 /* This is a generated file */
2 #ifndef __der_private_h__
3 #define __der_private_h__
4 
5 #include <stdarg.h>
6 
7 int
8 _asn1_bmember_isset_bit (
9 	const void */*data*/,
10 	unsigned int /*bit*/,
11 	size_t /*size*/);
12 
13 void
14 _asn1_bmember_put_bit (
15 	unsigned char */*p*/,
16 	const void */*data*/,
17 	unsigned int /*bit*/,
18 	size_t /*size*/,
19 	unsigned int */*bitset*/);
20 
21 int
22 _asn1_copy (
23 	const struct asn1_template */*t*/,
24 	const void */*from*/,
25 	void */*to*/);
26 
27 int
28 _asn1_copy_top (
29 	const struct asn1_template */*t*/,
30 	const void */*from*/,
31 	void */*to*/);
32 
33 int
34 _asn1_decode (
35 	const struct asn1_template */*t*/,
36 	unsigned /*flags*/,
37 	const unsigned char */*p*/,
38 	size_t /*len*/,
39 	void */*data*/,
40 	size_t */*size*/);
41 
42 int
43 _asn1_decode_top (
44 	const struct asn1_template */*t*/,
45 	unsigned /*flags*/,
46 	const unsigned char */*p*/,
47 	size_t /*len*/,
48 	void */*data*/,
49 	size_t */*size*/);
50 
51 int
52 _asn1_encode (
53 	const struct asn1_template */*t*/,
54 	unsigned char */*p*/,
55 	size_t /*len*/,
56 	const void */*data*/,
57 	size_t */*size*/);
58 
59 int
60 _asn1_encode_fuzzer (
61 	const struct asn1_template */*t*/,
62 	unsigned char */*p*/,
63 	size_t /*len*/,
64 	const void */*data*/,
65 	size_t */*size*/);
66 
67 void
68 _asn1_free (
69 	const struct asn1_template */*t*/,
70 	void */*data*/);
71 
72 void
73 _asn1_free_top (
74 	const struct asn1_template */*t*/,
75 	void */*data*/);
76 
77 size_t
78 _asn1_length (
79 	const struct asn1_template */*t*/,
80 	const void */*data*/);
81 
82 size_t
83 _asn1_length_fuzzer (
84 	const struct asn1_template */*t*/,
85 	const void */*data*/);
86 
87 size_t
88 _asn1_sizeofType (const struct asn1_template */*t*/);
89 
90 struct tm *
91 _der_gmtime (
92 	time_t /*t*/,
93 	struct tm */*tm*/);
94 
95 int
96 _heim_der_set_sort (
97 	const void */*a1*/,
98 	const void */*a2*/);
99 
100 int
101 _heim_fix_dce (
102 	size_t /*reallen*/,
103 	size_t */*len*/);
104 
105 size_t
106 _heim_len_int (int /*val*/);
107 
108 size_t
109 _heim_len_int64 (int64_t /*val*/);
110 
111 size_t
112 _heim_len_unsigned (unsigned /*val*/);
113 
114 size_t
115 _heim_len_unsigned64 (uint64_t /*val*/);
116 
117 int
118 _heim_time2generalizedtime (
119 	time_t /*t*/,
120 	heim_octet_string */*s*/,
121 	int /*gtimep*/);
122 
123 #endif /* __der_private_h__ */
124