Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: nss/lib/pki/symmkey.c

Issue 2078763002: Delete bundled copy of NSS and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss@master
Patch Set: Delete bundled copy of NSS and replace with README. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « nss/lib/pki/pkitm.h ('k') | nss/lib/pki/tdcache.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 #ifndef NSSPKI_H
6 #include "nsspki.h"
7 #endif /* NSSPKI_H */
8
9 extern const NSSError NSS_ERROR_NOT_FOUND;
10
11 NSS_IMPLEMENT PRStatus
12 NSSSymmetricKey_Destroy (
13 NSSSymmetricKey *mk
14 )
15 {
16 nss_SetError(NSS_ERROR_NOT_FOUND);
17 return PR_FAILURE;
18 }
19
20 NSS_IMPLEMENT PRStatus
21 NSSSymmetricKey_DeleteStoredObject (
22 NSSSymmetricKey *mk,
23 NSSCallback *uhh
24 )
25 {
26 nss_SetError(NSS_ERROR_NOT_FOUND);
27 return PR_FAILURE;
28 }
29
30 NSS_IMPLEMENT PRUint32
31 NSSSymmetricKey_GetKeyLength (
32 NSSSymmetricKey *mk
33 )
34 {
35 nss_SetError(NSS_ERROR_NOT_FOUND);
36 return -1;
37 }
38
39 NSS_IMPLEMENT PRUint32
40 NSSSymmetricKey_GetKeyStrength (
41 NSSSymmetricKey *mk
42 )
43 {
44 nss_SetError(NSS_ERROR_NOT_FOUND);
45 return -1;
46 }
47
48 NSS_IMPLEMENT PRStatus
49 NSSSymmetricKey_IsStillPresent (
50 NSSSymmetricKey *mk
51 )
52 {
53 nss_SetError(NSS_ERROR_NOT_FOUND);
54 return PR_FAILURE;
55 }
56
57 NSS_IMPLEMENT NSSTrustDomain *
58 NSSSymmetricKey_GetTrustDomain (
59 NSSSymmetricKey *mk,
60 PRStatus *statusOpt
61 )
62 {
63 nss_SetError(NSS_ERROR_NOT_FOUND);
64 return NULL;
65 }
66
67 NSS_IMPLEMENT NSSToken *
68 NSSSymmetricKey_GetToken (
69 NSSSymmetricKey *mk,
70 PRStatus *statusOpt
71 )
72 {
73 nss_SetError(NSS_ERROR_NOT_FOUND);
74 return NULL;
75 }
76
77 NSS_IMPLEMENT NSSSlot *
78 NSSSymmetricKey_GetSlot (
79 NSSSymmetricKey *mk,
80 PRStatus *statusOpt
81 )
82 {
83 nss_SetError(NSS_ERROR_NOT_FOUND);
84 return NULL;
85 }
86
87 NSS_IMPLEMENT NSSModule *
88 NSSSymmetricKey_GetModule (
89 NSSSymmetricKey *mk,
90 PRStatus *statusOpt
91 )
92 {
93 nss_SetError(NSS_ERROR_NOT_FOUND);
94 return NULL;
95 }
96
97 NSS_IMPLEMENT NSSItem *
98 NSSSymmetricKey_Encrypt (
99 NSSSymmetricKey *mk,
100 NSSAlgorithmAndParameters *apOpt,
101 NSSItem *data,
102 NSSCallback *uhh,
103 NSSItem *rvOpt,
104 NSSArena *arenaOpt
105 )
106 {
107 nss_SetError(NSS_ERROR_NOT_FOUND);
108 return NULL;
109 }
110
111 NSS_IMPLEMENT NSSItem *
112 NSSSymmetricKey_Decrypt (
113 NSSSymmetricKey *mk,
114 NSSAlgorithmAndParameters *apOpt,
115 NSSItem *encryptedData,
116 NSSCallback *uhh,
117 NSSItem *rvOpt,
118 NSSArena *arenaOpt
119 )
120 {
121 nss_SetError(NSS_ERROR_NOT_FOUND);
122 return NULL;
123 }
124
125 NSS_IMPLEMENT NSSItem *
126 NSSSymmetricKey_Sign (
127 NSSSymmetricKey *mk,
128 NSSAlgorithmAndParameters *apOpt,
129 NSSItem *data,
130 NSSCallback *uhh,
131 NSSItem *rvOpt,
132 NSSArena *arenaOpt
133 )
134 {
135 nss_SetError(NSS_ERROR_NOT_FOUND);
136 return NULL;
137 }
138
139 NSS_IMPLEMENT NSSItem *
140 NSSSymmetricKey_SignRecover (
141 NSSSymmetricKey *mk,
142 NSSAlgorithmAndParameters *apOpt,
143 NSSItem *data,
144 NSSCallback *uhh,
145 NSSItem *rvOpt,
146 NSSArena *arenaOpt
147 )
148 {
149 nss_SetError(NSS_ERROR_NOT_FOUND);
150 return NULL;
151 }
152
153 NSS_IMPLEMENT PRStatus
154 NSSSymmetricKey_Verify (
155 NSSSymmetricKey *mk,
156 NSSAlgorithmAndParameters *apOpt,
157 NSSItem *data,
158 NSSItem *signature,
159 NSSCallback *uhh
160 )
161 {
162 nss_SetError(NSS_ERROR_NOT_FOUND);
163 return PR_FAILURE;
164 }
165
166 NSS_IMPLEMENT NSSItem *
167 NSSSymmetricKey_VerifyRecover (
168 NSSSymmetricKey *mk,
169 NSSAlgorithmAndParameters *apOpt,
170 NSSItem *signature,
171 NSSCallback *uhh,
172 NSSItem *rvOpt,
173 NSSArena *arenaOpt
174 )
175 {
176 nss_SetError(NSS_ERROR_NOT_FOUND);
177 return NULL;
178 }
179
180 NSS_IMPLEMENT NSSItem *
181 NSSSymmetricKey_WrapSymmetricKey (
182 NSSSymmetricKey *wrappingKey,
183 NSSAlgorithmAndParameters *apOpt,
184 NSSSymmetricKey *keyToWrap,
185 NSSCallback *uhh,
186 NSSItem *rvOpt,
187 NSSArena *arenaOpt
188 )
189 {
190 nss_SetError(NSS_ERROR_NOT_FOUND);
191 return NULL;
192 }
193
194 NSS_IMPLEMENT NSSItem *
195 NSSSymmetricKey_WrapPrivateKey (
196 NSSSymmetricKey *wrappingKey,
197 NSSAlgorithmAndParameters *apOpt,
198 NSSPrivateKey *keyToWrap,
199 NSSCallback *uhh,
200 NSSItem *rvOpt,
201 NSSArena *arenaOpt
202 )
203 {
204 nss_SetError(NSS_ERROR_NOT_FOUND);
205 return NULL;
206 }
207
208 NSS_IMPLEMENT NSSSymmetricKey *
209 NSSSymmetricKey_UnwrapSymmetricKey (
210 NSSSymmetricKey *wrappingKey,
211 NSSAlgorithmAndParameters *apOpt,
212 NSSItem *wrappedKey,
213 NSSOID *target,
214 PRUint32 keySizeOpt,
215 NSSOperations operations,
216 NSSCallback *uhh
217 )
218 {
219 nss_SetError(NSS_ERROR_NOT_FOUND);
220 return NULL;
221 }
222
223 NSS_IMPLEMENT NSSPrivateKey *
224 NSSSymmetricKey_UnwrapPrivateKey (
225 NSSSymmetricKey *wrappingKey,
226 NSSAlgorithmAndParameters *apOpt,
227 NSSItem *wrappedKey,
228 NSSUTF8 *labelOpt,
229 NSSItem *keyIDOpt,
230 PRBool persistant,
231 PRBool sensitive,
232 NSSToken *destinationOpt,
233 NSSCallback *uhh
234 )
235 {
236 nss_SetError(NSS_ERROR_NOT_FOUND);
237 return NULL;
238 }
239
240 NSS_IMPLEMENT NSSSymmetricKey *
241 NSSSymmetricKey_DeriveSymmetricKey (
242 NSSSymmetricKey *originalKey,
243 NSSAlgorithmAndParameters *apOpt,
244 NSSOID *target,
245 PRUint32 keySizeOpt,
246 NSSOperations operations,
247 NSSCallback *uhh
248 )
249 {
250 nss_SetError(NSS_ERROR_NOT_FOUND);
251 return NULL;
252 }
253
254 NSS_IMPLEMENT NSSCryptoContext *
255 NSSSymmetricKey_CreateCryptoContext (
256 NSSSymmetricKey *mk,
257 NSSAlgorithmAndParameters *apOpt,
258 NSSCallback *uhh
259 )
260 {
261 nss_SetError(NSS_ERROR_NOT_FOUND);
262 return NULL;
263 }
264
OLDNEW
« no previous file with comments | « nss/lib/pki/pkitm.h ('k') | nss/lib/pki/tdcache.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698