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

Side by Side Diff: nss/lib/util/pkcs11n.h

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 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
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 4
5 #ifndef _PKCS11N_H_ 5 #ifndef _PKCS11N_H_
6 #define _PKCS11N_H_ 6 #define _PKCS11N_H_
7 7
8 /* 8 /*
9 * pkcs11n.h 9 * pkcs11n.h
10 * 10 *
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 * record to something considerably less than 2^32 bytes. 284 * record to something considerably less than 2^32 bytes.
285 */ 285 */
286 typedef struct CK_NSS_MAC_CONSTANT_TIME_PARAMS { 286 typedef struct CK_NSS_MAC_CONSTANT_TIME_PARAMS {
287 CK_MECHANISM_TYPE macAlg; /* in */ 287 CK_MECHANISM_TYPE macAlg; /* in */
288 CK_ULONG ulBodyTotalLen; /* in */ 288 CK_ULONG ulBodyTotalLen; /* in */
289 CK_BYTE * pHeader; /* in */ 289 CK_BYTE * pHeader; /* in */
290 CK_ULONG ulHeaderLen; /* in */ 290 CK_ULONG ulHeaderLen; /* in */
291 } CK_NSS_MAC_CONSTANT_TIME_PARAMS; 291 } CK_NSS_MAC_CONSTANT_TIME_PARAMS;
292 292
293 typedef struct CK_NSS_AEAD_PARAMS { 293 typedef struct CK_NSS_AEAD_PARAMS {
294 CK_BYTE_PTR pIv; /* This is the nonce. */ 294 CK_BYTE_PTR pNonce;
295 CK_ULONG ulIvLen; 295 CK_ULONG ulNonceLen;
296 CK_BYTE_PTR pAAD; 296 CK_BYTE_PTR pAAD;
297 CK_ULONG ulAADLen; 297 CK_ULONG ulAADLen;
298 CK_ULONG ulTagLen; 298 CK_ULONG ulTagLen;
299 } CK_NSS_AEAD_PARAMS; 299 } CK_NSS_AEAD_PARAMS;
300 300
301 /* 301 /*
302 * NSS-defined return values 302 * NSS-defined return values
303 * 303 *
304 */ 304 */
305 #define CKR_NSS (CKM_VENDOR_DEFINED|NSSCK_VENDOR_NSS) 305 #define CKR_NSS (CKM_VENDOR_DEFINED|NSSCK_VENDOR_NSS)
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 char *parameters, void *moduleSpec); 499 char *parameters, void *moduleSpec);
500 500
501 /* softoken slot ID's */ 501 /* softoken slot ID's */
502 #define SFTK_MIN_USER_SLOT_ID 4 502 #define SFTK_MIN_USER_SLOT_ID 4
503 #define SFTK_MAX_USER_SLOT_ID 100 503 #define SFTK_MAX_USER_SLOT_ID 100
504 #define SFTK_MIN_FIPS_USER_SLOT_ID 101 504 #define SFTK_MIN_FIPS_USER_SLOT_ID 101
505 #define SFTK_MAX_FIPS_USER_SLOT_ID 127 505 #define SFTK_MAX_FIPS_USER_SLOT_ID 127
506 506
507 507
508 #endif /* _PKCS11N_H_ */ 508 #endif /* _PKCS11N_H_ */
OLDNEW
« no previous file with comments | « nss/lib/util/nssutil.h ('k') | nss/lib/util/pkcs11t.h » ('j') | nss/lib/util/secoid.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698