Searched defs:token_info (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | tokens.c | 48 CK_TOKEN_INFO token_info; local 82 if ((rv = C_GetTokenInfo(slots[i], &token_info)) != CKR_OK) { 89 (void) fprintf(stdout, fmt, token_info.label, 90 token_info.manufacturerID, token_info.serialNumber, 91 (token_info.flags & CKF_USER_PIN_TO_BE_CHANGED) ?
|
H A D | setpin.c | 121 CK_TOKEN_INFO token_info; local 138 if (C_GetTokenInfo(slot_id, &token_info) != CKR_OK) 141 pin_state = token_info.flags & CKF_USER_PIN_TO_BE_CHANGED; 143 token_name = (char *)token_info.label;
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_metaslot.c | 63 CK_TOKEN_INFO token_info; local 203 rv = funcs->C_GetTokenInfo(METASLOT_ID, &token_info); 220 token_info.label, 221 token_info.manufacturerID, 222 token_info.model, 223 token_info.serialNumber, 224 token_info.hardwareVersion.major, 225 token_info.hardwareVersion.minor, 226 token_info.firmwareVersion.major, 227 token_info [all...] |
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSession.c | 514 CK_TOKEN_INFO token_info; local 560 rv = FUNCLIST(fw_st_id)->C_GetTokenInfo(true_id, &token_info); 566 if (token_info.flags & CKF_USER_PIN_TO_BE_CHANGED) {
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | utility.c | 352 td->token_info.manufacturerID, 353 strlen((char *)td->token_info.manufacturerID)); 355 slot_info.hardwareVersion = nv_token_data->token_info.hardwareVersion; 356 slot_info.firmwareVersion = nv_token_data->token_info.firmwareVersion; 371 CK_TOKEN_INFO *token_info = NULL; local 373 token_info = &td->token_info; 375 (void) memset(token_info->model, ' ', 376 sizeof (token_info->model)); 377 (void) memset(token_info [all...] |
H A D | tpmtok_int.h | 372 CK_TOKEN_INFO token_info; member in struct:_TOKEN_DATA
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11tokens.c | 296 CK_TOKEN_INFO token_info; local 352 if (C_GetTokenInfo(slot_list[i], &token_info) != CKR_OK) { 358 max_sz = sizeof (token_info.label); 359 if (memcmp_pad_max(&(token_info.label), max_sz, token_name, 368 max_sz = sizeof ((char *)(token_info.manufacturerID)); 369 if (memcmp_pad_max(&(token_info.manufacturerID), max_sz, 382 max_sz = sizeof ((char *)(token_info.serialNumber)); 383 if (memcmp_pad_max(&(token_info.serialNumber), max_sz,
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 3535 CK_TOKEN_INFO token_info; member in struct:_token_entry 3598 char tmplabel[sizeof (token_choices->token_array->token_info.label) + 1]; 3612 trim_token_label(&token_choices->token_array[i].token_info, tmplabel, 4198 token_choices.token_array[token_choices.numtokens].token_info = tinfo; 4234 if ((token_choices.token_array[0].token_info.flags & CKF_LOGIN_REQUIRED) && 4305 if ((token_choices.token_array[choice].token_info.flags & CKF_LOGIN_REQUIRED) && 4307 r = pkinit_login(context, cctx, &token_choices.token_array[choice].token_info);
|
Completed in 87 milliseconds