/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 | 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 | 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 | 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/tests/system/pkcs11/ |
H A D | clean.sh | 10 rm -f dig.out* pin upd.log*
|
H A D | setup.sh | 14 /bin/echo -n ${HSMPIN:-1234}> pin 26 -l "object=robie-rsa-zsk1;pin-source=$PWD/pin" rsa.example` 28 -l "object=robie-rsa-zsk2;pin-source=$PWD/pin" rsa.example` 30 -l "object=robie-rsa-ksk;pin-source=$PWD/pin" rsa.example` 51 -l "object=robie-ecc-zsk1;pin-source=$PWD/pin" ecc.example` 53 -l "object=robie-ecc-zsk2;pin [all...] |
/bind-9.11.3/bin/tests/system/pkcs11ssl/ |
H A D | clean.sh | 10 rm -f dig.out pin
|
H A D | setup.sh | 14 /bin/echo -n ${HSMPIN:-1234}> pin
|
/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/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...] |
/bind-9.11.3/lib/isc/include/pk11/ |
H A D | pk11.h | 106 const char *pin, 121 * pin: optional PIN, overriding any PIN currently associated
|
/bind-9.11.3/lib/dns/ |
H A D | dst_internal.h | 224 const char *label, const char *pin);
|
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 | 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 | 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 | 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
|
/bind-9.11.3/lib/dns/include/dst/ |
H A D | dst.h | 557 const char *engine, const char *label, const char *pin,
|