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

Side by Side Diff: nss/lib/pk11wrap/pk11pub.h

Issue 13898013: Update NSS to NSS_3_15_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update NSS versions and tag in README.chromium 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
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 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 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/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 #ifndef _PK11PUB_H_ 4 #ifndef _PK11PUB_H_
5 #define _PK11PUB_H_ 5 #define _PK11PUB_H_
6 #include "plarena.h" 6 #include "plarena.h"
7 #include "seccomon.h" 7 #include "seccomon.h"
8 #include "secoidt.h" 8 #include "secoidt.h"
9 #include "secdert.h" 9 #include "secdert.h"
10 #include "keyt.h" 10 #include "keyt.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 * create and destroy merge logs needed by PK11_MergeTokens 229 * create and destroy merge logs needed by PK11_MergeTokens
230 */ 230 */
231 PK11MergeLog * PK11_CreateMergeLog(void); 231 PK11MergeLog * PK11_CreateMergeLog(void);
232 void PK11_DestroyMergeLog(PK11MergeLog *log); 232 void PK11_DestroyMergeLog(PK11MergeLog *log);
233 233
234 234
235 235
236 /********************************************************************* 236 /*********************************************************************
237 * Mechanism Mapping functions 237 * Mechanism Mapping functions
238 *********************************************************************/ 238 *********************************************************************/
239 CK_MECHANISM_TYPE PK11_GetKeyType(CK_MECHANISM_TYPE type,unsigned long len); 239 CK_KEY_TYPE PK11_GetKeyType(CK_MECHANISM_TYPE type,unsigned long len);
240 CK_MECHANISM_TYPE PK11_GetKeyGen(CK_MECHANISM_TYPE type); 240 CK_MECHANISM_TYPE PK11_GetKeyGen(CK_MECHANISM_TYPE type);
241 int PK11_GetBlockSize(CK_MECHANISM_TYPE type,SECItem *params); 241 int PK11_GetBlockSize(CK_MECHANISM_TYPE type,SECItem *params);
242 int PK11_GetIVLength(CK_MECHANISM_TYPE type); 242 int PK11_GetIVLength(CK_MECHANISM_TYPE type);
243 SECItem *PK11_ParamFromIV(CK_MECHANISM_TYPE type,SECItem *iv); 243 SECItem *PK11_ParamFromIV(CK_MECHANISM_TYPE type,SECItem *iv);
244 unsigned char *PK11_IVFromParam(CK_MECHANISM_TYPE type,SECItem *param,int *len); 244 unsigned char *PK11_IVFromParam(CK_MECHANISM_TYPE type,SECItem *param,int *len);
245 SECItem * PK11_BlockData(SECItem *data,unsigned long size); 245 SECItem * PK11_BlockData(SECItem *data,unsigned long size);
246 246
247 /* PKCS #11 to DER mapping functions */ 247 /* PKCS #11 to DER mapping functions */
248 SECItem *PK11_ParamFromAlgid(SECAlgorithmID *algid); 248 SECItem *PK11_ParamFromAlgid(SECAlgorithmID *algid);
249 SECItem *PK11_GenerateNewParam(CK_MECHANISM_TYPE, PK11SymKey *); 249 SECItem *PK11_GenerateNewParam(CK_MECHANISM_TYPE, PK11SymKey *);
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 PK11_GetLowLevelKeyIDForCert(PK11SlotInfo *slot, 832 PK11_GetLowLevelKeyIDForCert(PK11SlotInfo *slot,
833 CERTCertificate *cert, void *pwarg); 833 CERTCertificate *cert, void *pwarg);
834 SECItem * 834 SECItem *
835 PK11_GetLowLevelKeyIDForPrivateKey(SECKEYPrivateKey *key); 835 PK11_GetLowLevelKeyIDForPrivateKey(SECKEYPrivateKey *key);
836 836
837 PRBool SECMOD_HasRootCerts(void); 837 PRBool SECMOD_HasRootCerts(void);
838 838
839 SEC_END_PROTOS 839 SEC_END_PROTOS
840 840
841 #endif 841 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698