Lines Matching defs:pin
9 * genkey [-P] [-s slot] -b keysize -l label [-p pin]
38 CK_UTF8CHAR *pin = NULL;
85 pin = (CK_UTF8CHAR *)optarg;
99 "usage: genkey [-P] [-s slot] -b keysize -l label [-p pin]\n");
139 if (!pin)
141 pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
143 pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
145 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin));
146 memset(pin, 0, strlen((char *)pin));