/bind-9.11.3/bin/tests/pkcs11/benchmarks/ |
H A D | find.c | 33 /* find [-m module] [-s $slot] [-p pin] [-n count] */ 102 char *pin = NULL; local 120 pin = isc_commandline_argument; 142 "\tfind [-m module] [-s slot] [-p pin] [-n count]\n"); 152 if (pin == NULL) 153 pin = getpassphrase("Enter Pin: "); 156 ISC_TRUE, (const char *) pin, slot); 166 if (pin != NULL) 167 memset(pin, 0, strlen((char *)pin)); [all...] |
H A D | login.c | 35 /* login [-m module] [-s $slot] [-p pin] [-n count] */ 92 CK_UTF8CHAR *pin = NULL; local 110 pin = (CK_UTF8CHAR *)isc_commandline_argument; 132 "\tlogin [-m module] [-s slot] [-p pin] [-n count]\n"); 150 if (pin == NULL) 151 pin = (CK_UTF8CHAR *)getpassphrase("Enter Pin: "); 187 pin, strlen((char *)pin));
|
H A D | create.c | 35 /* create [-m module] [-s $slot] [-p pin] [-t] [-n count] */ 112 char *pin = NULL; local 133 pin = isc_commandline_argument; 175 if (pin == NULL) 176 pin = getpassphrase("Enter Pin: "); 179 ISC_TRUE, (const char *) pin, slot); 189 if (pin != NULL) 190 memset(pin, 0, strlen((char *)pin));
|
H A D | genrsa.c | 35 /* genrsa [-m module] [-s $slot] [-p pin] [-t] [-b bits] [-n count] */ 125 char *pin = NULL; local 144 pin = isc_commandline_argument; 172 "\tgenrsa [-m module] [-s slot] [-p pin] " 202 if (pin == NULL) 203 pin = getpassphrase("Enter Pin: "); 206 ISC_TRUE, (const char *) pin, slot); 216 if (pin != NULL) 217 memset(pin, 0, strlen((char *)pin)); [all...] |
H A D | privrsa.c | 35 /* privrsa [-m module] [-s $slot] [-p pin] [-t] [-n count] */ 215 char *pin = NULL; local 234 pin = isc_commandline_argument; 259 "\tprivrsa [-m module] [-s slot] [-p pin] " 280 if (pin == NULL) 281 pin = getpassphrase("Enter Pin: "); 284 ISC_TRUE, (const char *) pin, slot); 295 if (pin != NULL) 296 memset(pin, 0, strlen((char *)pin)); [all...] |
H A D | pubrsa.c | 35 /* pubrsa [-m module] [-s $slot] [-p pin] [-t] [-n count] */ 136 char *pin = NULL; local 155 pin = isc_commandline_argument; 180 "\tpubrsa [-m module] [-s slot] [-p pin] " 201 if (pin == NULL) 202 pin = getpassphrase("Enter Pin: "); 205 ISC_TRUE, (const char *) pin, slot); 216 if (pin != NULL) 217 memset(pin, 0, strlen((char *)pin)); [all...] |
H A D | verify.c | 35 /* verify [-m module] [-s $slot] [-p pin] [-t] [-n count] */ 139 char *pin = NULL; local 158 pin = isc_commandline_argument; 183 "\tverify [-m module] [-s slot] [-p pin] " 194 if (pin == NULL) 195 pin = getpassphrase("Enter Pin: "); 198 ISC_TRUE, (const char *) pin, slot); 208 if (pin != NULL) 209 memset(pin, 0, strlen((char *)pin)); [all...] |
H A D | sign.c | 35 /* signrsa [-m module] [-s $slot] [-p pin] [-t] [-n count] */ 218 char *pin = NULL; local 237 pin = isc_commandline_argument; 262 "\tsign [-m module] [-s slot] [-p pin] " 273 if (pin == NULL) 274 pin = getpassphrase("Enter Pin: "); 277 ISC_TRUE, (const char *) pin, slot); 287 if (pin != NULL) 288 memset(pin, 0, strlen((char *)pin)); [all...] |
/bind-9.11.3/bin/tests/pkcs11/ |
H A D | pkcs11-md5sum.c | 41 * pkcs11-md5sum [-m module] [-s $slot] [-n] [-p $pin] 89 char *pin = NULL; local 109 pin = isc_commandline_argument; 128 "\tpkcs11-md5sum [-m module] [-s slot] [-n|-p pin]\n"); 138 if (logon && pin == NULL) 139 pin = getpassphrase("Enter Pin: "); 142 (const char *) pin, slot); 151 if (pin != NULL) 152 memset(pin, 0, strlen((char *)pin)); [all...] |
H A D | pkcs11-hmacmd5.c | 41 * pkcs11-hmacmd5 [-m module] [-s $slot] [-n] [-p $pin] 106 char *pin = NULL; local 127 pin = isc_commandline_argument; 150 "[-n|-p pin] -k key\n"); 216 if (logon && pin == NULL) 217 pin = getpassphrase("Enter Pin: "); 220 (const char *) pin, slot); 229 if (pin != NULL) 230 memset(pin, 0, strlen((char *)pin)); [all...] |
/bind-9.11.3/bin/pkcs11/ |
H A D | pkcs11-destroy.c | 45 * [-p $pin] [ -w $wait ] 86 char *pin = NULL; local 112 pin = isc_commandline_argument; 134 "[-i id | -l label] [-p pin] [-w waittime]\n"); 153 if (pin == NULL) 154 pin = getpassphrase("Enter Pin: "); 157 ISC_TRUE, (const char *) pin, slot); 170 memset(pin, 0, strlen(pin));
|
H A D | pkcs11-list.c | 35 /* pkcs11-list [-P] [-m module] [-s slot] [-i $id | -l $label] [-p $pin] */ 71 char *pin = NULL; local 99 pin = isc_commandline_argument; 117 "[-i id | -l label] [-p pin]\n"); 144 if (logon && pin == NULL) 145 pin = getpassphrase("Enter Pin: "); 148 logon, pin, slot); 163 if (pin != NULL) 164 memset(pin, 0, strlen(pin)); [all...] |
H A D | pkcs11-keygen.c | 51 * [-i id] [-p pin] -l label 277 char *pin = NULL; local 333 pin = isc_commandline_argument; 565 if (pin == NULL) 566 pin = getpassphrase("Enter Pin: "); 569 ISC_TRUE, (const char *) pin, slot); 582 memset(pin, 0, strlen(pin));
|
/bind-9.11.3/lib/dns/ |
H A D | pkcs11ecdsa_link.c | 1024 const char *pin) 1044 UNUSED(pin); 1023 pkcs11ecdsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument
|
H A D | pkcs11eddsa_link.c | 1010 const char *pin) 1030 UNUSED(pin); 1009 pkcs11eddsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument
|
H A D | opensslrsa_link.c | 1668 const char *pin) 1678 UNUSED(pin); 1749 UNUSED(pin); 1667 opensslrsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument
|
H A D | pkcs11rsa_link.c | 2051 const char *pin) 2071 UNUSED(pin); 2050 pkcs11rsa_fromlabel(dst_key_t *key, const char *engine, const char *label, const char *pin) argument
|
H A D | dst_api.c | 924 const char *engine, const char *label, const char *pin, 947 result = key->func->fromlabel(key, engine, label, pin); 922 dst_key_fromlabel(dns_name_t *name, int alg, unsigned int flags, unsigned int protocol, dns_rdataclass_t rdclass, const char *engine, const char *label, const char *pin, isc_mem_t *mctx, dst_key_t **keyp) argument
|
/bind-9.11.3/lib/isc/ |
H A D | pk11.c | 74 char pin[PINLEN + 1]; member in struct:pk11_token 340 isc_boolean_t logon, const char *pin, CK_SLOT_ID slot) 410 if (logon && pin != NULL && *pin != '\0') { 411 if (strlen(pin) > PINLEN) 414 * We want to zero out the old pin before 417 memset(token->pin, 0, sizeof(token->pin)); 418 strlcpy(token->pin, pin, sizeo 338 pk11_get_session(pk11_context_t *ctx, pk11_optype_t optype, isc_boolean_t need_services, isc_boolean_t rw, isc_boolean_t logon, const char *pin, CK_SLOT_ID slot) argument 1165 char pin[PINLEN + 1]; local [all...] |