/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_identity.c | 140 opts->token_label = NULL; 210 if (src_opts->token_label != NULL) { 211 newopts->token_label = strdup(src_opts->token_label); 212 if (newopts->token_label == NULL) 262 if (idopts->token_label != NULL) 263 free(idopts->token_label); 325 if (idopts->token_label != NULL) 326 free(idopts->token_label); 327 idopts->token_label [all...] |
H A D | pkinit.h | 200 char *token_label; member in struct:_pkinit_identity_opts
|
H A D | pkinit_crypto_openssl.h | 81 char *token_label; member in struct:_pkinit_identity_crypto_context
|
H A D | pkinit_crypto_openssl.c | 775 ctx->token_label = NULL; 815 if (ctx->token_label != NULL) 816 free(ctx->token_label); 4128 if (cctx->token_label == NULL) { 4166 "cctx->token_label: \"%s\"\n", 4167 slotlist[i], tokenlabelstr, (char *) cctx->token_label); 4169 if (!strcmp(cctx->token_label, tokenlabelstr)) { 5187 if (idopts->token_label != NULL) { 5188 id_cryptoctx->token_label = strdup(idopts->token_label); [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/ |
H A D | elfsign.c | 96 char *token_label; /* -T <token_label> */ member in struct:__anon81 174 cmd_info.token_label = NULL; 261 if (cmd_info.token_label != NULL || 274 cmd_info.token_label = optarg; 306 (cmd_info.token_label == NULL)) || 309 cryptodebug("Missing privpath|token_label/cert/elfobj"); 316 (cmd_info.token_label == NULL)) || 318 cryptodebug("Missing privpath|token_label/certreq"); 380 "\t\t[-F <format>] -T <token_label> [ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/ |
H A D | kssladm_create.c | 52 " -f pkcs11 [-d softtoken_directory] -T <token_label>" 90 char *token_label, KMF_DATA *idstr, 219 (void) strlcpy(tlabel, token_label, sizeof (tlabel)); 573 const char *token_label, const char *password_file, 610 if (token_label && strlen(token_label)) { 613 (void *)token_label, strlen(token_label)); 741 1, &cert, bufsize, (char *)token_label, &iddata, &creds); 1034 const char *token_label local 88 kmf_to_kssl(int nxkey, KMF_RAW_KEY_DATA *rsa, int ncerts, KMF_X509_DER_CERT *certs, int *paramsize, char *token_label, KMF_DATA *idstr, KMF_CREDENTIAL *creds) argument 572 load_from_pkcs11(KMF_HANDLE_T kmfh, const char *token_label, const char *password_file, const char *certname, int *bufsize) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/digest/ |
H A D | digest.c | 90 static char *token_label = NULL; /* tokensSpec: tokenName[:manufId[:serial]] */ variable 196 token_label = optarg; 416 if (token_label == NULL || 417 !strlen(token_label)) { 418 token_label = pkcs11_default_token(); 421 status = pkcs11_get_pass(token_label, 535 kmfrv = kmf_pk11_token_lookup(NULL, token_label,
|
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/ |
H A D | decrypt.c | 179 static char *token_label = NULL; /* name of PKCS#11 token */ variable 245 token_label = optarg; 478 if (token_label == NULL || !strlen(token_label)) { 479 token_label = pkcs11_default_token(); 482 status = pkcs11_get_pass(token_label, 586 kmfrv = kmf_pk11_token_lookup(NULL, token_label,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg_create.c | 40 " -f pkcs11 [-d softtoken_directory] -T <token_label>" 455 const char *token_label = NULL; local 492 token_label = optarg; 526 if (token_label == NULL || certname == NULL) {
|
/illumos-gate/usr/src/lib/libelfsign/common/ |
H A D | elfcertlib.c | 390 * token_label 397 const char *token_label, const char *pin) 472 cryptodebug("key found in %s", token_label); 396 elfcertlib_loadtokenkey(ELFsign_t ess, ELFCert_t cert, const char *token_label, const char *pin) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 561 parse_token(int argc, char **argv, char *token_label) argument 566 if (strlcpy(token_label, argv[0], PKCS11_TOKSIZE) >= PKCS11_TOKSIZE) 2500 char token_label[PKCS11_TOKSIZE]; local 2512 if (parse_token(argc, argv, token_label) != 0) 2515 "Enter PIN for PKCS#11 token \'%s\': ", token_label); 2522 if (parse_token(argc, argv, token_label) != 0) 2529 (void) strlcpy(preq->pkcs11_token, token_label, PKCS11_TOKSIZE);
|