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

Side by Side Diff: nss/lib/softoken/softoken.h

Issue 195763027: Update NSS to NSS_3_16_RC0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Use the RTM tag Created 6 years, 9 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 | « nss/lib/softoken/softkver.h ('k') | nss/lib/util/nssutil.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * softoken.h - private data structures and prototypes for the softoken lib 2 * softoken.h - private data structures and prototypes for the softoken lib
3 * 3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public 4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 7
8 #ifndef _SOFTOKEN_H_ 8 #ifndef _SOFTOKEN_H_
9 #define _SOFTOKEN_H_ 9 #define _SOFTOKEN_H_
10 10
(...skipping 17 matching lines...) Expand all
28 extern SECStatus 28 extern SECStatus
29 RSA_HashSign(SECOidTag hashOid, NSSLOWKEYPrivateKey *key, 29 RSA_HashSign(SECOidTag hashOid, NSSLOWKEYPrivateKey *key,
30 unsigned char *sig, unsigned int *sigLen, unsigned int maxLen, 30 unsigned char *sig, unsigned int *sigLen, unsigned int maxLen,
31 const unsigned char *hash, unsigned int hashLen); 31 const unsigned char *hash, unsigned int hashLen);
32 32
33 extern SECStatus 33 extern SECStatus
34 RSA_HashCheckSign(SECOidTag hashOid, NSSLOWKEYPublicKey *key, 34 RSA_HashCheckSign(SECOidTag hashOid, NSSLOWKEYPublicKey *key,
35 const unsigned char *sig, unsigned int sigLen, 35 const unsigned char *sig, unsigned int sigLen,
36 const unsigned char *hash, unsigned int hashLen); 36 const unsigned char *hash, unsigned int hashLen);
37 37
38 #ifdef NSS_ENABLE_ECC 38 #ifndef NSS_DISABLE_ECC
39 /* 39 /*
40 ** pepare an ECParam structure from DEREncoded params 40 ** pepare an ECParam structure from DEREncoded params
41 */ 41 */
42 extern SECStatus EC_FillParams(PLArenaPool *arena, 42 extern SECStatus EC_FillParams(PLArenaPool *arena,
43 const SECItem *encodedParams, ECParams *params); 43 const SECItem *encodedParams, ECParams *params);
44 extern SECStatus EC_DecodeParams(const SECItem *encodedParams, 44 extern SECStatus EC_DecodeParams(const SECItem *encodedParams,
45 ECParams **ecparams); 45 ECParams **ecparams);
46 extern SECStatus EC_CopyParams(PLArenaPool *arena, ECParams *dstParams, 46 extern SECStatus EC_CopyParams(PLArenaPool *arena, ECParams *dstParams,
47 const ECParams *srcParams); 47 const ECParams *srcParams);
48 #endif 48 #endif
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 #ifndef NO_FORK_CHECK 270 #ifndef NO_FORK_CHECK
271 #define NO_FORK_CHECK 271 #define NO_FORK_CHECK
272 #endif 272 #endif
273 273
274 #endif 274 #endif
275 275
276 276
277 SEC_END_PROTOS 277 SEC_END_PROTOS
278 278
279 #endif /* _SOFTOKEN_H_ */ 279 #endif /* _SOFTOKEN_H_ */
OLDNEW
« no previous file with comments | « nss/lib/softoken/softkver.h ('k') | nss/lib/util/nssutil.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698