Lines Matching refs:pin
57 char *pin;
412 * prompter or known to work pin code.
419 * XXX try harder to not use pin several times on the same card.
424 && (lock || slot->pin))
427 char pin[20];
430 if (slot->pin == NULL) {
442 prompt.reply.data = pin;
443 prompt.reply.length = sizeof(pin);
450 "Failed to get pin code for slot "
457 strlcpy(pin, slot->pin, sizeof(pin));
461 (unsigned char*)pin, strlen(pin)));
483 if (slot->pin == NULL) {
484 slot->pin = strdup(pin);
485 if (slot->pin == NULL) {
1005 if (p->slot[i].pin) {
1006 memset(p->slot[i].pin, 0, strlen(p->slot[i].pin));
1007 free(p->slot[i].pin);