Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c214 uchar_t *tmp_old_pin = NULL, *tmp_new_pin = NULL; in soft_setpin() local
237 tmp_old_pin = malloc(ulOldPinLen + 1); in soft_setpin()
238 if (tmp_old_pin == NULL) { in soft_setpin()
242 (void) memcpy(tmp_old_pin, pOldPin, ulOldPinLen); in soft_setpin()
243 tmp_old_pin[ulOldPinLen] = '\0'; in soft_setpin()
245 if (soft_gen_hashed_pin(tmp_old_pin, &user_cryptpin, in soft_setpin()
282 if (soft_keystore_setpin(tmp_old_pin, tmp_new_pin, B_FALSE)) { in soft_setpin()
297 if (tmp_old_pin) in soft_setpin()
298 free(tmp_old_pin); in soft_setpin()