Lines Matching defs:pin
1 /* readkey [-s $slot] -l $label [-p $pin] -f $filename */
31 CK_UTF8CHAR *pin = NULL;
70 pin = (CK_UTF8CHAR *)optarg;
87 "usage: readkey [-s slot] -l label [-p pin] -f filename\n");
119 if (!pin)
121 pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
123 pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
125 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin));
126 memset(pin, 0, strlen((char *)pin));