/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11SlotToken.c | 774 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 D | pkcs11Session.c | 390 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 D | metaSlotToken.c | 348 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 D | metaSession.c | 509 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in meta_Login() argument 540 pPin, ulPinLen); in meta_Login()
|
H A D | metaGlobal.h | 711 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 D | softKeystore.h | 88 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 D | softSession.c | 301 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 D | softSession.h | 203 CK_RV soft_login(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen);
|
H A D | softSlotToken.c | 488 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 D | softSessionUtil.c | 719 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 D | softKeystore.c | 71 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 D | pkcs11f.h | 133 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 D | api_interface.c | 1659 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 D | new_host.c | 373 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 D | tpm_specific.c | 1559 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 D | tpmtok_int.h | 1299 (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 D | kernelSlotToken.c | 386 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 D | kernelSession.c | 441 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_Login() argument 506 c_login.co_pin = (char *)pPin; in C_Login()
|