Home
last modified time | relevance | path

Searched refs:ownerAuth (Results 1 – 25 of 57) sorted by relevance

123

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcsi_delegate.c28 TPM_AUTH *ownerAuth, /* in/out */ in TCSP_Delegate_Manage_Internal() argument
42 if (ownerAuth) { in TCSP_Delegate_Manage_Internal()
43 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_Delegate_Manage_Internal()
48 opDataSize, opData, ownerAuth))) in TCSP_Delegate_Manage_Internal()
57 retData, ownerAuth, NULL); in TCSP_Delegate_Manage_Internal()
63 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_Delegate_Manage_Internal()
124 TPM_AUTH *ownerAuth, /* in, out */ in TCSP_Delegate_CreateOwnerDelegation_Internal() argument
138 if (ownerAuth) { in TCSP_Delegate_CreateOwnerDelegation_Internal()
139 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_Delegate_CreateOwnerDelegation_Internal()
144 increment, publicInfoSize, publicInfo, encDelAuth, ownerAuth))) in TCSP_Delegate_CreateOwnerDelegation_Internal()
[all …]
H A Dtcsi_maint.c32 TPM_AUTH * ownerAuth, /* in, out */ in TCSP_CreateMaintenanceArchive_Internal() argument
48 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_CreateMaintenanceArchive_Internal()
52 generateRandom, ownerAuth))) in TCSP_CreateMaintenanceArchive_Internal()
61 randomSize, random, archiveSize, archive, ownerAuth); in TCSP_CreateMaintenanceArchive_Internal()
65 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_CreateMaintenanceArchive_Internal()
73 TPM_AUTH * ownerAuth, /* in, out */ in TCSP_LoadMaintenanceArchive_Internal() argument
87 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_LoadMaintenanceArchive_Internal()
91 dataInSize, dataIn, ownerAuth, NULL))) in TCSP_LoadMaintenanceArchive_Internal()
100 dataOutSize, dataOut, ownerAuth, NULL); in TCSP_LoadMaintenanceArchive_Internal()
104 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_LoadMaintenanceArchive_Internal()
[all …]
H A Dtcsi_daa.c38 TPM_AUTH * ownerAuth, /* in, out */ in TCSP_DaaJoin_internal() argument
50 if( (result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)) != TSS_SUCCESS) in TCSP_DaaJoin_internal()
69 LogDebug("load Auth: ownerAuth: %X (oldOffset=%" PRIu64 ")", (int)ownerAuth, offset); in TCSP_DaaJoin_internal()
70 LoadBlob_Auth(&offset, txBlob, ownerAuth); in TCSP_DaaJoin_internal()
76 inputData0, inputSize1, inputData1, ownerAuth))) in TCSP_DaaJoin_internal()
100 UnloadBlob_Auth(&offset, txBlob, ownerAuth); in TCSP_DaaJoin_internal()
103 ownerAuth); in TCSP_DaaJoin_internal()
108 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_DaaJoin_internal()
119 TPM_AUTH * ownerAuth, /* in, out */ in TCSP_DaaSign_internal() argument
132 if( (result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)) != TSS_SUCCESS) in TCSP_DaaSign_internal()
[all …]
H A Dtcsi_changeauth.c38 TPM_AUTH *ownerAuth, /* in, out */ in TCSP_ChangeAuth_Internal() argument
55 if ((result = auth_mgr_check(contextHandle, &ownerAuth->AuthHandle))) in TCSP_ChangeAuth_Internal()
64 newAuth.authdata, entityType, encDataSize, encData, ownerAuth, in TCSP_ChangeAuth_Internal()
74 ownerAuth, entityAuth); in TCSP_ChangeAuth_Internal()
99 auth_mgr_release_auth(ownerAuth, entityAuth, contextHandle); in TCSP_ChangeAuth_Internal()
108 TPM_AUTH * ownerAuth /* in, out */ in TCSP_ChangeAuthOwner_Internal() argument
121 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_ChangeAuthOwner_Internal()
125 newAuth.authdata, entityType, ownerAuth))) in TCSP_ChangeAuthOwner_Internal()
133 result = tpm_rsp_parse(TPM_ORD_ChangeAuthOwner, txBlob, paramSize, ownerAuth); in TCSP_ChangeAuthOwner_Internal()
138 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_ChangeAuthOwner_Internal()
[all …]
H A Dtcsi_admin.c56 TPM_AUTH * ownerAuth) /* in, out */ in TCSP_OwnerSetDisable_Internal() argument
66 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_OwnerSetDisable_Internal()
70 ownerAuth))) in TCSP_OwnerSetDisable_Internal()
78 result = tpm_rsp_parse(TPM_ORD_OwnerSetDisable, txBlob, paramSize, ownerAuth); in TCSP_OwnerSetDisable_Internal()
81 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_OwnerSetDisable_Internal()
87 TPM_AUTH * ownerAuth) /* in, out */ in TCSP_DisableOwnerClear_Internal() argument
99 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_DisableOwnerClear_Internal()
102 if ((result = tpm_rqu_build(TPM_ORD_DisableOwnerClear, &offset, txBlob, ownerAuth))) in TCSP_DisableOwnerClear_Internal()
110 result = tpm_rsp_parse(TPM_ORD_DisableOwnerClear, txBlob, paramSize, ownerAuth); in TCSP_DisableOwnerClear_Internal()
114 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_DisableOwnerClear_Internal()
[all …]
H A Dtcsi_own.c36 TPM_AUTH * ownerAuth, /* in, out */ in TCSP_TakeOwnership_Internal() argument
51 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_TakeOwnership_Internal()
63 srkInfoSize, srkInfo, ownerAuth))) in TCSP_TakeOwnership_Internal()
72 srkKey, ownerAuth))) in TCSP_TakeOwnership_Internal()
133 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_TakeOwnership_Internal()
139 TPM_AUTH * ownerAuth) /* in, out */ in TCSP_OwnerClear_Internal() argument
151 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_OwnerClear_Internal()
154 if ((result = tpm_rqu_build(TPM_ORD_OwnerClear, &offset, txBlob, ownerAuth))) in TCSP_OwnerClear_Internal()
162 result = tpm_rsp_parse(TPM_ORD_OwnerClear, txBlob, paramSize, ownerAuth); in TCSP_OwnerClear_Internal()
166 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_OwnerClear_Internal()
H A Dtcsi_ek.c98 TPM_AUTH * ownerAuth) /* in, out */ in TCSP_DisablePubekRead_Internal() argument
110 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_DisablePubekRead_Internal()
113 if ((result = tpm_rqu_build(TPM_ORD_DisablePubekRead, &offset, txBlob, ownerAuth))) in TCSP_DisablePubekRead_Internal()
121 result = tpm_rsp_parse(TPM_ORD_DisablePubekRead, txBlob, paramSize, ownerAuth); in TCSP_DisablePubekRead_Internal()
124 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_DisablePubekRead_Internal()
130 TPM_AUTH * ownerAuth, /* in, out */ in TCSP_OwnerReadPubek_Internal() argument
144 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_OwnerReadPubek_Internal()
147 if ((result = tpm_rqu_build(TPM_ORD_OwnerReadPubek, &offset, txBlob, ownerAuth))) in TCSP_OwnerReadPubek_Internal()
157 pubEndorsementKeySize, pubEndorsementKey, ownerAuth); in TCSP_OwnerReadPubek_Internal()
161 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_OwnerReadPubek_Internal()
H A Dtcsi_cmk.c25 TPM_AUTH* ownerAuth) /* in */ in TCSP_CMK_SetRestrictions_Internal() argument
37 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_CMK_SetRestrictions_Internal()
41 Restriction, ownerAuth))) in TCSP_CMK_SetRestrictions_Internal()
50 ownerAuth); in TCSP_CMK_SetRestrictions_Internal()
56 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_CMK_SetRestrictions_Internal()
64 TPM_AUTH* ownerAuth, /* in, out */ in TCSP_CMK_ApproveMA_Internal() argument
77 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_CMK_ApproveMA_Internal()
81 &migAuthorityDigest, ownerAuth))) in TCSP_CMK_ApproveMA_Internal()
90 HmacMigAuthDigest, ownerAuth); in TCSP_CMK_ApproveMA_Internal()
96 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_CMK_ApproveMA_Internal()
H A Dtcsi_dir.c33 TPM_AUTH * ownerAuth) /* in, out */ in TCSP_DirWriteAuth_Internal() argument
44 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle))) in TCSP_DirWriteAuth_Internal()
53 TPM_DIGEST_SIZE, newContents.digest, ownerAuth, NULL))) in TCSP_DirWriteAuth_Internal()
62 result = tpm_rsp_parse(TPM_ORD_DirWriteAuth, txBlob, paramSize, ownerAuth); in TCSP_DirWriteAuth_Internal()
66 auth_mgr_release_auth(ownerAuth, NULL, hContext); in TCSP_DirWriteAuth_Internal()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
H A Drpc_delegate.c32 TPM_AUTH *ownerAuth, /* in/out */ in RPC_Delegate_Manage_TP() argument
53 if (ownerAuth) { in RPC_Delegate_Manage_TP()
54 if (setData(TCSD_PACKET_TYPE_AUTH, 5, ownerAuth, 0, &hte->comm)) in RPC_Delegate_Manage_TP()
71 if (ownerAuth) { in RPC_Delegate_Manage_TP()
72 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm)) in RPC_Delegate_Manage_TP()
162 TPM_AUTH *ownerAuth, /* in/out */ in RPC_Delegate_CreateOwnerDelegation_TP() argument
183 if (ownerAuth) { in RPC_Delegate_CreateOwnerDelegation_TP()
184 if (setData(TCSD_PACKET_TYPE_AUTH, 5, ownerAuth, 0, &hte->comm)) in RPC_Delegate_CreateOwnerDelegation_TP()
201 if (ownerAuth) { in RPC_Delegate_CreateOwnerDelegation_TP()
202 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm)) in RPC_Delegate_CreateOwnerDelegation_TP()
[all …]
H A Drpc_daa.c36 TPM_AUTH* ownerAuth, // in/out in RPC_DaaJoin_TP() argument
63 if( ownerAuth) { in RPC_DaaJoin_TP()
64 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm)) in RPC_DaaJoin_TP()
76 if( ownerAuth) { in RPC_DaaJoin_TP()
77 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm)) { in RPC_DaaJoin_TP()
114 TPM_AUTH* ownerAuth, // in/out in RPC_DaaSign_TP() argument
141 if( ownerAuth) { in RPC_DaaSign_TP()
142 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm)) in RPC_DaaSign_TP()
155 if( ownerAuth) { in RPC_DaaSign_TP()
156 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm)) { in RPC_DaaSign_TP()
H A Drpc_maint.c31 TPM_AUTH * ownerAuth, /* in, out */ in RPC_CreateMaintenanceArchive_TP() argument
47 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm)) in RPC_CreateMaintenanceArchive_TP()
56 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_CreateMaintenanceArchive_TP()
109 TPM_AUTH * ownerAuth, /* in, out */ in RPC_LoadMaintenanceArchive_TP() argument
125 if (setData(TCSD_PACKET_TYPE_AUTH, 3, ownerAuth, 0, &hte->comm)) in RPC_LoadMaintenanceArchive_TP()
134 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_LoadMaintenanceArchive_TP()
162 TPM_AUTH * ownerAuth /* in , out */ in RPC_KillMaintenanceFeature_TP() argument
172 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_KillMaintenanceFeature_TP()
181 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_KillMaintenanceFeature_TP()
H A Drpc_own.c37 TPM_AUTH * ownerAuth, /* in, out */ in RPC_TakeOwnership_TP() argument
63 if (setData(TCSD_PACKET_TYPE_AUTH, 8, ownerAuth, 0, &hte->comm)) in RPC_TakeOwnership_TP()
72 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) { in RPC_TakeOwnership_TP()
100 TPM_AUTH * ownerAuth) /* in, out */ in RPC_OwnerClear_TP() argument
111 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_OwnerClear_TP()
120 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_OwnerClear_TP()
H A Drpc_changeauth.c36 TPM_AUTH * ownerAuth, /* in, out */ in RPC_ChangeAuth_TP() argument
61 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm)) in RPC_ChangeAuth_TP()
72 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) { in RPC_ChangeAuth_TP()
106 TPM_AUTH * ownerAuth /* in, out */ in RPC_ChangeAuthOwner_TP() argument
122 if (setData(TCSD_PACKET_TYPE_AUTH, 4, ownerAuth, 0, &hte->comm)) in RPC_ChangeAuthOwner_TP()
131 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_ChangeAuthOwner_TP()
166 TPM_AUTH * ownerAuth, /* in, out */ in RPC_ChangeAuthAsymFinish_TP() argument
H A Drpc_admin.c53 TPM_AUTH * ownerAuth) /* in, out */ in RPC_DisableOwnerClear_TP() argument
64 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_DisableOwnerClear_TP()
73 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_DisableOwnerClear_TP()
163 TPM_AUTH * ownerAuth) /* in, out */ in RPC_OwnerSetDisable_TP() argument
175 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm)) in RPC_OwnerSetDisable_TP()
184 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_OwnerSetDisable_TP()
303 TPM_AUTH * ownerAuth) /* in, out */ in RPC_FieldUpgrade_TP() argument
322 TPM_AUTH * ownerAuth) /* in, out */ in RPC_ResetLockValue_TP() argument
332 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_ResetLockValue_TP()
341 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_ResetLockValue_TP()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_maint.c35 TPM_AUTH ownerAuth; in tcs_wrap_KillMaintenanceFeature() local
45 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm)) in tcs_wrap_KillMaintenanceFeature()
50 result = TCSP_KillMaintenanceFeature_Internal(hContext, &ownerAuth); in tcs_wrap_KillMaintenanceFeature()
56 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) { in tcs_wrap_KillMaintenanceFeature()
72 TPM_AUTH ownerAuth; in tcs_wrap_CreateMaintenanceArchive() local
88 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &ownerAuth, 0, &data->comm)) in tcs_wrap_CreateMaintenanceArchive()
93 result = TCSP_CreateMaintenanceArchive_Internal(hContext, generateRandom, &ownerAuth, in tcs_wrap_CreateMaintenanceArchive()
101 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) { in tcs_wrap_CreateMaintenanceArchive()
144 TPM_AUTH ownerAuth; in tcs_wrap_LoadMaintenanceArchive() local
169 if (getData(TCSD_PACKET_TYPE_AUTH, 3, &ownerAuth, 0, &data->comm)) { in tcs_wrap_LoadMaintenanceArchive()
[all …]
H A Drpc_delegate.c38 TPM_AUTH ownerAuth, nullAuth, *pAuth; in tcs_wrap_Delegate_Manage() local
44 memset(&ownerAuth, 0, sizeof(TPM_AUTH)); in tcs_wrap_Delegate_Manage()
74 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &ownerAuth, 0, &data->comm)) { in tcs_wrap_Delegate_Manage()
79 if (memcmp(&nullAuth, &ownerAuth, sizeof(TPM_AUTH))) in tcs_wrap_Delegate_Manage()
80 pAuth = &ownerAuth; in tcs_wrap_Delegate_Manage()
218 TPM_AUTH ownerAuth, nullAuth, *pAuth; in tcs_wrap_Delegate_CreateOwnerDelegation() local
224 memset(&ownerAuth, 0, sizeof(TPM_AUTH)); in tcs_wrap_Delegate_CreateOwnerDelegation()
256 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &ownerAuth, 0, &data->comm)) { in tcs_wrap_Delegate_CreateOwnerDelegation()
261 if (memcmp(&nullAuth, &ownerAuth, sizeof(TPM_AUTH))) in tcs_wrap_Delegate_CreateOwnerDelegation()
262 pAuth = &ownerAuth; in tcs_wrap_Delegate_CreateOwnerDelegation()
[all …]
H A Drpc_changeauth.c41 TPM_AUTH ownerAuth; in tcs_wrap_ChangeAuth() local
75 if (getData(TCSD_PACKET_TYPE_AUTH, 7, &ownerAuth, 0, &data->comm)) { in tcs_wrap_ChangeAuth()
87 encDataSize, encData, &ownerAuth, &entityAuth, in tcs_wrap_ChangeAuth()
94 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) { in tcs_wrap_ChangeAuth()
127 TPM_AUTH ownerAuth; in tcs_wrap_ChangeAuthOwner() local
144 if (getData(TCSD_PACKET_TYPE_AUTH, 4, &ownerAuth, 0, &data->comm)) in tcs_wrap_ChangeAuthOwner()
150 &ownerAuth); in tcs_wrap_ChangeAuthOwner()
156 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) { in tcs_wrap_ChangeAuthOwner()
H A Drpc_caps_tpm.c98 TPM_AUTH ownerAuth; in tcs_wrap_GetCapabilityOwner() local
112 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm)) in tcs_wrap_GetCapabilityOwner()
117 result = TCSP_GetCapabilityOwner_Internal(hContext, &ownerAuth, &version, &nonVol, &vol); in tcs_wrap_GetCapabilityOwner()
132 if (setData(TCSD_PACKET_TYPE_AUTH, 3, &ownerAuth, 0, &data->comm)) { in tcs_wrap_GetCapabilityOwner()
152 TPM_AUTH ownerAuth, *pOwnerAuth; in tcs_wrap_SetCapability() local
202 if (getData(TCSD_PACKET_TYPE_AUTH, 6, &ownerAuth, 0, &data->comm)) in tcs_wrap_SetCapability()
205 pOwnerAuth = &ownerAuth; in tcs_wrap_SetCapability()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_ek.c34 TPM_AUTH ownerAuth; in owner_get_pubek() local
53 hPolicy, FALSE, &digest, &ownerAuth))) in owner_get_pubek()
57 &ownerAuth, &pubEKSize, in owner_get_pubek()
68 if ((result = obj_policy_validate_auth_oiap(hPolicy, &digest, &ownerAuth))) in owner_get_pubek()
78 &digest, &ownerAuth))) in owner_get_pubek()
81 if ((result = TCS_API(tspContext)->OwnerReadPubek(tspContext, &ownerAuth, in owner_get_pubek()
92 if ((result = obj_policy_validate_auth_oiap(hPolicy, &digest, &ownerAuth))) in owner_get_pubek()
H A Dtsp_admin.c78 TPM_AUTH * ownerAuth) /* in, out */ in Transport_DisableOwnerClear() argument
89 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL); in Transport_DisableOwnerClear()
114 TPM_AUTH * ownerAuth) /* in, out */ in Transport_OwnerSetDisable() argument
126 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL); in Transport_OwnerSetDisable()
222 TPM_AUTH * ownerAuth) /* in, out */ in Transport_DisablePubekRead() argument
233 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL); in Transport_DisablePubekRead()
240 TPM_AUTH * ownerAuth) /* in, out */ in Transport_ResetLockValue() argument
251 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL); in Transport_ResetLockValue()
H A Dtsp_maint.c28 TPM_AUTH * ownerAuth, /* in, out */ in Transport_CreateMaintenanceArchive() argument
46 &handlesLen, NULL, ownerAuth, NULL, &decLen, in Transport_CreateMaintenanceArchive()
82 TPM_AUTH * ownerAuth, /* in, out */ in Transport_LoadMaintenanceArchive() argument
99 ownerAuth, NULL, &decLen, &dec))) in Transport_LoadMaintenanceArchive()
113 TPM_AUTH * ownerAuth) /* in, out */ in Transport_KillMaintenanceFeature() argument
124 NULL, &handlesLen, NULL, ownerAuth, NULL, NULL, NULL); in Transport_KillMaintenanceFeature()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/
H A Dtcs.h210 TPM_AUTH* ownerAuth, // in, out
244 TPM_AUTH* ownerAuth, // in, out
255 TPM_AUTH* ownerAuth // in, out
284 TPM_AUTH* ownerAuth, // in, out
302 TPM_AUTH* ownerAuth, // in, out
399 TPM_AUTH* ownerAuth // in, out
497 TPM_AUTH* ownerAuth, // in, out
603 TPM_AUTH* ownerAuth // in, out
608 TPM_AUTH* ownerAuth, // in, out
639 TPM_AUTH* ownerAuth // in, out
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/
H A Dplatform.c49 TPM_AUTH* ownerAuth, // in/out in Tcsip_TPM_DAA_Join() argument
97 ownerAuth)) != TSS_SUCCESS) return result; in Tcsip_TPM_DAA_Join()
107 (int)&ownerAuth); in Tcsip_TPM_DAA_Join()
117 ownerAuth, in Tcsip_TPM_DAA_Join()
129 if( (result = obj_policy_validate_auth_oiap( hPolicy, &digest, ownerAuth))) { in Tcsip_TPM_DAA_Join()
142 TPM_AUTH* ownerAuth, // in, out in Tcsip_TPM_DAA_Sign() argument
191 ownerAuth)) != TSS_SUCCESS) return result; in Tcsip_TPM_DAA_Sign()
199 (int)&ownerAuth); in Tcsip_TPM_DAA_Sign()
209 ownerAuth, in Tcsip_TPM_DAA_Sign()
221 if( (result = obj_policy_validate_auth_oiap( hPolicy, &digest, ownerAuth))) in Tcsip_TPM_DAA_Sign()
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/
H A Dtcs_api.c620 TPM_AUTH * ownerAuth, /* in, out */ in RPC_TakeOwnership() argument
635 srkInfo, ownerAuth, srkKeySize, srkKey); in RPC_TakeOwnership()
704 TPM_AUTH * ownerAuth, /* in, out */ in RPC_ChangeAuth() argument
718 entityType, encDataSize, encData, ownerAuth, in RPC_ChangeAuth()
734 TPM_AUTH * ownerAuth) /* in, out */ in RPC_ChangeAuthOwner() argument
745 ownerAuth); in RPC_ChangeAuthOwner()
802 TPM_AUTH * ownerAuth, /* in, out */ in RPC_ChangeAuthAsymFinish() argument
819 encDataSizeIn, encDataIn, ownerAuth, in RPC_ChangeAuthAsymFinish()
859 TPM_AUTH * ownerAuth, /* in, out */ in RPC_ActivateTPMIdentity() argument
872 ownerAuth, SymmetricKeySize, in RPC_ActivateTPMIdentity()
[all …]

123