Home
last modified time | relevance | path

Searched refs:ulPinLen (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSession.c302 CK_ULONG ulPinLen) in C_Login() argument
331 if ((ulPinLen < MIN_PIN_LEN) || (ulPinLen > MAX_PIN_LEN)) { in C_Login()
351 rv = soft_login(pPin, ulPinLen); in C_Login()
H A DsoftSession.h198 CK_RV soft_login(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen);
H A DsoftKeystore.h90 CK_RV soft_verify_pin(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen);
H A DsoftSlotToken.c459 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken() argument
473 C_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_InitPIN() argument
H A DsoftSessionUtil.c700 soft_login(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in soft_login() argument
706 return (soft_verify_pin(pPin, ulPinLen)); in soft_login()
H A DsoftKeystore.c113 soft_verify_pin(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in soft_verify_pin() argument
144 tmp_pin = malloc(ulPinLen + 1); in soft_verify_pin()
150 (void) memcpy(tmp_pin, pPin, ulPinLen); in soft_verify_pin()
151 tmp_pin[ulPinLen] = '\0'; in soft_verify_pin()
/titanic_50/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.c392 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen) in C_Login() argument
400 ulPinLen)); in C_Login()
416 userType, pPin, ulPinLen); in C_Login()
H A DmetaSlotToken.c350 meta_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in meta_InitToken() argument
365 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.h712 CK_ULONG ulPinLen, CK_UTF8CHAR_PTR pLabel);
714 CK_ULONG ulPinLen);
730 CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen);
/titanic_50/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h134 CK_ULONG ulPinLen, /* length in bytes of the PIN */
146 CK_ULONG ulPinLen /* length in bytes of the PIN */
243 CK_ULONG ulPinLen /* the length of the PIN */
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapi_interface.c1660 CK_ULONG ulPinLen) in C_InitPIN() argument
1668 if (! pPin && ulPinLen) in C_InitPIN()
1678 rv = FuncList.ST_InitPIN(rSession, pPin, ulPinLen); in C_InitPIN()
1688 CK_ULONG ulPinLen, in C_InitToken() argument
1696 if (! pPin && ulPinLen) in C_InitToken()
1706 rv = FuncList.ST_InitToken(slotID, pPin, ulPinLen, pLabel); in C_InitToken()
1717 CK_ULONG ulPinLen) in C_Login() argument
1729 rv = FuncList.ST_Login(rSession, userType, pPin, ulPinLen); in C_Login()
H A Dnew_host.c374 CK_ULONG ulPinLen, in SC_InitToken() argument
410 rc = token_specific.t_verify_so_pin(hContext, pPin, ulPinLen); in SC_InitToken()
448 CK_ULONG ulPinLen) in SC_InitPIN() argument
482 rc = token_specific.t_init_pin(sess->hContext, pPin, ulPinLen); in SC_InitPIN()
744 CK_ULONG ulPinLen) in SC_Login() argument
775 if (ulPinLen < MIN_PIN_LEN || ulPinLen > MAX_PIN_LEN) { in SC_Login()
824 rc = token_specific.t_login(sess->hContext, userType, pPin, ulPinLen); in SC_Login()
H A Dtpm_specific.c1556 CK_ULONG ulPinLen) in token_specific_login() argument
1568 if ((rc = compute_sha(pPin, ulPinLen, hash_sha))) { in token_specific_login()
1690 CK_CHAR_PTR pPin, CK_ULONG ulPinLen) in token_specific_init_pin() argument
1703 CK_ULONG ulPinLen) in check_pin_properties() argument
1720 if (ulPinLen > MAX_PIN_LEN || ulPinLen < MIN_PIN_LEN) { in check_pin_properties()
1917 CK_ULONG ulPinLen) in token_specific_verify_so_pin() argument
1924 if ((rc = compute_sha(pPin, ulPinLen, hash_sha))) { in token_specific_verify_so_pin()
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c388 C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen, in C_InitToken() argument
399 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
505 c_login.co_pin_len = ulPinLen; in C_Login()