TianoCore EDK2 master
Loading...
Searching...
No Matches
ossl_store.c
Go to the documentation of this file.
1
9#include <openssl/types.h>
10#include <openssl/core_dispatch.h>
11#include <openssl/store.h>
12
13/*
14 * This function is cleanup ossl store.
15 *
16 * Dummy Implement for UEFI
17 */
18void
19ossl_store_cleanup_int (
20 void
21 )
22{
23}
24
25int
26ossl_store_loader_store_cache_flush (
27 OSSL_LIB_CTX *libctx
28 )
29{
30 return 1;
31}
32
33int
34ossl_store_loader_store_remove_all_provided (
35 OSSL_PROVIDER *prov
36 )
37{
38 return 1;
39}
40
41static void *
42file_open (
43 void *provctx,
44 const char *uri
45 )
46{
47 return NULL;
48}
49
50const OSSL_DISPATCH ossl_file_store_functions[] = {
51 { OSSL_FUNC_STORE_OPEN, (void (*)(void)) file_open },
52 { 0, NULL },
53};
54
55OSSL_STORE_CTX *
56OSSL_STORE_open (
57 const char *uri,
58 const UI_METHOD *ui_method,
59 void *ui_data,
60 OSSL_STORE_post_process_info_fn post_process,
61 void *post_process_data
62 )
63{
64 return NULL;
65}
66
67OSSL_STORE_CTX *
68OSSL_STORE_open_ex (
69 const char *uri,
70 OSSL_LIB_CTX *libctx,
71 const char *propq,
72 const UI_METHOD *ui_method,
73 void *ui_data,
74 const OSSL_PARAM params[],
75 OSSL_STORE_post_process_info_fn post_process,
76 void *post_process_data
77 )
78{
79 return NULL;
80}
81
82int
83OSSL_STORE_INFO_get_type (
84 const OSSL_STORE_INFO *info
85 )
86{
87 return 0;
88}
89
90int
91OSSL_STORE_find (
92 OSSL_STORE_CTX *ctx,
93 const OSSL_STORE_SEARCH *search
94 )
95{
96 return 0;
97}
98
99OSSL_STORE_INFO *
100OSSL_STORE_load (
101 OSSL_STORE_CTX *ctx
102 )
103{
104 return NULL;
105}
106
107const char *
108OSSL_STORE_INFO_get0_NAME (
109 const OSSL_STORE_INFO *info
110 )
111{
112 return NULL;
113}
114
115X509 *
116OSSL_STORE_INFO_get0_CERT (
117 const OSSL_STORE_INFO *info
118 )
119{
120 return NULL;
121}
122
123X509_CRL *
124OSSL_STORE_INFO_get0_CRL (
125 const OSSL_STORE_INFO *info
126 )
127{
128 return NULL;
129}
130
131int
132OSSL_STORE_eof (
133 OSSL_STORE_CTX *ctx
134 )
135{
136 return 0;
137}
138
139int
140OSSL_STORE_error (
141 OSSL_STORE_CTX *ctx
142 )
143{
144 return 0;
145}
146
147int
148OSSL_STORE_close (
149 OSSL_STORE_CTX *ctx
150 )
151{
152 return 0;
153}
154
155void
156OSSL_STORE_INFO_free (
157 OSSL_STORE_INFO *info
158 )
159{
160}
161
162OSSL_STORE_SEARCH *
163OSSL_STORE_SEARCH_by_name (
164 X509_NAME *name
165 )
166{
167 return NULL;
168}
169
170void
171OSSL_STORE_SEARCH_free (
172 OSSL_STORE_SEARCH *search
173 )
174{
175}
#define NULL
Definition: Base.h:319