Lines Matching defs:pin
74 char pin[PINLEN + 1];
340 isc_boolean_t logon, const char *pin, CK_SLOT_ID slot)
410 if (logon && pin != NULL && *pin != '\0') {
411 if (strlen(pin) > PINLEN)
414 * We want to zero out the old pin before
417 memset(token->pin, 0, sizeof(token->pin));
418 strlcpy(token->pin, pin, sizeof(token->pin));
554 (CK_UTF8CHAR_PTR) token->pin,
555 (CK_ULONG) strlen(token->pin));
1165 char pin[PINLEN + 1];
1268 } else if (strcmp(a, "pin-source") == 0) {
1269 /* pin-source: PIN */
1273 memset(pin, 0, PINLEN + 1);
1274 ret = isc_stdio_read(pin, 1, PINLEN + 1, stream, &l);
1306 memmove(token->pin, pin, PINLEN + 1);