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