Home
last modified time | relevance | path

Searched refs:operatorAuth (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtspi_oper.c30 TCPA_SECRET operatorAuth; in Tspi_TPM_SetOperatorAuth() local
42 if ((result = obj_policy_get_secret(hOperatorPolicy, TR_SECRET_CTX_NEW, &operatorAuth))) in Tspi_TPM_SetOperatorAuth()
45 if ((result = TCS_API(tspContext)->SetOperatorAuth(tspContext, &operatorAuth))) in Tspi_TPM_SetOperatorAuth()
H A Dtsp_oper.c30 TCPA_SECRET *operatorAuth) /* in */ in Transport_SetOperatorAuth() argument
43 Trspi_LoadBlob(&offset, TPM_SHA1_160_HASH_LEN, data, operatorAuth->authdata); in Transport_SetOperatorAuth()
H A Dtsp_admin.c203 TPM_AUTH *operatorAuth) /* in, out */ in Transport_SetTempDeactivated2() argument
214 NULL, &handlesLen, NULL, operatorAuth, NULL, NULL, in Transport_SetTempDeactivated2()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_oper.c34 TCPA_SECRET operatorAuth; in tcs_wrap_SetOperatorAuth() local
45 if (getData(TCSD_PACKET_TYPE_SECRET, 1, &operatorAuth, 0, &data->comm)) in tcs_wrap_SetOperatorAuth()
50 result = TCSP_SetOperatorAuth_Internal(hContext, &operatorAuth); in tcs_wrap_SetOperatorAuth()
H A Drpc_admin.c316 TPM_AUTH operatorAuth, nullAuth, *pAuth; in tcs_wrap_SetTempDeactivated2() local
319 memset(&operatorAuth, 0, sizeof(TPM_AUTH)); in tcs_wrap_SetTempDeactivated2()
330 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &operatorAuth, 0, &data->comm)) in tcs_wrap_SetTempDeactivated2()
333 if (memcmp(&nullAuth, &operatorAuth, sizeof(TPM_AUTH))) in tcs_wrap_SetTempDeactivated2()
334 pAuth = &operatorAuth; in tcs_wrap_SetTempDeactivated2()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcsi_admin.c293 TPM_AUTH * operatorAuth) /* in, out */ in TCSP_SetTempDeactivated2_Internal() argument
304 if (operatorAuth) { in TCSP_SetTempDeactivated2_Internal()
305 if ((result = auth_mgr_check(hContext, &operatorAuth->AuthHandle))) in TCSP_SetTempDeactivated2_Internal()
309 if ((result = tpm_rqu_build(TPM_ORD_SetTempDeactivated, &offset, txBlob, operatorAuth))) in TCSP_SetTempDeactivated2_Internal()
319 operatorAuth); in TCSP_SetTempDeactivated2_Internal()
325 auth_mgr_release_auth(operatorAuth, NULL, hContext); in TCSP_SetTempDeactivated2_Internal()
H A Dtcsi_oper.c24 TCPA_SECRET *operatorAuth) /* in */ in TCSP_SetOperatorAuth_Internal() argument
37 operatorAuth->authdata))) in TCSP_SetOperatorAuth_Internal()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
H A Drpc_oper.c27 TCPA_SECRET *operatorAuth) /* in */ in RPC_SetOperatorAuth_TP() argument
37 if (setData(TCSD_PACKET_TYPE_SECRET, 1, operatorAuth, 0, &hte->comm)) in RPC_SetOperatorAuth_TP()
H A Drpc_admin.c260 TPM_AUTH *operatorAuth) /* in/out */ in RPC_SetTempDeactivated2_TP() argument
270 if (operatorAuth) { in RPC_SetTempDeactivated2_TP()
271 if (setData(TCSD_PACKET_TYPE_AUTH, 1, operatorAuth, 0, &hte->comm)) in RPC_SetTempDeactivated2_TP()
287 if (operatorAuth) { in RPC_SetTempDeactivated2_TP()
288 if (getData(TCSD_PACKET_TYPE_AUTH, 0, operatorAuth, 0, &hte->comm)) in RPC_SetTempDeactivated2_TP()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/
H A Dtcs_api.c2017 TPM_AUTH *operatorAuth) /* in, out */ in RPC_SetTempDeactivated2() argument
2027 result = RPC_SetTempDeactivated2_TP(entry, operatorAuth); in RPC_SetTempDeactivated2()
2838 TCPA_SECRET *operatorAuth) /* in */ in RPC_SetOperatorAuth() argument
2848 result = RPC_SetOperatorAuth_TP(entry, operatorAuth); in RPC_SetOperatorAuth()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/
H A Dtcs_utils.h813 TPM_AUTH * operatorAuth /* in, out */
1044 TCPA_SECRET* operatorAuth /* in */
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/
H A Dtcs.h217 TPM_SECRET operatorAuth // in