Home
last modified time | relevance | path

Searched refs:pPin (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SlotToken.c774 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken() argument
786 return (fast_funcs->C_InitToken(slotID, pPin, ulPinLen, in C_InitToken()
791 return (meta_InitToken(METASLOT_SLOTID, pPin, ulPinLen, in C_InitToken()
800 rv = FUNCLIST(fw_st_id)->C_InitToken(TRUEID(fw_st_id), pPin, ulPinLen, in C_InitToken()
812 C_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_InitPIN() argument
820 return (fast_funcs->C_InitPIN(hSession, pPin, ulPinLen)); in C_InitPIN()
836 pPin, ulPinLen); in C_InitPIN()
H A Dpkcs11Session.c390 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_Login() argument
397 return (fast_funcs->C_Login(hSession, userType, pPin, in C_Login()
414 userType, pPin, ulPinLen); in C_Login()
H A DmetaSlotToken.c348 meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in meta_InitToken() argument
363 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in meta_InitPIN() argument
H A DmetaSession.c509 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in meta_Login() argument
540 pPin, ulPinLen); in meta_Login()
H A DmetaGlobal.h711 CK_RV meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin,
713 CK_RV meta_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin,
730 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.h88 int soft_gen_hashed_pin(CK_UTF8CHAR_PTR pPin, char **result, char **salt);
90 CK_RV soft_verify_pin(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen);
H A DsoftSession.c301 C_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF8CHAR_PTR pPin, in C_Login() argument
336 if (pPin == NULL_PTR) { in C_Login()
351 rv = soft_login(pPin, ulPinLen); in C_Login()
H A DsoftSession.h203 CK_RV soft_login(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen);
H A DsoftSlotToken.c488 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken() argument
502 C_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_InitPIN() argument
H A DsoftSessionUtil.c719 soft_login(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in soft_login() argument
725 return (soft_verify_pin(pPin, ulPinLen)); in soft_login()
H A DsoftKeystore.c71 soft_gen_hashed_pin(CK_UTF8CHAR_PTR pPin, char **result, char **salt) in soft_gen_hashed_pin() argument
101 if ((*result = crypt((char *)pPin, *salt)) == NULL) { in soft_gen_hashed_pin()
117 soft_verify_pin(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in soft_verify_pin() argument
155 (void) memcpy(tmp_pin, pPin, ulPinLen); in soft_verify_pin()
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h133 CK_UTF8CHAR_PTR pPin, /* the SO's initial PIN */
145 CK_UTF8CHAR_PTR pPin, /* the normal user's PIN */
246 CK_UTF8CHAR_PTR pPin, /* the user's PIN */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapi_interface.c1659 CK_CHAR_PTR pPin, in C_InitPIN() argument
1668 if (! pPin && ulPinLen) in C_InitPIN()
1678 rv = FuncList.ST_InitPIN(rSession, pPin, ulPinLen); in C_InitPIN()
1687 CK_CHAR_PTR pPin, in C_InitToken() argument
1696 if (! pPin && ulPinLen) in C_InitToken()
1706 rv = FuncList.ST_InitToken(slotID, pPin, ulPinLen, pLabel); in C_InitToken()
1716 CK_CHAR_PTR pPin, in C_Login() argument
1729 rv = FuncList.ST_Login(rSession, userType, pPin, ulPinLen); in C_Login()
H A Dnew_host.c373 CK_CHAR_PTR pPin, in SC_InitToken() argument
391 if (! pPin || ! pLabel) { in SC_InitToken()
410 rc = token_specific.t_verify_so_pin(hContext, pPin, ulPinLen); in SC_InitToken()
447 CK_CHAR_PTR pPin, in SC_InitPIN() argument
460 if (! pPin) { in SC_InitPIN()
482 rc = token_specific.t_init_pin(sess->hContext, pPin, ulPinLen); in SC_InitPIN()
743 CK_CHAR_PTR pPin, in SC_Login() argument
770 if (pPin == NULL) { in SC_Login()
824 rc = token_specific.t_login(sess->hContext, userType, pPin, ulPinLen); in SC_Login()
H A Dtpm_specific.c1559 CK_CHAR_PTR pPin, in token_specific_login() argument
1572 if ((rc = compute_sha(pPin, ulPinLen, hash_sha))) { in token_specific_login()
1694 CK_CHAR_PTR pPin, CK_ULONG ulPinLen) in token_specific_init_pin() argument
1920 token_specific_verify_so_pin(TSS_HCONTEXT hContext, CK_CHAR_PTR pPin, in token_specific_verify_so_pin() argument
1928 if ((rc = compute_sha(pPin, ulPinLen, hash_sha))) { in token_specific_verify_so_pin()
H A Dtpmtok_int.h1299 (CK_SLOT_ID slotID, CK_CHAR_PTR pPin, CK_ULONG usPinLen,
1303 (ST_SESSION_T hSession, CK_CHAR_PTR pPin,
1337 CK_USER_TYPE userType, CK_CHAR_PTR pPin,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c386 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken() argument
397 C_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_InitPIN() argument
H A DkernelSession.c441 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_Login() argument
506 c_login.co_pin = (char *)pPin; in C_Login()