HomeSort by: relevance | last modified time | path
    Searched refs:ownerAuth (Results 1 - 25 of 57) sorted by relevancy

1 2 3

  /src/crypto/external/cpl/trousers/dist/src/tcs/
tcsi_maint.c 32 TPM_AUTH * ownerAuth, /* in, out */
48 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
52 generateRandom, ownerAuth)))
61 randomSize, random, archiveSize, archive, ownerAuth);
65 auth_mgr_release_auth(ownerAuth, NULL, hContext);
73 TPM_AUTH * ownerAuth, /* in, out */
87 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
91 dataInSize, dataIn, ownerAuth, NULL)))
100 dataOutSize, dataOut, ownerAuth, NULL);
104 auth_mgr_release_auth(ownerAuth, NULL, hContext)
    [all...]
tcsi_delegate.c 28 TPM_AUTH *ownerAuth, /* in/out */
42 if (ownerAuth) {
43 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
48 opDataSize, opData, ownerAuth)))
57 retData, ownerAuth, NULL);
63 auth_mgr_release_auth(ownerAuth, NULL, hContext);
124 TPM_AUTH *ownerAuth, /* in, out */
138 if (ownerAuth) {
139 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
144 increment, publicInfoSize, publicInfo, encDelAuth, ownerAuth)))
    [all...]
tcsi_daa.c 38 TPM_AUTH * ownerAuth, /* in, out */
50 if( (result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)) != TSS_SUCCESS)
69 LogDebug("load Auth: ownerAuth: %X (oldOffset=%" PRIu64 ")", (int)ownerAuth, offset);
70 LoadBlob_Auth(&offset, txBlob, ownerAuth);
76 inputData0, inputSize1, inputData1, ownerAuth)))
100 UnloadBlob_Auth(&offset, txBlob, ownerAuth);
103 ownerAuth);
108 auth_mgr_release_auth(ownerAuth, NULL, hContext);
119 TPM_AUTH * ownerAuth, /* in, out *
    [all...]
tcsi_own.c 36 TPM_AUTH * ownerAuth, /* in, out */
51 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
63 srkInfoSize, srkInfo, ownerAuth)))
72 srkKey, ownerAuth)))
133 auth_mgr_release_auth(ownerAuth, NULL, hContext);
139 TPM_AUTH * ownerAuth) /* in, out */
151 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
154 if ((result = tpm_rqu_build(TPM_ORD_OwnerClear, &offset, txBlob, ownerAuth)))
162 result = tpm_rsp_parse(TPM_ORD_OwnerClear, txBlob, paramSize, ownerAuth);
166 auth_mgr_release_auth(ownerAuth, NULL, hContext)
    [all...]
tcsi_dir.c 33 TPM_AUTH * ownerAuth) /* in, out */
44 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
53 TPM_DIGEST_SIZE, newContents.digest, ownerAuth, NULL)))
62 result = tpm_rsp_parse(TPM_ORD_DirWriteAuth, txBlob, paramSize, ownerAuth);
66 auth_mgr_release_auth(ownerAuth, NULL, hContext);
tcsi_changeauth.c 38 TPM_AUTH *ownerAuth, /* in, out */
55 if ((result = auth_mgr_check(contextHandle, &ownerAuth->AuthHandle)))
64 newAuth.authdata, entityType, encDataSize, encData, ownerAuth,
74 ownerAuth, entityAuth);
99 auth_mgr_release_auth(ownerAuth, entityAuth, contextHandle);
108 TPM_AUTH * ownerAuth /* in, out */
121 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
125 newAuth.authdata, entityType, ownerAuth)))
133 result = tpm_rsp_parse(TPM_ORD_ChangeAuthOwner, txBlob, paramSize, ownerAuth);
138 auth_mgr_release_auth(ownerAuth, NULL, hContext)
    [all...]
tcsi_admin.c 56 TPM_AUTH * ownerAuth) /* in, out */
66 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
70 ownerAuth)))
78 result = tpm_rsp_parse(TPM_ORD_OwnerSetDisable, txBlob, paramSize, ownerAuth);
81 auth_mgr_release_auth(ownerAuth, NULL, hContext);
87 TPM_AUTH * ownerAuth) /* in, out */
99 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
102 if ((result = tpm_rqu_build(TPM_ORD_DisableOwnerClear, &offset, txBlob, ownerAuth)))
110 result = tpm_rsp_parse(TPM_ORD_DisableOwnerClear, txBlob, paramSize, ownerAuth);
114 auth_mgr_release_auth(ownerAuth, NULL, hContext)
    [all...]
tcsi_cmk.c 25 TPM_AUTH* ownerAuth) /* in */
37 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
41 Restriction, ownerAuth)))
50 ownerAuth);
56 auth_mgr_release_auth(ownerAuth, NULL, hContext);
64 TPM_AUTH* ownerAuth, /* in, out */
77 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
81 &migAuthorityDigest, ownerAuth)))
90 HmacMigAuthDigest, ownerAuth);
96 auth_mgr_release_auth(ownerAuth, NULL, hContext)
    [all...]
tcsi_ek.c 98 TPM_AUTH * ownerAuth) /* in, out */
110 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
113 if ((result = tpm_rqu_build(TPM_ORD_DisablePubekRead, &offset, txBlob, ownerAuth)))
121 result = tpm_rsp_parse(TPM_ORD_DisablePubekRead, txBlob, paramSize, ownerAuth);
124 auth_mgr_release_auth(ownerAuth, NULL, hContext);
130 TPM_AUTH * ownerAuth, /* in, out */
144 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
147 if ((result = tpm_rqu_build(TPM_ORD_OwnerReadPubek, &offset, txBlob, ownerAuth)))
157 pubEndorsementKeySize, pubEndorsementKey, ownerAuth);
161 auth_mgr_release_auth(ownerAuth, NULL, hContext)
    [all...]
tcsi_audit.c 24 TPM_AUTH *ownerAuth, /* in/out */
38 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
42 bAuditState, ownerAuth)))
52 result = tpm_rsp_parse(TPM_ORD_SetOrdinalAuditStatus, txBlob, paramSize, ownerAuth);
58 auth_mgr_release_auth(ownerAuth, NULL, hContext);
tcsi_migration.c 157 TPM_AUTH * ownerAuth, /* in, out */
172 if ((result = auth_mgr_check(hContext, &ownerAuth->AuthHandle)))
200 MigrationKeySize, MigrationKey, ownerAuth)))
209 MigrationKeyAuthSize, MigrationKeyAuth, ownerAuth);
213 auth_mgr_release_auth(ownerAuth, NULL, hContext);
  /src/crypto/external/cpl/trousers/dist/src/tspi/
tsp_ek.c 34 TPM_AUTH ownerAuth;
53 hPolicy, FALSE, &digest, &ownerAuth)))
57 &ownerAuth, &pubEKSize,
68 if ((result = obj_policy_validate_auth_oiap(hPolicy, &digest, &ownerAuth)))
78 &digest, &ownerAuth)))
81 if ((result = TCS_API(tspContext)->OwnerReadPubek(tspContext, &ownerAuth,
92 if ((result = obj_policy_validate_auth_oiap(hPolicy, &digest, &ownerAuth)))
tsp_maint.c 28 TPM_AUTH * ownerAuth, /* in, out */
46 &handlesLen, NULL, ownerAuth, NULL, &decLen,
82 TPM_AUTH * ownerAuth, /* in, out */
99 ownerAuth, NULL, &decLen, &dec)))
113 TPM_AUTH * ownerAuth) /* in, out */
124 NULL, &handlesLen, NULL, ownerAuth, NULL, NULL, NULL);
tsp_admin.c 78 TPM_AUTH * ownerAuth) /* in, out */
89 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL);
114 TPM_AUTH * ownerAuth) /* in, out */
126 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL);
222 TPM_AUTH * ownerAuth) /* in, out */
233 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL);
240 TPM_AUTH * ownerAuth) /* in, out */
251 &handlesLen, NULL, ownerAuth, NULL, NULL, NULL);
tsp_dir.c 29 TPM_AUTH * ownerAuth) /* in, out */
47 NULL, &handlesLen, NULL, ownerAuth, NULL, NULL,
tspi_maint.c 36 TPM_AUTH ownerAuth;
60 FALSE, &digest, &ownerAuth)))
64 &ownerAuth, pulRndNumberLength,
80 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth)))
105 TPM_AUTH ownerAuth;
121 FALSE, &digest, &ownerAuth)))
124 if ((result = TCS_API(tspContext)->KillMaintenanceFeature(tspContext, &ownerAuth)))
133 if ((result = obj_policy_validate_auth_oiap(hOwnerPolicy, &digest, &ownerAuth)))
  /src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
rpc_own.c 37 TPM_AUTH * ownerAuth, /* in, out */
63 if (setData(TCSD_PACKET_TYPE_AUTH, 8, ownerAuth, 0, &hte->comm))
72 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) {
100 TPM_AUTH * ownerAuth) /* in, out */
111 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm))
120 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
rpc_changeauth.c 36 TPM_AUTH * ownerAuth, /* in, out */
61 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm))
72 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) {
106 TPM_AUTH * ownerAuth /* in, out */
122 if (setData(TCSD_PACKET_TYPE_AUTH, 4, ownerAuth, 0, &hte->comm))
131 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
166 TPM_AUTH * ownerAuth, /* in, out */
rpc_daa.c 36 TPM_AUTH* ownerAuth, // in/out
63 if( ownerAuth) {
64 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm))
76 if( ownerAuth) {
77 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm)) {
114 TPM_AUTH* ownerAuth, // in/out
141 if( ownerAuth) {
142 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm))
155 if( ownerAuth) {
156 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm))
    [all...]
rpc_dir.c 32 TPM_AUTH * ownerAuth /* in, out */
46 if (setData(TCSD_PACKET_TYPE_AUTH, 3, ownerAuth, 0, &hte->comm))
55 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
rpc_maint.c 31 TPM_AUTH * ownerAuth, /* in, out */
47 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm))
56 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
109 TPM_AUTH * ownerAuth, /* in, out */
125 if (setData(TCSD_PACKET_TYPE_AUTH, 3, ownerAuth, 0, &hte->comm))
134 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
162 TPM_AUTH * ownerAuth /* in , out */
172 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm))
181 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm))
  /src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
rpc_changeauth.c 41 TPM_AUTH ownerAuth;
75 if (getData(TCSD_PACKET_TYPE_AUTH, 7, &ownerAuth, 0, &data->comm)) {
87 encDataSize, encData, &ownerAuth, &entityAuth,
94 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) {
127 TPM_AUTH ownerAuth;
144 if (getData(TCSD_PACKET_TYPE_AUTH, 4, &ownerAuth, 0, &data->comm))
150 &ownerAuth);
156 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) {
rpc_maint.c 35 TPM_AUTH ownerAuth;
45 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm))
50 result = TCSP_KillMaintenanceFeature_Internal(hContext, &ownerAuth);
56 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) {
72 TPM_AUTH ownerAuth;
88 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &ownerAuth, 0, &data->comm))
93 result = TCSP_CreateMaintenanceArchive_Internal(hContext, generateRandom, &ownerAuth,
101 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) {
144 TPM_AUTH ownerAuth;
169 if (getData(TCSD_PACKET_TYPE_AUTH, 3, &ownerAuth, 0, &data->comm))
    [all...]
rpc_delegate.c 38 TPM_AUTH ownerAuth, nullAuth, *pAuth;
44 memset(&ownerAuth, 0, sizeof(TPM_AUTH));
74 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &ownerAuth, 0, &data->comm)) {
79 if (memcmp(&nullAuth, &ownerAuth, sizeof(TPM_AUTH)))
80 pAuth = &ownerAuth;
218 TPM_AUTH ownerAuth, nullAuth, *pAuth;
224 memset(&ownerAuth, 0, sizeof(TPM_AUTH));
256 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &ownerAuth, 0, &data->comm)) {
261 if (memcmp(&nullAuth, &ownerAuth, sizeof(TPM_AUTH)))
262 pAuth = &ownerAuth;
    [all...]
  /src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/
test.c 21 TPM_AUTH ownerAuth;
49 &ownerAuth)) != TSS_SUCCESS) return result;
59 (int)hTPM, 0, inputSize0,(int)inputData0,inputSize1,(int)inputData1,(int)&ownerAuth);
60 if ( (result = TCSP_DaaJoin( tcsContext, hTPM, 0, inputSize0, inputData0, inputSize1, inputData1, &ownerAuth, outputSize, outputData)) != TSS_SUCCESS)
69 if( (result = obj_policy_validate_auth_oiap( hPolicy, &digest, &ownerAuth)))

Completed in 47 milliseconds

1 2 3