Home
last modified time | relevance | path

Searched refs:keyAuth (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcsi_certify.c36 TPM_AUTH * keyAuth, /* in, out */ in TCSP_CertifyKey_Internal() argument
60 if (keyAuth != NULL) { in TCSP_CertifyKey_Internal()
62 if ((result = auth_mgr_check(hContext, &keyAuth->AuthHandle))) in TCSP_CertifyKey_Internal()
75 antiReplay.nonce, certAuth, keyAuth))) in TCSP_CertifyKey_Internal()
84 CertifyInfo, outDataSize, outData, certAuth, keyAuth); in TCSP_CertifyKey_Internal()
88 auth_mgr_release_auth(certAuth, keyAuth, hContext); in TCSP_CertifyKey_Internal()
H A Dtcsi_delegate.c74 TPM_AUTH *keyAuth, /* in, out */ in TCSP_Delegate_CreateKeyDelegation_Internal() argument
89 if (keyAuth) { in TCSP_Delegate_CreateKeyDelegation_Internal()
90 if ((result = auth_mgr_check(hContext, &keyAuth->AuthHandle))) in TCSP_Delegate_CreateKeyDelegation_Internal()
98 publicInfoSize, publicInfo, encDelAuth, keyAuth))) in TCSP_Delegate_CreateKeyDelegation_Internal()
107 blobSize, blob, keyAuth, NULL); in TCSP_Delegate_CreateKeyDelegation_Internal()
113 auth_mgr_release_auth(keyAuth, NULL, hContext); in TCSP_Delegate_CreateKeyDelegation_Internal()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_certify.c35 TPM_AUTH *pCertAuth = NULL, *pKeyAuth = NULL, certAuth, keyAuth, nullAuth; in tcs_wrap_CertifyKey() local
44 memset(&keyAuth, 0, sizeof(TPM_AUTH)); in tcs_wrap_CertifyKey()
63 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &keyAuth, 0, &data->comm)) in tcs_wrap_CertifyKey()
69 if (memcmp(&nullAuth, &keyAuth, sizeof(TPM_AUTH))) in tcs_wrap_CertifyKey()
70 pKeyAuth = &keyAuth; in tcs_wrap_CertifyKey()
H A Drpc_delegate.c127 TPM_AUTH keyAuth, nullAuth, *pAuth; in tcs_wrap_Delegate_CreateKeyDelegation() local
133 memset(&keyAuth, 0, sizeof(TPM_AUTH)); in tcs_wrap_Delegate_CreateKeyDelegation()
165 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &keyAuth, 0, &data->comm)) { in tcs_wrap_Delegate_CreateKeyDelegation()
170 if (memcmp(&nullAuth, &keyAuth, sizeof(TPM_AUTH))) in tcs_wrap_Delegate_CreateKeyDelegation()
171 pAuth = &keyAuth; in tcs_wrap_Delegate_CreateKeyDelegation()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
H A Drpc_certify.c34 TPM_AUTH * keyAuth, /* in, out */ in RPC_CertifyKey_TP() argument
65 if (keyAuth) { in RPC_CertifyKey_TP()
66 if (setData(TCSD_PACKET_TYPE_AUTH, 5, keyAuth, 0, &hte->comm)) in RPC_CertifyKey_TP()
86 if (keyAuth) { in RPC_CertifyKey_TP()
87 if (getData(TCSD_PACKET_TYPE_AUTH, i++, keyAuth, 0, &hte->comm)) { in RPC_CertifyKey_TP()
H A Drpc_delegate.c97 TPM_AUTH *keyAuth, /* in/out */ in RPC_Delegate_CreateKeyDelegation_TP() argument
118 if (keyAuth) { in RPC_Delegate_CreateKeyDelegation_TP()
119 if (setData(TCSD_PACKET_TYPE_AUTH, 5, keyAuth, 0, &hte->comm)) in RPC_Delegate_CreateKeyDelegation_TP()
136 if (keyAuth) { in RPC_Delegate_CreateKeyDelegation_TP()
137 if (getData(TCSD_PACKET_TYPE_AUTH, i++, keyAuth, 0, &hte->comm)) in RPC_Delegate_CreateKeyDelegation_TP()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtspi_certify.c33 TPM_AUTH keyAuth; in Tspi_Key_CertifyKey() local
46 TPM_AUTH *pKeyAuth = &keyAuth; in Tspi_Key_CertifyKey()
96 &digest, &keyAuth))) in Tspi_Key_CertifyKey()
128 if ((result = obj_policy_validate_auth_oiap(hPolicy, &digest, &keyAuth))) in Tspi_Key_CertifyKey()
H A Dtspi_selftest.c43 TPM_AUTH keyAuth; in Tspi_TPM_CertifySelfTest() local
94 &digest, &keyAuth))) in Tspi_TPM_CertifySelfTest()
96 pKeyAuth = &keyAuth; in Tspi_TPM_CertifySelfTest()
116 if ((result = obj_policy_validate_auth_oiap(hPolicy, &digest, &keyAuth))) in Tspi_TPM_CertifySelfTest()
H A Dtsp_certify.c31 TPM_AUTH * keyAuth, /* in, out */ in Transport_CertifyKey() argument
74 certAuth, keyAuth, &decLen, &dec))) in Transport_CertifyKey()
H A Dtspi_audit.c137 TPM_AUTH keyAuth, *pAuth; in Tspi_TPM_GetAuditDigest() local
185 pAuth = &keyAuth; in Tspi_TPM_GetAuditDigest()
H A Dtsp_delegate.c499 TPM_AUTH *keyAuth, /* in, out */ in Transport_Delegate_CreateKeyDelegation() argument
541 keyAuth, NULL, &decLen, &dec))) { in Transport_Delegate_CreateKeyDelegation()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/
H A Dtcs.h426 TPM_AUTH* keyAuth, // in, out
508 TPM_AUTH* keyAuth, // in, out
522 TPM_AUTH* keyAuth, // in, out
752 TPM_AUTH* keyAuth, // in, out
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/
H A Dtcs_api.c1298 TPM_AUTH * keyAuth, /* in, out */ in RPC_CertifyKey() argument
1313 certAuth, keyAuth, CertifyInfoSize, CertifyInfo, in RPC_CertifyKey()
2924 TPM_AUTH *keyAuth, /* in, out */ in RPC_Delegate_CreateKeyDelegation() argument
2938 keyAuth, blobSize, blob); in RPC_Delegate_CreateKeyDelegation()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/
H A Dtcs_utils.h659 TPM_AUTH * keyAuth, /* in, out */
1069 TPM_AUTH* keyAuth, /* in, out */