Home
last modified time | relevance | path

Searched refs:tmp_pin (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c119 uchar_t *tmp_pin = NULL; in soft_verify_pin() local
144 tmp_pin = malloc(ulPinLen + 1); in soft_verify_pin()
145 if (tmp_pin == NULL) { in soft_verify_pin()
150 (void) memcpy(tmp_pin, pPin, ulPinLen); in soft_verify_pin()
151 tmp_pin[ulPinLen] = '\0'; in soft_verify_pin()
153 if (soft_gen_hashed_pin(tmp_pin, &user_cryptpin, &salt) < 0) { in soft_verify_pin()
173 if (soft_keystore_authpin(tmp_pin) != 0) { in soft_verify_pin()
194 if (tmp_pin) in soft_verify_pin()
195 free(tmp_pin); in soft_verify_pin()
/titanic_44/usr/src/uts/common/crypto/io/
H A Dcrypto.c3576 char *tmp_pin = NULL; in get_pin_and_session_ptr() local
3583 tmp_pin = kmem_alloc(pin_len, KM_SLEEP); in get_pin_and_session_ptr()
3585 if (pin_len != 0 && copyin(in_pin, tmp_pin, pin_len) != 0) { in get_pin_and_session_ptr()
3592 *out_pin = tmp_pin; in get_pin_and_session_ptr()