/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Rand.c | 45 CK_SLOT_ID slotid; local 68 slotid = sessp->se_slotid; 71 if (slottable->st_slots[slotid]->sl_norandom) 75 rv = FUNCLIST(slotid)->C_SeedRandom(sessp->se_handle, pSeed, 98 CK_SLOT_ID slotid; local 122 slotid = sessp->se_slotid; 125 if (slottable->st_slots[slotid]->sl_norandom)
|
H A D | pkcs11Keys.c | 47 CK_SLOT_ID slotid; local 70 slotid = sessp->se_slotid; 73 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 78 rv = FUNCLIST(slotid)->C_GenerateKey(sessp->se_handle, 104 CK_SLOT_ID slotid; local 130 slotid = sessp->se_slotid; 133 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 138 rv = FUNCLIST(slotid)->C_GenerateKeyPair(sessp->se_handle, 164 CK_SLOT_ID slotid; local 188 slotid 221 CK_SLOT_ID slotid; local 278 CK_SLOT_ID slotid; local [all...] |
H A D | pkcs11Conf.h | 42 extern boolean_t pkcs11_is_dismech(CK_SLOT_ID slotid, CK_MECHANISM_TYPE mech);
|
H A D | pkcs11Sign.c | 49 CK_SLOT_ID slotid; local 71 slotid = sessp->se_slotid; 74 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 79 rv = FUNCLIST(slotid)->C_SignInit(sessp->se_handle, 226 CK_SLOT_ID slotid; local 249 slotid = sessp->se_slotid; 252 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 257 rv = FUNCLIST(slotid)->C_SignRecoverInit(sessp->se_handle,
|
H A D | pkcs11Verify.c | 48 CK_SLOT_ID slotid; local 70 slotid = sessp->se_slotid; 73 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 78 rv = FUNCLIST(slotid)->C_VerifyInit(sessp->se_handle, 224 CK_SLOT_ID slotid; local 247 slotid = sessp->se_slotid; 250 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 255 rv = FUNCLIST(slotid)->C_VerifyRecoverInit(sessp->se_handle,
|
H A D | pkcs11Digest.c | 48 CK_SLOT_ID slotid; local 70 slotid = sessp->se_slotid; 73 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 78 rv = FUNCLIST(slotid)->C_DigestInit(sessp->se_handle,
|
H A D | pkcs11Crypt.c | 88 CK_SLOT_ID slotid; local 110 slotid = sessp->se_slotid; 113 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 118 rv = FUNCLIST(slotid)->C_EncryptInit(sessp->se_handle, 308 CK_SLOT_ID slotid; local 330 slotid = sessp->se_slotid; 333 if (pkcs11_is_dismech(slotid, pMechanism->mechanism)) { 338 rv = FUNCLIST(slotid)->C_DecryptInit(sessp->se_handle,
|
H A D | pkcs11SlotToken.c | 328 * Try to map the returned slotid to a slot 477 cur_slot->sl_wfse_args->slotid = i; 969 rv = FUNCLIST(wfse->slotid)->C_WaitForSlotEvent(wfse->flags, &slot, 996 cur_prov = slottable->st_slots[wfse->slotid]->sl_prov_id; 1004 st_slots[wfse->slotid]->sl_mutex); 1006 slottable->st_slots[wfse->slotid]->sl_wfse_state = WFSE_CLEAR; 1009 st_slots[wfse->slotid]->sl_mutex); 1012 for (i = wfse->slotid; i <= slottable->st_last; i++) { 1045 st_slots[wfse->slotid]->sl_mutex); 1054 slottable->st_slots[wfse->slotid] [all...] |
H A D | pkcs11Slot.h | 43 CK_SLOT_ID slotid; member in struct:wfse_args
|
H A D | pkcs11Conf.c | 1002 /* No policy is in effect, don't need slotid */ 1108 * pkcs11_is_dismech is provided a slotid and a mechanism. 1112 pkcs11_is_dismech(CK_SLOT_ID slotid, CK_MECHANISM_TYPE mech) argument 1120 (void) pthread_mutex_lock(&slottable->st_slots[slotid]->sl_mutex); 1121 enabled_pol = slottable->st_slots[slotid]->sl_enabledpol; 1122 pol_mechs = slottable->st_slots[slotid]->sl_pol_mechs; 1123 pol_count = slottable->st_slots[slotid]->sl_pol_count; 1124 (void) pthread_mutex_unlock(&slottable->st_slots[slotid]->sl_mutex); 1135 if (slotid == METASLOT_FRAMEWORK_ID && 1144 if (slotid [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pkcs11slot.c | 117 slot_supports_krb5(CK_SLOT_ID_PTR slotid) argument 141 rv = C_GetMechanismInfo(*slotid, algos.enc_algo, &info); 165 rv = C_GetMechanismInfo(*slotid, algos.hash_algo, 174 rv = C_GetMechanismInfo(*slotid, algos.str2key_algo,
|
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_identity.c | 138 opts->slotid = PK_NOSLOT; 206 newopts->slotid = src_opts->slotid; 293 } else if (!strcmp(cp, "slotid")) { 294 long slotid = strtol(vp, NULL, 10); local 295 if ((slotid == LONG_MIN || slotid == LONG_MAX) && errno != 0) { 299 if ((long) (int) slotid != slotid) { 303 idopts->slotid [all...] |
H A D | pkinit.h | 210 CK_SLOT_ID slotid; member in struct:_pkinit_identity_opts
|
H A D | pkinit_crypto_openssl.h | 80 CK_SLOT_ID slotid; member in struct:_pkinit_identity_crypto_context
|
H A D | pkinit_crypto_openssl.c | 810 ctx->slotid = PK_NOSLOT; 4176 } else if (cctx->slotid != PK_NOSLOT) { 4194 for (i = 0; i < count && cctx->slotid != tmpslotlist[i]; i++) 4202 cctx->slotid); 4204 cctx->slotid); 4259 * Solaris Kerberos: get list of PKCS11 slotid's that have tokens. 4282 * Solaris Kerberos: if a slotid was specified skip slots that don't 4285 if (cctx->slotid != PK_NOSLOT && cctx->slotid != slotlist[i]) 4347 pkiDebug("open_session: slotid [all...] |
/osnet-11/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 3779 CK_SLOT_ID slotid; local 3794 (void *)&slotid, NULL); 3806 rv = kmf_pk11_token_lookup(handle, tokenlabel, &slotid); 3815 rv = C_OpenSession(slotid, CKF_SERIAL_SESSION | CKF_RW_SESSION,
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | tpm_specific.c | 598 token_specific_session(CK_SLOT_ID slotid) argument
|