Lines Matching defs:pin
1 /* destroyobj [-s $slot] [-i $id | -l $label] [-p $pin] */
23 CK_UTF8CHAR *pin = NULL;
50 pin = (CK_UTF8CHAR *)optarg;
64 "usage: destroykey [-s slot] [-i id | -l label] [-p pin]\n");
95 if (!pin)
97 pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
99 pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
101 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin));
102 memset(pin, 0, strlen((char *)pin));