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

Side by Side Diff: mozilla/security/nss/lib/ckfw/nssckfwt.h

Issue 14249009: Change the NSS and NSPR source tree to the new directory structure to be (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « mozilla/security/nss/lib/ckfw/nssckfwc.h ('k') | mozilla/security/nss/lib/ckfw/nssckg.h » ('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 NSSCKFWT_H
6 #define NSSCKFWT_H
7
8 #ifdef DEBUG
9 static const char NSSCKFWT_CVS_ID[] = "@(#) $RCSfile: nssckfwt.h,v $ $Revision: 1.6 $ $Date: 2012/04/25 14:49:28 $";
10 #endif /* DEBUG */
11
12 /*
13 * nssckfwt.h
14 *
15 * This file declares the public types used by the NSS Cryptoki Framework.
16 */
17
18 /*
19 * NSSCKFWInstance
20 *
21 */
22
23 struct NSSCKFWInstanceStr;
24 typedef struct NSSCKFWInstanceStr NSSCKFWInstance;
25
26 /*
27 * NSSCKFWSlot
28 *
29 */
30
31 struct NSSCKFWSlotStr;
32 typedef struct NSSCKFWSlotStr NSSCKFWSlot;
33
34 /*
35 * NSSCKFWToken
36 *
37 */
38
39 struct NSSCKFWTokenStr;
40 typedef struct NSSCKFWTokenStr NSSCKFWToken;
41
42 /*
43 * NSSCKFWMechanism
44 *
45 */
46
47 struct NSSCKFWMechanismStr;
48 typedef struct NSSCKFWMechanismStr NSSCKFWMechanism;
49
50 /*
51 * NSSCKFWCryptoOperation
52 *
53 */
54
55 struct NSSCKFWCryptoOperationStr;
56 typedef struct NSSCKFWCryptoOperationStr NSSCKFWCryptoOperation;
57
58
59 /*
60 * NSSCKFWSession
61 *
62 */
63
64 struct NSSCKFWSessionStr;
65 typedef struct NSSCKFWSessionStr NSSCKFWSession;
66
67 /*
68 * NSSCKFWObject
69 *
70 */
71
72 struct NSSCKFWObjectStr;
73 typedef struct NSSCKFWObjectStr NSSCKFWObject;
74
75 /*
76 * NSSCKFWFindObjects
77 *
78 */
79
80 struct NSSCKFWFindObjectsStr;
81 typedef struct NSSCKFWFindObjectsStr NSSCKFWFindObjects;
82
83 /*
84 * NSSCKFWMutex
85 *
86 */
87
88 struct NSSCKFWMutexStr;
89 typedef struct NSSCKFWMutexStr NSSCKFWMutex;
90
91 typedef enum {
92 SingleThreaded,
93 MultiThreaded
94 } CryptokiLockingState ;
95
96 /* used as an index into an array, make sure it starts at '0' */
97 typedef enum {
98 NSSCKFWCryptoOperationState_EncryptDecrypt = 0,
99 NSSCKFWCryptoOperationState_SignVerify,
100 NSSCKFWCryptoOperationState_Digest,
101 NSSCKFWCryptoOperationState_Max
102 } NSSCKFWCryptoOperationState;
103
104 typedef enum {
105 NSSCKFWCryptoOperationType_Encrypt,
106 NSSCKFWCryptoOperationType_Decrypt,
107 NSSCKFWCryptoOperationType_Digest,
108 NSSCKFWCryptoOperationType_Sign,
109 NSSCKFWCryptoOperationType_Verify,
110 NSSCKFWCryptoOperationType_SignRecover,
111 NSSCKFWCryptoOperationType_VerifyRecover
112 } NSSCKFWCryptoOperationType;
113
114 #endif /* NSSCKFWT_H */
OLDNEW
« no previous file with comments | « mozilla/security/nss/lib/ckfw/nssckfwc.h ('k') | mozilla/security/nss/lib/ckfw/nssckg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698