| /src/crypto/external/cpl/trousers/dist/src/tspi/ |
| obj_migdata.c | 93 obj_migdata_set_migrationblob(TSS_HMIGDATA hMigData, UINT32 whichOne, UINT32 blobSize, BYTE *blob) 99 result = obj_migdata_set_msa_pubkey(hMigData, blobSize, blob); 102 result = obj_migdata_set_ma_pubkey(hMigData, blobSize, blob); 105 result = obj_migdata_set_dest_pubkey(hMigData, blobSize, blob); 108 result = obj_migdata_set_src_pubkey(hMigData, blobSize, blob); 118 obj_migdata_get_migrationblob(TSS_HMIGDATA hMigData, UINT32 whichOne, UINT32 *blobSize, BYTE **blob) 124 result = obj_migdata_get_blob(hMigData, blobSize, blob); 134 obj_migdata_set_authoritydata(TSS_HMIGDATA hMigData, UINT32 whichOne, UINT32 blobSize, BYTE *blob) 140 result = obj_migdata_set_msa_digest(hMigData, blobSize, blob); 143 result = obj_migdata_set_msa_hmac(hMigData, blobSize, blob) [all...] |
| tsp_delegate.c | 112 UINT32 blobSize; 158 xsap->pAuth, &blobSize, 165 result |= Trspi_Hash_UINT32(&hashCtx, blobSize); 166 result |= Trspi_HashUpdate(&hashCtx, blobSize, blob); 176 blobSize, blob); 201 UINT32 blobSize; 246 xsap->pAuth, &blobSize, 253 result |= Trspi_Hash_UINT32(&hashCtx, blobSize); 254 result |= Trspi_HashUpdate(&hashCtx, blobSize, blob); 263 result = obj_policy_set_delegation_blob(hDelegation, TSS_DELEGATIONTYPE_KEY, blobSize, [all...] |
| tsp_aik.c | 29 UINT32 blobSize, /* in */ 60 if ((result = obj_context_transport_execute(tspContext, TPM_ORD_ActivateIdentity, blobSize,
|
| tspi_cmk.c | 73 UINT32 blobSize; 88 if ((result = obj_migdata_get_msa_digest(hMaAuthData, &blobSize, &blob))) 131 UINT32 blobSize; 151 if ((result = obj_migdata_get_sig_data(hSigData, &blobSize, &blob))) 211 UINT32 msaListSize, restrictTicketSize, sigTicketSize, blobSize; 275 if ((result = obj_rsakey_get_blob(hKeyToMigrate, &blobSize, &blob))) 386 UINT32 blobSize; 410 if ((result = obj_migdata_get_sig_ticket(hMigrationData, &blobSize, &blob)))
|
| tspi_delegate.c | 140 UINT32 blobSize; 155 &blobSize, &blob))) 184 result |= Trspi_Hash_UINT32(&hashCtx, blobSize); 185 result |= Trspi_HashUpdate(&hashCtx, blobSize, blob); 196 if ((result = TCS_API(hContext)->Delegate_LoadOwnerDelegation(hContext, ulIndex, blobSize,
|
| tspi_migration.c | 170 UINT32 blobSize; 248 &blobSize, &blob))) 256 result |= Trspi_Hash_UINT32(&hashCtx, blobSize); 257 result |= Trspi_HashUpdate(&hashCtx, blobSize, blob); 270 tssKey.encSize = blobSize;
|
| tspi_key.c | 209 UINT32 blobSize; 248 if ((result = obj_rsakey_get_msa_approval(hKey, &blobSize, &blob))) 253 if ((result = obj_rsakey_get_msa_digest(hKey, &blobSize, &blob)))
|
| obj_rsakey.c | 2000 obj_rsakey_set_msa_approval(TSS_HKEY hKey, UINT32 blobSize, BYTE *blob) 2011 if (blobSize != sizeof(rsakey->msaApproval.digest)) { 2024 obj_rsakey_get_msa_approval(TSS_HKEY hKey, UINT32 *blobSize, BYTE **blob) 2041 *blobSize = sizeof(rsakey->msaApproval.digest); 2050 obj_rsakey_set_msa_digest(TSS_HKEY hKey, UINT32 blobSize, BYTE *blob) 2061 if (blobSize != sizeof(rsakey->msaDigest.digest)) { 2074 obj_rsakey_get_msa_digest(TSS_HKEY hKey, UINT32 *blobSize, BYTE **blob) 2091 *blobSize = sizeof(rsakey->msaDigest.digest);
|
| /src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| rpc_delegate.c | 128 UINT32 blobSize; 178 publicInfoSize, publicInfo, &encDelAuth, pAuth, &blobSize, &blob); 193 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &blobSize, 0, &data->comm)) { 197 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, blob, blobSize, &data->comm)) { 219 UINT32 blobSize; 269 publicInfoSize, publicInfo, &encDelAuth, pAuth, &blobSize, &blob); 284 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &blobSize, 0, &data->comm)) { 288 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, blob, blobSize, &data->comm)) { 306 UINT32 blobSize; 325 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &blobSize, 0, &data->comm) [all...] |
| rpc_aik.c | 166 UINT32 SymmetricKeySize, blobSize; 181 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &blobSize, 0, &data->comm)) 184 if ((blob = malloc(blobSize)) == NULL) 187 if (getData(TCSD_PACKET_TYPE_PBYTE, 3, blob, blobSize, &data->comm)) { 210 result = TCSP_ActivateTPMIdentity_Internal(hContext, idKeyHandle, blobSize,
|
| /src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
| rpc_delegate.c | 98 UINT32 *blobSize, /* out */ 140 if (getData(TCSD_PACKET_TYPE_UINT32, i++, blobSize, 0, &hte->comm)) 142 *blob = (BYTE *)malloc(*blobSize); 144 LogError("malloc of %u bytes failed.", *blobSize); 147 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *blob, *blobSize, &hte->comm)) { 163 UINT32 *blobSize, /* out */ 205 if (getData(TCSD_PACKET_TYPE_UINT32, i++, blobSize, 0, &hte->comm)) 207 *blob = (BYTE *)malloc(*blobSize); 209 LogError("malloc of %u bytes failed.", *blobSize); 212 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *blob, *blobSize, &hte->comm)) [all...] |
| rpc_aik.c | 273 UINT32 blobSize, /* in */ 291 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &blobSize, 0, &hte->comm)) 293 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, blob, blobSize, &hte->comm))
|
| /src/crypto/external/cpl/trousers/dist/src/tcs/ |
| tcsi_delegate.c | 75 UINT32 *blobSize, /* out */ 107 blobSize, blob, keyAuth, NULL); 125 UINT32 *blobSize, /* out */ 153 blobSize, blob, ownerAuth, NULL); 167 UINT32 blobSize, /* in */ 187 blobSize, blob, ownerAuth)))
|
| tcsi_aik.c | 100 UINT32 blobSize, /* in */ 129 if ((result = tpm_rqu_build(TPM_ORD_ActivateIdentity, &offset, txBlob, keySlot, blobSize,
|
| tcsi_ps.c | 508 UINT16 blobSize = sizeof(keyBlob); 527 if (ps_get_key_by_uuid(&pLoadKeyInfo->keyUUID, keyBlob, &blobSize)) 535 blobSize, keyBlob, 556 if (ps_get_key_by_uuid(KeyUUID, keyBlob, &blobSize)) 559 keySize = blobSize;
|
| /src/crypto/external/cpl/trousers/dist/src/include/ |
| obj_migdata.h | 59 UINT32 blobSize;
|
| tcs_utils.h | 524 UINT32 blobSize, /* in */ 1070 UINT32* blobSize, /* out */ 1080 UINT32* blobSize, /* out */ 1086 UINT32 blobSize, /* in */
|
| /src/crypto/external/cpl/trousers/dist/src/include/tss/ |
| tcs.h | 299 UINT32 blobSize, // in
753 UINT32* blobSize, // out
764 UINT32* blobSize, // out
771 UINT32 blobSize, // in
|
| tpm.h | 977 UINT32 blobSize;
978 SIZEIS(blobSize)
|
| /src/crypto/external/cpl/trousers/dist/src/tspi/rpc/ |
| tcs_api.c | 856 UINT32 blobSize, /* in */ 871 result = RPC_ActivateTPMIdentity_TP(entry, idKey, blobSize, blob, idKeyAuth, 2925 UINT32 *blobSize, /* out */ 2938 keyAuth, blobSize, blob); 2956 UINT32 *blobSize, /* out */ 2970 blobSize, blob); 2984 UINT32 blobSize, /* in */ 2996 result = RPC_Delegate_LoadOwnerDelegation_TP(entry, index, blobSize, blob,
|