Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
a584ef4a
Commit
a584ef4a
authored
19 years ago
by
relyea%netscape.com
Browse files
Options
Downloads
Patches
Plain Diff
Bug 292239 r wtc & julien
Merge PKCS
#11
v2.20 header files
parent
62ee9e4e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
security/nss/lib/softoken/pkcs11f.h
+6
-6
6 additions, 6 deletions
security/nss/lib/softoken/pkcs11f.h
security/nss/lib/softoken/pkcs11t.h
+497
-159
497 additions, 159 deletions
security/nss/lib/softoken/pkcs11t.h
with
503 additions
and
165 deletions
security/nss/lib/softoken/pkcs11f.h
+
6
−
6
View file @
a584ef4a
...
...
@@ -14,7 +14,7 @@
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is
*
Netscape Communications Corporation
.
*
RSA Security INC
.
* Portions created by the Initial Developer are Copyright (C) 1994-2000
* the Initial Developer. All Rights Reserved.
*
...
...
@@ -152,10 +152,10 @@ CK_PKCS11_FUNCTION_INFO(C_GetMechanismInfo)
/* C_InitToken initializes a token. */
CK_PKCS11_FUNCTION_INFO
(
C_InitToken
)
#ifdef CK_NEED_ARG_LIST
(
/* pLabel changed from CK_CHAR_PTR to CK_UTF8CHAR_PTR for v2.10 */
(
CK_SLOT_ID
slotID
,
/* ID of the token's slot */
CK_CHAR_PTR
pPin
,
/* the SO's initial PIN */
CK_
UTF8
CHAR_PTR
pPin
,
/* the SO's initial PIN */
CK_ULONG
ulPinLen
,
/* length in bytes of the PIN */
CK_UTF8CHAR_PTR
pLabel
/* 32-byte token label (blank padded) */
);
...
...
@@ -167,7 +167,7 @@ CK_PKCS11_FUNCTION_INFO(C_InitPIN)
#ifdef CK_NEED_ARG_LIST
(
CK_SESSION_HANDLE
hSession
,
/* the session's handle */
CK_CHAR_PTR
pPin
,
/* the normal user's PIN */
CK_
UTF8
CHAR_PTR
pPin
,
/* the normal user's PIN */
CK_ULONG
ulPinLen
/* length in bytes of the PIN */
);
#endif
...
...
@@ -178,9 +178,9 @@ CK_PKCS11_FUNCTION_INFO(C_SetPIN)
#ifdef CK_NEED_ARG_LIST
(
CK_SESSION_HANDLE
hSession
,
/* the session's handle */
CK_CHAR_PTR
pOldPin
,
/* the old PIN */
CK_
UTF8
CHAR_PTR
pOldPin
,
/* the old PIN */
CK_ULONG
ulOldLen
,
/* length of the old PIN */
CK_CHAR_PTR
pNewPin
,
/* the new PIN */
CK_
UTF8
CHAR_PTR
pNewPin
,
/* the new PIN */
CK_ULONG
ulNewLen
/* length of the new PIN */
);
#endif
...
...
This diff is collapsed.
Click to expand it.
security/nss/lib/softoken/pkcs11t.h
+
497
−
159
View file @
a584ef4a
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment