Lines Matching defs:pin
1 /* writekey [-s $slot] [-p $pin] -l $label -i $id -f $filename */
35 CK_UTF8CHAR *pin = NULL;
64 pin = (CK_UTF8CHAR *)optarg;
81 "usage: writekey [-s slot] [-p pin] -l label -i id "
141 if (!pin)
143 pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
145 pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
147 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin));
148 memset(pin, 0, strlen((char *)pin));