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

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c125 uchar_t *tmp_pin = NULL; local
150 tmp_pin = malloc(ulPinLen + 1);
151 if (tmp_pin == NULL) {
156 (void) memcpy(tmp_pin, pPin, ulPinLen);
157 tmp_pin[ulPinLen] = '\0';
159 if (soft_gen_hashed_pin(tmp_pin, &user_cryptpin, &salt) < 0) {
179 if (soft_keystore_authpin(tmp_pin) != 0) {
200 if (tmp_pin) {
202 (void) memset(tmp_pin, 0, ulPinLen);
203 free(tmp_pin);
[all...]

Completed in 32 milliseconds