Lines Matching refs:pin
1 /* set_key_id [-s slot] [-p $pin] -n $keytag {-i $id | -l $label} */
23 CK_UTF8CHAR *pin = NULL;
59 pin = (CK_UTF8CHAR *)optarg;
73 "usage: set_key_id [-s slot] [-p pin] -n new_id "
103 if (!pin)
105 pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: ");
107 pin = (CK_UTF8CHAR *)getpass("Enter Pin: ");
109 rv = C_Login(hSession, CKU_USER, pin, strlen((char *)pin));
110 memset(pin, 0, strlen((char *)pin));