Home
last modified time | relevance | path

Searched refs:keySlot (Results 1 – 25 of 198) sorted by relevance

12345678

/dports/security/trousers/trousers-0.3.14_3/src/tcs/
H A Dtcsi_seal.c45 TCPA_KEY_HANDLE keySlot; in TCSP_Seal_Internal() local
58 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_Seal_Internal()
62 if (keySlot == 0) { in TCSP_Seal_Internal()
67 if ((result = tpm_rqu_build(sealOrdinal, &offset, txBlob, keySlot, encAuth.authdata, in TCSP_Seal_Internal()
100 TCPA_KEY_HANDLE keySlot; in TCSP_Unseal_Internal() local
122 if ((result = ensureKeyIsLoaded(hContext, parentHandle, &keySlot))) in TCSP_Unseal_Internal()
126 if (keySlot == 0) { in TCSP_Unseal_Internal()
131 if ((result = tpm_rqu_build(TPM_ORD_Unseal, &offset, txBlob, keySlot, SealedDataSize, in TCSP_Unseal_Internal()
H A Dtcsi_changeauth.c47 TCPA_KEY_HANDLE keySlot; in TCSP_ChangeAuth_Internal() local
60 if ((result = ensureKeyIsLoaded(contextHandle, parentHandle, &keySlot))) in TCSP_ChangeAuth_Internal()
63 if ((result = tpm_rqu_build(TPM_ORD_ChangeAuth, &offset, txBlob, keySlot, protocolID, in TCSP_ChangeAuth_Internal()
91 internal_EvictByKeySlot(keySlot); in TCSP_ChangeAuth_Internal()
163 UINT32 keySlot; in TCSP_ChangeAuthAsymStart_Internal()
183 if ((result = ensureKeyIsLoaded(hContext, idHandle, &keySlot))) in TCSP_ChangeAuthAsymStart_Internal()
205 LoadBlob_UINT32(&offset, keySlot, txBlob); in TCSP_ChangeAuthAsymStart_Internal()
289 UINT32 keySlot; in TCSP_ChangeAuthAsymFinish_Internal()
310 if ((result = ensureKeyIsLoaded(hContext, parentHandle, &keySlot))) in TCSP_ChangeAuthAsymFinish_Internal()
314 LoadBlob_UINT32(&offset, keySlot, txBlob); in TCSP_ChangeAuthAsymFinish_Internal()
H A Dtcsi_bind.c42 TCPA_KEY_HANDLE keySlot; in TCSP_UnBind_Internal() local
58 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_UnBind_Internal()
61 if ((result = tpm_rqu_build(TPM_ORD_UnBind, &offset, txBlob, keySlot, inDataSize, inData, in TCSP_UnBind_Internal()
H A Dtcsi_sign.c43 TCPA_KEY_HANDLE keySlot; in TCSP_Sign_Internal() local
58 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_Sign_Internal()
61 if ((result = tpm_rqu_build(TPM_ORD_Sign, &offset, txBlob, keySlot, areaToSignSize, in TCSP_Sign_Internal()
H A Dtcsi_quote.c46 UINT32 keySlot; in TCSP_Quote_Internal() local
61 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_Quote_Internal()
64 if ((result = tpm_rqu_build(TPM_ORD_Quote, &offset, txBlob, keySlot, antiReplay.nonce, in TCSP_Quote_Internal()
H A Dtcsi_quote2.c48 UINT32 keySlot; in TCSP_Quote2_Internal() local
65 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_Quote2_Internal()
68 if ((result = tpm_rqu_build(TPM_ORD_Quote2, &offset, txBlob, keySlot, antiReplay.nonce, in TCSP_Quote2_Internal()
H A Dtcsi_certify.c45 TCPA_KEY_HANDLE certKeySlot, keySlot; in TCSP_CertifyKey_Internal() local
71 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_CertifyKey_Internal()
74 if ((result = tpm_rqu_build(TPM_ORD_CertifyKey, &offset, txBlob, certKeySlot, keySlot, in TCSP_CertifyKey_Internal()
H A Dtcs_key_mem_cache.c167 LogDebug("keySlot is %08X", *keySlot); in ensureKeyIsLoaded()
168 if (*keySlot == NULL_TPM_HANDLE || isKeyLoaded(*keySlot) == FALSE) { in ensureKeyIsLoaded()
182 if (*keySlot == NULL_TPM_HANDLE) { in ensureKeyIsLoaded()
188 mc_update_time_stamp(*keySlot); in ensureKeyIsLoaded()
925 isKeyLoaded(TCPA_KEY_HANDLE keySlot) in isKeyLoaded() argument
934 if (keySlot == SRK_TPM_HANDLE) { in isKeyLoaded()
947 if (keyList.handle[i] == keySlot) { in isKeyLoaded()
969 TCPA_KEY_HANDLE keySlot; in LoadKeyShim() local
980 keySlot = mc_get_slot_by_pub(pubKey); in LoadKeyShim()
981 if (keySlot != NULL_TPM_HANDLE && isKeyLoaded(keySlot)) { in LoadKeyShim()
[all …]
H A Dtcsi_tick.c69 TPM_KEY_HANDLE keySlot; in TCSP_TickStampBlob_Internal() local
80 if ((result = ensureKeyIsLoaded(hContext, hKey, &keySlot))) in TCSP_TickStampBlob_Internal()
83 if ((result = tpm_rqu_build(TPM_ORD_TickStampBlob, &offset, txBlob, keySlot, antiReplay, in TCSP_TickStampBlob_Internal()
H A Dtcsi_selftest.c64 TCPA_KEY_HANDLE keySlot; in TCSP_CertifySelfTest_Internal() local
80 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_CertifySelfTest_Internal()
83 if ((result = tpm_rqu_build(TPM_ORD_CertifySelfTest, &offset, txBlob, keySlot, in TCSP_CertifySelfTest_Internal()
H A Dtcsi_transport.c45 TPM_KEY_HANDLE keySlot = TPM_KH_TRANSPORT; in TCSP_EstablishTransport_Internal() local
64 if ((result = ensureKeyIsLoaded(hContext, hEncKey, &keySlot))) in TCSP_EstablishTransport_Internal()
69 LoadBlob_UINT32(&offset, keySlot, txBlob); in TCSP_EstablishTransport_Internal()
441 TPM_KEY_HANDLE keySlot; in TCSP_ReleaseTransportSigned_Internal() local
452 if ((result = ensureKeyIsLoaded(hContext, hSignatureKey, &keySlot))) in TCSP_ReleaseTransportSigned_Internal()
456 LoadBlob_UINT32(&offset, keySlot, txBlob); in TCSP_ReleaseTransportSigned_Internal()
H A Dtcsi_audit.c122 TCPA_KEY_HANDLE keySlot; in TCSP_GetAuditDigestSigned_Internal() local
136 if ((result = ensureKeyIsLoaded(hContext, keyHandle, &keySlot))) in TCSP_GetAuditDigestSigned_Internal()
139 if ((result = tpm_rqu_build(TPM_ORD_GetAuditDigestSigned, &offset, txBlob, keySlot, in TCSP_GetAuditDigestSigned_Internal()
H A Dtcsi_migration.c115 TCPA_KEY_HANDLE keySlot; in TCSP_ConvertMigrationBlob_Internal() local
129 if ((result = ensureKeyIsLoaded(hContext, parentHandle, &keySlot))) in TCSP_ConvertMigrationBlob_Internal()
132 if ((result = tpm_rqu_build(TPM_ORD_ConvertMigrationBlob, &offset, txBlob, keySlot, in TCSP_ConvertMigrationBlob_Internal()
H A Dtcsi_aik.c110 UINT32 keySlot; in TCSP_ActivateTPMIdentity_Internal() local
125 if ((result = ensureKeyIsLoaded(hContext, idKey, &keySlot))) in TCSP_ActivateTPMIdentity_Internal()
129 if ((result = tpm_rqu_build(TPM_ORD_ActivateIdentity, &offset, txBlob, keySlot, blobSize, in TCSP_ActivateTPMIdentity_Internal()
/dports/security/keepassxc/keepassxc-2.6.6/src/keys/
H A DYkChallengeResponseKeyCLI.cpp29 YkChallengeResponseKeyCLI::YkChallengeResponseKeyCLI(YubiKeySlot keySlot, QString interactionMessag… in YkChallengeResponseKeyCLI() argument
31 , m_keySlot(keySlot) in YkChallengeResponseKeyCLI()
H A DYkChallengeResponseKey.cpp40 YkChallengeResponseKey::YkChallengeResponseKey(YubiKeySlot keySlot) in YkChallengeResponseKey() argument
42 , m_keySlot(keySlot) in YkChallengeResponseKey()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Mapping/ViewGeneration/Validation/
H A DBasicKeyConstraint.cs39 foreach (MemberProjectedSlot keySlot in KeySlots) in Propagate()
41 ViewCellSlot viewCellSlot = viewCellRelation.LookupViewSlot(keySlot); in Propagate()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]
/dports/security/nss/nss-3.76.1/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]
/dports/www/firefox/firefox-99.0/security/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]
/dports/security/ca_root_nss/nss-3.71/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/cmd/crmftest/
H A Dtestcrmf.c187 PK11SlotInfo *keySlot = NULL; in GetSubjectPubKeyInfo() local
189 keySlot = PK11_GetInternalKeySlot(); in GetSubjectPubKeyInfo()
190 PK11_Authenticate(keySlot, PR_FALSE, &pwdata); in GetSubjectPubKeyInfo()
195 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
204 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
211 PK11_FreeSlot(keySlot); in GetSubjectPubKeyInfo()
231 PK11SlotInfo *keySlot; in InitPKCS11() local
235 keySlot = PK11_GetInternalKeySlot(); in InitPKCS11()
237 if (PK11_NeedUserInit(keySlot) && PK11_NeedLogin(keySlot)) { in InitPKCS11()
238 if (SECU_ChangePW(keySlot, NULL, NULL) != SECSuccess) { in InitPKCS11()
[all …]

12345678