TianoCore EDK2 master
Loading...
Searching...
No Matches
EncoderNull.c
Go to the documentation of this file.
1
9#include <openssl/encoder.h>
10
11OSSL_ENCODER *
12OSSL_ENCODER_fetch (
13 OSSL_LIB_CTX *libctx,
14 const char *name,
15 const char *properties
16 )
17{
18 return NULL;
19}
20
21int
22OSSL_ENCODER_up_ref (
23 OSSL_ENCODER *encoder
24 )
25{
26 return 0;
27}
28
29void
30OSSL_ENCODER_free (
31 OSSL_ENCODER *encoder
32 )
33{
34}
35
36const OSSL_PROVIDER *
37OSSL_ENCODER_get0_provider (
38 const OSSL_ENCODER *encoder
39 )
40{
41 return NULL;
42}
43
44const char *
45OSSL_ENCODER_get0_properties (
46 const OSSL_ENCODER *encoder
47 )
48{
49 return NULL;
50}
51
52const char *
53OSSL_ENCODER_get0_name (
54 const OSSL_ENCODER *kdf
55 )
56{
57 return NULL;
58}
59
60const char *
61OSSL_ENCODER_get0_description (
62 const OSSL_ENCODER *kdf
63 )
64{
65 return NULL;
66}
67
68int
69OSSL_ENCODER_is_a (
70 const OSSL_ENCODER *encoder,
71 const char *name
72 )
73{
74 return 0;
75}
76
77void
78OSSL_ENCODER_do_all_provided (
79 OSSL_LIB_CTX *libctx,
80 void ( *fn )(OSSL_ENCODER *encoder, void *arg),
81 void *arg
82 )
83{
84}
85
86int
87OSSL_ENCODER_names_do_all (
88 const OSSL_ENCODER *encoder,
89 void ( *fn )(const char *name, void *data),
90 void *data
91 )
92{
93 return 0;
94}
95
96const OSSL_PARAM *
97OSSL_ENCODER_gettable_params (
98 OSSL_ENCODER *encoder
99 )
100{
101 return NULL;
102}
103
104int
105OSSL_ENCODER_get_params (
106 OSSL_ENCODER *encoder,
107 OSSL_PARAM params[]
108 )
109{
110 return 0;
111}
112
113const OSSL_PARAM *
114OSSL_ENCODER_settable_ctx_params (
115 OSSL_ENCODER *encoder
116 )
117{
118 return NULL;
119}
120
121OSSL_ENCODER_CTX *
122OSSL_ENCODER_CTX_new (
123 void
124 )
125{
126 return NULL;
127}
128
129int
130OSSL_ENCODER_CTX_set_params (
131 OSSL_ENCODER_CTX *ctx,
132 const OSSL_PARAM params[]
133 )
134{
135 return 0;
136}
137
138void
139OSSL_ENCODER_CTX_free (
140 OSSL_ENCODER_CTX *ctx
141 )
142{
143}
144
145/* Utilities that help set specific parameters */
146int
147OSSL_ENCODER_CTX_set_passphrase (
148 OSSL_ENCODER_CTX *ctx,
149 const unsigned char *kstr,
150 size_t klen
151 )
152{
153 return 0;
154}
155
156int
157OSSL_ENCODER_CTX_set_pem_password_cb (
158 OSSL_ENCODER_CTX *ctx,
159 pem_password_cb *cb,
160 void *cbarg
161 )
162{
163 return 0;
164}
165
166int
167OSSL_ENCODER_CTX_set_passphrase_cb (
168 OSSL_ENCODER_CTX *ctx,
169 OSSL_PASSPHRASE_CALLBACK *cb,
170 void *cbarg
171 )
172{
173 return 0;
174}
175
176int
177OSSL_ENCODER_CTX_set_passphrase_ui (
178 OSSL_ENCODER_CTX *ctx,
179 const UI_METHOD *ui_method,
180 void *ui_data
181 )
182{
183 return 0;
184}
185
186int
187OSSL_ENCODER_CTX_set_cipher (
188 OSSL_ENCODER_CTX *ctx,
189 const char *cipher_name,
190 const char *propquery
191 )
192{
193 return 0;
194}
195
196int
197OSSL_ENCODER_CTX_set_selection (
198 OSSL_ENCODER_CTX *ctx,
199 int selection
200 )
201{
202 return 0;
203}
204
205int
206OSSL_ENCODER_CTX_set_output_type (
207 OSSL_ENCODER_CTX *ctx,
208 const char *output_type
209 )
210{
211 return 0;
212}
213
214int
215OSSL_ENCODER_CTX_set_output_structure (
216 OSSL_ENCODER_CTX *ctx,
217 const char *output_structure
218 )
219{
220 return 0;
221}
222
223/* Utilities to add encoders */
224int
225OSSL_ENCODER_CTX_add_encoder (
226 OSSL_ENCODER_CTX *ctx,
227 OSSL_ENCODER *encoder
228 )
229{
230 return 0;
231}
232
233int
234OSSL_ENCODER_CTX_add_extra (
235 OSSL_ENCODER_CTX *ctx,
236 OSSL_LIB_CTX *libctx,
237 const char *propq
238 )
239{
240 return 0;
241}
242
243int
244OSSL_ENCODER_CTX_get_num_encoders (
245 OSSL_ENCODER_CTX *ctx
246 )
247{
248 return 0;
249}
250
251OSSL_ENCODER *
252OSSL_ENCODER_INSTANCE_get_encoder (
253 OSSL_ENCODER_INSTANCE *encoder_inst
254 )
255{
256 return NULL;
257}
258
259void *
260OSSL_ENCODER_INSTANCE_get_encoder_ctx (
261 OSSL_ENCODER_INSTANCE *encoder_inst
262 )
263{
264 return NULL;
265}
266
267const char *
268OSSL_ENCODER_INSTANCE_get_output_type (
269 OSSL_ENCODER_INSTANCE *encoder_inst
270 )
271{
272 return NULL;
273}
274
275const char *
276OSSL_ENCODER_INSTANCE_get_output_structure (
277 OSSL_ENCODER_INSTANCE *encoder_inst
278 )
279{
280 return NULL;
281}
282
283int
284OSSL_ENCODER_CTX_set_construct (
285 OSSL_ENCODER_CTX *ctx,
286 OSSL_ENCODER_CONSTRUCT *construct
287 )
288{
289 return 0;
290}
291
292int
293OSSL_ENCODER_CTX_set_construct_data (
294 OSSL_ENCODER_CTX *ctx,
295 void *construct_data
296 )
297{
298 return 0;
299}
300
301int
302OSSL_ENCODER_CTX_set_cleanup (
303 OSSL_ENCODER_CTX *ctx,
304 OSSL_ENCODER_CLEANUP *cleanup
305 )
306{
307 return 0;
308}
309
310/* Utilities to output the object to encode */
311int
312OSSL_ENCODER_to_bio (
313 OSSL_ENCODER_CTX *ctx,
314 BIO *out
315 )
316{
317 return 0;
318}
319
320#ifndef OPENSSL_NO_STDIO
321int
322OSSL_ENCODER_to_fp (
323 OSSL_ENCODER_CTX *ctx,
324 FILE *fp
325 );
326
327#endif
328int
329OSSL_ENCODER_to_data (
330 OSSL_ENCODER_CTX *ctx,
331 unsigned char **pdata,
332 size_t *pdata_len
333 )
334{
335 return 0;
336}
337
338OSSL_ENCODER_CTX *
339OSSL_ENCODER_CTX_new_for_pkey (
340 const EVP_PKEY *pkey,
341 int selection,
342 const char *output_type,
343 const char *output_struct,
344 const char *propquery
345 )
346{
347 return NULL;
348}
349
350int
351ossl_encoder_store_remove_all_provided (
352 const OSSL_PROVIDER *prov
353 )
354{
355 return -1;
356}
357
358int
359ossl_encoder_store_cache_flush (
360 OSSL_LIB_CTX *libctx
361 )
362{
363 return -1;
364}
#define NULL
Definition: Base.h:319