Lines Matching refs:entry

38 	struct host_table_entry *entry;
41 /* __tspi_add_table_entry() will make sure an entry doesn't already exist for this tsp context */
42 if ((result = __tspi_add_table_entry(tspContext, hostname, type, &entry)))
47 if ((result = RPC_OpenContext_TP(entry, &tpm_version, &tcsContext)))
50 entry->tcsContext = tcsContext;
71 struct host_table_entry *entry = get_table_entry(tspContext);
73 if (entry == NULL)
76 switch (entry->type) {
78 result = RPC_GetRegisteredKeyByPublicInfo_TP(entry, algID,
87 put_table_entry(entry);
95 struct host_table_entry *entry = get_table_entry(tspContext);
97 if (entry == NULL)
100 switch (entry->type) {
102 if ((result = RPC_CloseContext_TP(entry)) == TSS_SUCCESS) {
103 close(entry->socket);
112 put_table_entry(entry);
121 struct host_table_entry *entry = get_table_entry(tspContext);
123 if (entry == NULL)
126 switch (entry->type) {
128 result = RPC_FreeMemory_TP(entry, pMemory);
134 put_table_entry(entry);
144 struct host_table_entry *entry = get_table_entry(tspContext);
146 if (entry == NULL)
149 switch (entry->type) {
151 result = RPC_LogPcrEvent_TP(entry, Event, pNumber);
157 put_table_entry(entry);
168 struct host_table_entry *entry = get_table_entry(tspContext);
170 if (entry == NULL)
173 switch (entry->type) {
176 RPC_GetPcrEvent_TP(entry, PcrIndex, pNumber, ppEvent);
182 put_table_entry(entry);
194 struct host_table_entry *entry = get_table_entry(tspContext);
196 if (entry == NULL)
199 switch (entry->type) {
201 result = RPC_GetPcrEventsByPcr_TP(entry, PcrIndex, FirstEvent,
208 put_table_entry(entry);
218 struct host_table_entry *entry = get_table_entry(tspContext);
220 if (entry == NULL)
223 switch (entry->type) {
225 result = RPC_GetPcrEventLog_TP(entry, pEventCount, ppEvents);
231 put_table_entry(entry);
245 struct host_table_entry *entry = get_table_entry(tspContext);
247 if (entry == NULL)
250 switch (entry->type) {
252 result = RPC_RegisterKey_TP(entry, WrappingKeyUUID, KeyUUID, cKeySize,
259 put_table_entry(entry);
268 struct host_table_entry *entry = get_table_entry(tspContext);
270 if (entry == NULL)
273 switch (entry->type) {
275 result = RPC_UnregisterKey_TP(entry, KeyUUID);
281 put_table_entry(entry);
292 struct host_table_entry *entry = get_table_entry(tspContext);
294 if (entry == NULL)
297 switch (entry->type) {
299 result = RPC_EnumRegisteredKeys_TP(entry, pKeyUUID, pcKeyHierarchySize,
306 put_table_entry(entry);
317 struct host_table_entry *entry = get_table_entry(tspContext);
319 if (entry == NULL)
322 switch (entry->type) {
324 result = RPC_EnumRegisteredKeys2_TP(entry, pKeyUUID, pcKeyHierarchySize,
331 put_table_entry(entry);
342 struct host_table_entry *entry = get_table_entry(tspContext);
344 if (entry == NULL)
347 switch (entry->type) {
349 result = RPC_GetRegisteredKey_TP(entry, KeyUUID, ppKeyInfo);
355 put_table_entry(entry);
366 struct host_table_entry *entry = get_table_entry(tspContext);
368 if (entry == NULL)
371 switch (entry->type) {
373 result = RPC_GetRegisteredKeyBlob_TP(entry, KeyUUID, pcKeySize, prgbKey);
379 put_table_entry(entry);
393 struct host_table_entry *entry = get_table_entry(tspContext);
395 if (entry == NULL)
398 switch (entry->type) {
400 result = RPC_LoadKeyByBlob_TP(entry, hUnwrappingKey, cWrappedKeyBlobSize,
408 put_table_entry(entry);
419 struct host_table_entry *entry = get_table_entry(tspContext);
421 if (entry == NULL)
424 switch (entry->type) {
426 result = RPC_LoadKeyByUUID_TP(entry, KeyUUID, pLoadKeyInfo, phKeyTCSI);
432 put_table_entry(entry);
441 struct host_table_entry *entry = get_table_entry(tspContext);
443 if (entry == NULL)
446 switch (entry->type) {
448 result = RPC_EvictKey_TP(entry, hKey);
454 put_table_entry(entry);
470 struct host_table_entry *entry = get_table_entry(tspContext);
472 if (entry == NULL)
475 switch (entry->type) {
477 result = RPC_CreateWrapKey_TP(entry, hWrappingKey, KeyUsageAuth,
485 put_table_entry(entry);
497 struct host_table_entry *entry = get_table_entry(tspContext);
499 if (entry == NULL)
502 switch (entry->type) {
504 result = RPC_GetPubKey_TP(entry, hKey, pAuth, pcPubKeySize, prgbPubKey);
510 put_table_entry(entry);
534 struct host_table_entry *entry = get_table_entry(tspContext);
536 if (entry == NULL)
539 switch (entry->type) {
541 result = RPC_MakeIdentity_TP(entry, identityAuth,
556 put_table_entry(entry);
569 struct host_table_entry *entry = get_table_entry(tspContext);
571 if (entry == NULL)
574 switch (entry->type) {
576 result = RPC_GetCredential_TP(entry, ulCredentialType,
584 put_table_entry(entry);
594 struct host_table_entry *entry = get_table_entry(tspContext);
596 if (entry == NULL)
599 switch (entry->type) {
601 result = RPC_SetOwnerInstall_TP(entry, state);
607 put_table_entry(entry);
625 struct host_table_entry *entry = get_table_entry(tspContext);
627 if (entry == NULL)
630 switch (entry->type) {
632 result = RPC_TakeOwnership_TP(entry, protocolID,
641 put_table_entry(entry);
651 struct host_table_entry *entry = get_table_entry(tspContext);
653 if (entry == NULL)
656 switch (entry->type) {
658 result = RPC_OIAP_TP(entry, authHandle, nonce0);
664 put_table_entry(entry);
678 struct host_table_entry *entry = get_table_entry(tspContext);
680 if (entry == NULL)
683 switch (entry->type) {
685 result = RPC_OSAP_TP(entry, entityType, entityValue, nonceOddOSAP,
692 put_table_entry(entry);
710 struct host_table_entry *entry = get_table_entry(tspContext);
712 if (entry == NULL)
715 switch (entry->type) {
717 result = RPC_ChangeAuth_TP(entry, parentHandle, protocolID, newAuth,
725 put_table_entry(entry);
737 struct host_table_entry *entry = get_table_entry(tspContext);
739 if (entry == NULL)
742 switch (entry->type) {
744 result = RPC_ChangeAuthOwner_TP(entry, protocolID, newAuth, entityType,
751 put_table_entry(entry);
771 struct host_table_entry *entry = get_table_entry(tspContext);
773 if (entry == NULL)
776 switch (entry->type) {
778 result = RPC_ChangeAuthAsymStart_TP(entry, idHandle, antiReplay,
788 put_table_entry(entry);
809 struct host_table_entry *entry = get_table_entry(tspContext);
811 if (entry == NULL)
814 switch (entry->type) {
816 result = RPC_ChangeAuthAsymFinish_TP(entry, parentHandle, ephHandle,
827 put_table_entry(entry);
836 struct host_table_entry *entry = get_table_entry(tspContext);
838 if (entry == NULL)
841 switch (entry->type) {
843 result = RPC_TerminateHandle_TP(entry, handle);
849 put_table_entry(entry);
864 struct host_table_entry *entry = get_table_entry(tspContext);
866 if (entry == NULL)
869 switch (entry->type) {
871 result = RPC_ActivateTPMIdentity_TP(entry, idKey, blobSize, blob, idKeyAuth,
879 put_table_entry(entry);
890 struct host_table_entry *entry = get_table_entry(tspContext);
892 if (entry == NULL)
895 switch (entry->type) {
897 result = RPC_Extend_TP(entry, pcrNum, inDigest, outDigest);
903 put_table_entry(entry);
913 struct host_table_entry *entry = get_table_entry(tspContext);
915 if (entry == NULL)
918 switch (entry->type) {
920 result = RPC_PcrRead_TP(entry, pcrNum, outDigest);
926 put_table_entry(entry);
936 struct host_table_entry *entry = get_table_entry(tspContext);
938 if (entry == NULL)
941 switch (entry->type) {
943 result = RPC_PcrReset_TP(entry, pcrDataSizeIn, pcrDataIn);
949 put_table_entry(entry);
967 struct host_table_entry *entry = get_table_entry(tspContext);
969 if (entry == NULL)
972 switch (entry->type) {
974 result = RPC_Quote_TP(entry, keyHandle, antiReplay, pcrDataSizeIn,
982 put_table_entry(entry);
1003 struct host_table_entry *entry = get_table_entry(tspContext);
1005 if (entry == NULL)
1008 switch (entry->type) {
1010 result = RPC_Quote2_TP(entry, keyHandle, antiReplay, pcrDataSizeIn, pcrDataIn,
1018 put_table_entry(entry);
1030 struct host_table_entry *entry = get_table_entry(tspContext);
1032 if (entry == NULL)
1035 switch (entry->type) {
1037 result = RPC_DirWriteAuth_TP(entry, dirIndex, newContents, ownerAuth);
1043 put_table_entry(entry);
1053 struct host_table_entry *entry = get_table_entry(tspContext);
1055 if (entry == NULL)
1058 switch (entry->type) {
1060 result = RPC_DirRead_TP(entry, dirIndex, dirValue);
1066 put_table_entry(entry);
1083 struct host_table_entry *entry = get_table_entry(tspContext);
1085 if (entry == NULL)
1088 switch (entry->type) {
1090 result = RPC_Seal_TP(entry, keyHandle, encAuth, pcrInfoSize, PcrInfo,
1098 put_table_entry(entry);
1116 struct host_table_entry *entry = get_table_entry(tspContext);
1118 if (entry == NULL)
1121 switch (entry->type) {
1123 result = RPC_Sealx_TP(entry, keyHandle, encAuth, pcrInfoSize, PcrInfo,
1131 put_table_entry(entry);
1147 struct host_table_entry *entry = get_table_entry(tspContext);
1149 if (entry == NULL)
1152 switch (entry->type) {
1154 result = RPC_Unseal_TP(entry, parentHandle, SealedDataSize, SealedData,
1161 put_table_entry(entry);
1175 struct host_table_entry *entry = get_table_entry(tspContext);
1177 if (entry == NULL)
1180 switch (entry->type) {
1182 result = RPC_UnBind_TP(entry, keyHandle, inDataSize, inData, privAuth,
1189 put_table_entry(entry);
1209 struct host_table_entry *entry = get_table_entry(tspContext);
1211 if (entry == NULL)
1214 switch (entry->type) {
1216 result = RPC_CreateMigrationBlob_TP(entry, parentHandle,
1226 put_table_entry(entry);
1242 struct host_table_entry *entry = get_table_entry(tspContext);
1244 if (entry == NULL)
1247 switch (entry->type) {
1249 result = RPC_ConvertMigrationBlob_TP(entry, parentHandle,
1258 put_table_entry(entry);
1272 struct host_table_entry *entry = get_table_entry(tspContext);
1274 if (entry == NULL)
1277 switch (entry->type) {
1279 result = RPC_AuthorizeMigrationKey_TP(entry, migrateScheme,
1288 put_table_entry(entry);
1305 struct host_table_entry *entry = get_table_entry(tspContext);
1307 if (entry == NULL)
1310 switch (entry->type) {
1312 result = RPC_CertifyKey_TP(entry, certHandle, keyHandle, antiReplay,
1320 put_table_entry(entry);
1334 struct host_table_entry *entry = get_table_entry(tspContext);
1336 if (entry == NULL)
1339 switch (entry->type) {
1341 result = RPC_Sign_TP(entry, keyHandle, areaToSignSize, areaToSign, privAuth,
1348 put_table_entry(entry);
1358 struct host_table_entry *entry = get_table_entry(tspContext);
1360 if (entry == NULL)
1363 switch (entry->type) {
1365 result = RPC_GetRandom_TP(entry, bytesRequested, randomBytes);
1371 put_table_entry(entry);
1381 struct host_table_entry *entry = get_table_entry(tspContext);
1383 if (entry == NULL)
1386 switch (entry->type) {
1388 result = RPC_StirRandom_TP(entry, inDataSize, inData);
1394 put_table_entry(entry);
1407 struct host_table_entry *entry = get_table_entry(tspContext);
1409 if (entry == NULL)
1412 switch (entry->type) {
1414 result = RPC_GetTPMCapability_TP(entry, capArea, subCapSize, subCap,
1421 put_table_entry(entry);
1435 struct host_table_entry *entry = get_table_entry(tspContext);
1437 if (entry == NULL)
1440 switch (entry->type) {
1442 result = RPC_SetCapability_TP(entry, capArea, subCapSize, subCap,
1449 put_table_entry(entry);
1462 struct host_table_entry *entry = get_table_entry(tspContext);
1464 if (entry == NULL)
1467 switch (entry->type) {
1469 result = RPC_GetCapability_TP(entry, capArea, subCapSize, subCap, respSize,
1476 put_table_entry(entry);
1495 struct host_table_entry *entry = get_table_entry(tspContext);
1497 if (entry == NULL)
1500 switch (entry->type) {
1502 result = RPC_GetCapabilitySigned_TP(entry, keyHandle, antiReplay, capArea,
1510 put_table_entry(entry);
1522 struct host_table_entry *entry = get_table_entry(tspContext);
1524 if (entry == NULL)
1527 switch (entry->type) {
1529 result = RPC_GetCapabilityOwner_TP(entry, pOwnerAuth, pVersion,
1536 put_table_entry(entry);
1550 struct host_table_entry *entry = get_table_entry(tspContext);
1552 if (entry == NULL)
1555 switch (entry->type) {
1557 result = RPC_CreateEndorsementKeyPair_TP(entry, antiReplay,
1567 put_table_entry(entry);
1579 struct host_table_entry *entry = get_table_entry(tspContext);
1581 if (entry == NULL)
1584 switch (entry->type) {
1586 result = RPC_ReadPubek_TP(entry, antiReplay, pubEndorsementKeySize,
1593 put_table_entry(entry);
1602 struct host_table_entry *entry = get_table_entry(tspContext);
1604 if (entry == NULL)
1607 switch (entry->type) {
1609 result = RPC_DisablePubekRead_TP(entry, ownerAuth);
1615 put_table_entry(entry);
1626 struct host_table_entry *entry = get_table_entry(tspContext);
1628 if (entry == NULL)
1631 switch (entry->type) {
1633 result = RPC_OwnerReadPubek_TP(entry, ownerAuth, pubEndorsementKeySize,
1640 put_table_entry(entry);
1657 struct host_table_entry *entry = get_table_entry(tspContext);
1659 if (entry == NULL)
1662 switch (entry->type) {
1664 result = RPC_CreateRevocableEndorsementKeyPair_TP(entry, antiReplay,
1676 put_table_entry(entry);
1685 struct host_table_entry *entry = get_table_entry(tspContext);
1687 if (entry == NULL)
1690 switch (entry->type) {
1692 result = RPC_RevokeEndorsementKeyPair_TP(entry, EKResetAuth);
1698 put_table_entry(entry);
1707 struct host_table_entry *entry = get_table_entry(tspContext);
1709 if (entry == NULL)
1712 switch (entry->type) {
1714 result = RPC_SelfTestFull_TP(entry);
1720 put_table_entry(entry);
1733 struct host_table_entry *entry = get_table_entry(tspContext);
1735 if (entry == NULL)
1738 switch (entry->type) {
1740 result = RPC_CertifySelfTest_TP(entry, keyHandle, antiReplay, privAuth,
1747 put_table_entry(entry);
1757 struct host_table_entry *entry = get_table_entry(tspContext);
1759 if (entry == NULL)
1762 switch (entry->type) {
1764 result = RPC_GetTestResult_TP(entry, outDataSize, outData);
1770 put_table_entry(entry);
1780 struct host_table_entry *entry = get_table_entry(tspContext);
1782 if (entry == NULL)
1785 switch (entry->type) {
1787 result = RPC_OwnerSetDisable_TP(entry, disableState, ownerAuth);
1793 put_table_entry(entry);
1803 struct host_table_entry *entry = get_table_entry(tspContext);
1805 if (entry == NULL)
1808 switch (entry->type) {
1810 result = RPC_ResetLockValue_TP(entry, ownerAuth);
1816 put_table_entry(entry);
1826 struct host_table_entry *entry = get_table_entry(tspContext);
1828 if (entry == NULL)
1831 switch (entry->type) {
1833 result = RPC_OwnerClear_TP(entry, ownerAuth);
1839 put_table_entry(entry);
1848 struct host_table_entry *entry = get_table_entry(tspContext);
1850 if (entry == NULL)
1853 switch (entry->type) {
1855 result = RPC_DisableOwnerClear_TP(entry, ownerAuth);
1861 put_table_entry(entry);
1869 struct host_table_entry *entry = get_table_entry(tspContext);
1871 if (entry == NULL)
1874 switch (entry->type) {
1876 result = RPC_ForceClear_TP(entry);
1882 put_table_entry(entry);
1890 struct host_table_entry *entry = get_table_entry(tspContext);
1892 if (entry == NULL)
1895 switch (entry->type) {
1897 result = RPC_DisableForceClear_TP(entry);
1903 put_table_entry(entry);
1911 struct host_table_entry *entry = get_table_entry(tspContext);
1913 if (entry == NULL)
1916 switch (entry->type) {
1918 result = RPC_PhysicalDisable_TP(entry);
1924 put_table_entry(entry);
1932 struct host_table_entry *entry = get_table_entry(tspContext);
1934 if (entry == NULL)
1937 switch (entry->type) {
1939 result = RPC_PhysicalEnable_TP(entry);
1945 put_table_entry(entry);
1954 struct host_table_entry *entry = get_table_entry(tspContext);
1956 if (entry == NULL)
1959 switch (entry->type) {
1961 result = RPC_PhysicalSetDeactivated_TP(entry, state);
1967 put_table_entry(entry);
1976 struct host_table_entry *entry = get_table_entry(tspContext);
1978 if (entry == NULL)
1981 switch (entry->type) {
1983 result = RPC_PhysicalPresence_TP(entry, fPhysicalPresence);
1989 put_table_entry(entry);
1997 struct host_table_entry *entry = get_table_entry(tspContext);
1999 if (entry == NULL)
2002 switch (entry->type) {
2004 result = RPC_SetTempDeactivated_TP(entry);
2010 put_table_entry(entry);
2020 struct host_table_entry *entry = get_table_entry(tspContext);
2022 if (entry == NULL)
2025 switch (entry->type) {
2027 result = RPC_SetTempDeactivated2_TP(entry, operatorAuth);
2033 put_table_entry(entry);
2047 struct host_table_entry *entry = get_table_entry(tspContext);
2049 if (entry == NULL)
2052 switch (entry->type) {
2060 put_table_entry(entry);
2072 struct host_table_entry *entry = get_table_entry(tspContext);
2074 if (entry == NULL)
2077 switch (entry->type) {
2085 put_table_entry(entry);
2099 struct host_table_entry *entry = get_table_entry(tspContext);
2101 if (entry == NULL)
2104 switch (entry->type) {
2106 result = RPC_CreateMaintenanceArchive_TP(entry, generateRandom, ownerAuth,
2114 put_table_entry(entry);
2127 struct host_table_entry *entry = get_table_entry(tspContext);
2129 if (entry == NULL)
2132 switch (entry->type) {
2134 result = RPC_LoadMaintenanceArchive_TP(entry, dataInSize, dataIn, ownerAuth,
2141 put_table_entry(entry);
2150 struct host_table_entry *entry = get_table_entry(tspContext);
2152 if (entry == NULL)
2155 switch (entry->type) {
2157 result = RPC_KillMaintenanceFeature_TP(entry, ownerAuth);
2163 put_table_entry(entry);
2175 struct host_table_entry *entry = get_table_entry(tspContext);
2177 if (entry == NULL)
2180 switch (entry->type) {
2182 result = RPC_LoadManuMaintPub_TP(entry, antiReplay, PubKeySize, PubKey,
2189 put_table_entry(entry);
2199 struct host_table_entry *entry = get_table_entry(tspContext);
2201 if (entry == NULL)
2204 switch (entry->type) {
2206 result = RPC_ReadManuMaintPub_TP(entry, antiReplay, checksum);
2212 put_table_entry(entry);
2231 struct host_table_entry *entry = get_table_entry(tspContext);
2233 if (entry == NULL)
2236 switch (entry->type) {
2238 result = RPC_DaaJoin_TP(entry, daa_session, stage, inputSize0, inputData0,
2246 put_table_entry(entry);
2265 struct host_table_entry *entry = get_table_entry(tspContext);
2267 if (entry == NULL)
2270 switch (entry->type) {
2272 result = RPC_DaaSign_TP(entry, daa_session, stage, inputSize0, inputData0,
2280 put_table_entry(entry);
2293 struct host_table_entry *entry = get_table_entry(tspContext);
2295 if (entry == NULL)
2298 switch (entry->type) {
2300 result = RPC_ReadCounter_TP(entry, idCounter, counterValue);
2306 put_table_entry(entry);
2321 struct host_table_entry *entry = get_table_entry(tspContext);
2323 if (entry == NULL)
2326 switch (entry->type) {
2328 result = RPC_CreateCounter_TP(entry, LabelSize, pLabel, CounterAuth,
2335 put_table_entry(entry);
2347 struct host_table_entry *entry = get_table_entry(tspContext);
2349 if (entry == NULL)
2352 switch (entry->type) {
2354 result = RPC_IncrementCounter_TP(entry, idCounter, pCounterAuth,
2361 put_table_entry(entry);
2372 struct host_table_entry *entry = get_table_entry(tspContext);
2374 if (entry == NULL)
2377 switch (entry->type) {
2379 result = RPC_ReleaseCounter_TP(entry, idCounter, pCounterAuth);
2385 put_table_entry(entry);
2396 struct host_table_entry *entry = get_table_entry(tspContext);
2398 if (entry == NULL)
2401 switch (entry->type) {
2403 result = RPC_ReleaseCounterOwner_TP(entry, idCounter, pOwnerAuth);
2409 put_table_entry(entry);
2422 struct host_table_entry *entry = get_table_entry(tspContext);
2424 if (entry == NULL)
2427 switch (entry->type) {
2429 result = RPC_ReadCurrentTicks_TP(entry, pulCurrentTime, prgbCurrentTime);
2435 put_table_entry(entry);
2452 struct host_table_entry *entry = get_table_entry(tspContext);
2454 if (entry == NULL)
2457 switch (entry->type) {
2459 result = RPC_TickStampBlob_TP(entry, hKey, antiReplay, digestToStamp,
2468 put_table_entry(entry);
2491 struct host_table_entry *entry = get_table_entry(tspContext);
2493 if (entry == NULL)
2496 switch (entry->type) {
2498 result = RPC_EstablishTransport_TP(entry, ulTransControlFlags, hEncKey,
2509 put_table_entry(entry);
2532 struct host_table_entry *entry = get_table_entry(tspContext);
2534 if (entry == NULL)
2537 switch (entry->type) {
2539 result = RPC_ExecuteTransport_TP(entry, unWrappedCommandOrdinal,
2553 put_table_entry(entry);
2571 struct host_table_entry *entry = get_table_entry(tspContext);
2573 if (entry == NULL)
2576 switch (entry->type) {
2578 result = RPC_ReleaseTransportSigned_TP(entry, hSignatureKey,
2589 put_table_entry(entry);
2604 struct host_table_entry *entry = get_table_entry(hContext);
2606 if (entry == NULL)
2609 switch (entry->type) {
2611 result = RPC_NV_DefineOrReleaseSpace_TP(entry, cPubInfoSize, pPubInfo,
2618 put_table_entry(entry);
2632 struct host_table_entry *entry = get_table_entry(hContext);
2634 if (entry == NULL)
2637 switch (entry->type) {
2639 result = RPC_NV_WriteValue_TP(entry, hNVStore, offset, ulDataLength,
2646 put_table_entry(entry);
2662 struct host_table_entry *entry = get_table_entry(hContext);
2664 if (entry == NULL)
2667 switch (entry->type) {
2669 result = RPC_NV_WriteValueAuth_TP(entry, hNVStore, offset, ulDataLength,
2676 put_table_entry(entry);
2692 struct host_table_entry *entry = get_table_entry(hContext);
2694 if (entry == NULL)
2697 switch (entry->type) {
2699 result = RPC_NV_ReadValue_TP(entry, hNVStore, offset, pulDataLength,
2706 put_table_entry(entry);
2720 struct host_table_entry *entry = get_table_entry(hContext);
2722 if (entry == NULL)
2725 switch (entry->type) {
2727 result = RPC_NV_ReadValueAuth_TP(entry, hNVStore, offset, pulDataLength,
2734 put_table_entry(entry);
2748 struct host_table_entry *entry = get_table_entry(hContext);
2750 if (entry == NULL)
2753 switch (entry->type) {
2755 result = RPC_SetOrdinalAuditStatus_TP(entry, ownerAuth, ulOrdinal,
2762 put_table_entry(entry);
2778 struct host_table_entry *entry = get_table_entry(hContext);
2780 if (entry == NULL)
2783 switch (entry->type) {
2785 result = RPC_GetAuditDigest_TP(entry, startOrdinal, auditDigest,
2793 put_table_entry(entry);
2812 struct host_table_entry *entry = get_table_entry(hContext);
2814 if (entry == NULL)
2817 switch (entry->type) {
2819 result = RPC_GetAuditDigestSigned_TP(entry, keyHandle, closeAudit,
2829 put_table_entry(entry);
2841 struct host_table_entry *entry = get_table_entry(hContext);
2843 if (entry == NULL)
2846 switch (entry->type) {
2848 result = RPC_SetOperatorAuth_TP(entry, operatorAuth);
2854 put_table_entry(entry);
2867 struct host_table_entry *entry = get_table_entry(hContext);
2869 if (entry == NULL)
2872 switch (entry->type) {
2874 result = RPC_OwnerReadInternalPub_TP(entry, hKey, pOwnerAuth, punPubKeySize,
2881 put_table_entry(entry);
2899 struct host_table_entry *entry = get_table_entry(hContext);
2901 if (entry == NULL)
2904 switch (entry->type) {
2906 result = RPC_Delegate_Manage_TP(entry, familyID, opFlag, opDataSize, opData,
2913 put_table_entry(entry);
2929 struct host_table_entry *entry = get_table_entry(hContext);
2931 if (entry == NULL)
2934 switch (entry->type) {
2936 result = RPC_Delegate_CreateKeyDelegation_TP(entry, hKey, publicInfoSize,
2944 put_table_entry(entry);
2960 struct host_table_entry *entry = get_table_entry(hContext);
2962 if (entry == NULL)
2965 switch (entry->type) {
2967 result = RPC_Delegate_CreateOwnerDelegation_TP(entry, increment,
2976 put_table_entry(entry);
2989 struct host_table_entry *entry = get_table_entry(hContext);
2991 if (entry == NULL)
2994 switch (entry->type) {
2996 result = RPC_Delegate_LoadOwnerDelegation_TP(entry, index, blobSize, blob,
3003 put_table_entry(entry);
3016 struct host_table_entry *entry = get_table_entry(hContext);
3018 if (entry == NULL)
3021 switch (entry->type) {
3023 result = RPC_Delegate_ReadTable_TP(entry, familyTableSize, familyTable,
3030 put_table_entry(entry);
3044 struct host_table_entry *entry = get_table_entry(hContext);
3046 if (entry == NULL)
3049 switch (entry->type) {
3051 result = RPC_Delegate_UpdateVerificationCount_TP(entry, inputSize, input,
3059 put_table_entry(entry);
3070 struct host_table_entry *entry = get_table_entry(hContext);
3072 if (entry == NULL)
3075 switch (entry->type) {
3077 result = RPC_Delegate_VerifyDelegation_TP(entry, delegateSize, delegate);
3083 put_table_entry(entry);
3100 struct host_table_entry *entry = get_table_entry(hContext);
3102 if (entry == NULL)
3105 switch (entry->type) {
3107 result = RPC_DSAP_TP(entry, entityType, keyHandle, nonceOddDSAP,
3115 put_table_entry(entry);
3129 struct host_table_entry *entry = get_table_entry(hContext);
3131 if (entry == NULL)
3134 switch (entry->type) {
3136 result = RPC_CMK_SetRestrictions_TP(entry, restriction, ownerAuth);
3142 put_table_entry(entry);
3154 struct host_table_entry *entry = get_table_entry(hContext);
3156 if (entry == NULL)
3159 switch (entry->type) {
3161 result = RPC_CMK_ApproveMA_TP(entry, migAuthorityDigest, ownerAuth,
3168 put_table_entry(entry);
3184 struct host_table_entry *entry = get_table_entry(hContext);
3186 if (entry == NULL)
3189 switch (entry->type) {
3191 result = RPC_CMK_CreateKey_TP(entry, hWrappingKey, keyUsageAuth,
3199 put_table_entry(entry);
3215 struct host_table_entry *entry = get_table_entry(hContext);
3217 if (entry == NULL)
3220 switch (entry->type) {
3222 result = RPC_CMK_CreateTicket_TP(entry, publicVerifyKeySize,
3230 put_table_entry(entry);
3257 struct host_table_entry *entry = get_table_entry(hContext);
3259 if (entry == NULL)
3262 switch (entry->type) {
3264 result = RPC_CMK_CreateBlob_TP(entry, hParentKey, migrationType,
3274 put_table_entry(entry);
3295 struct host_table_entry *entry = get_table_entry(hContext);
3297 if (entry == NULL)
3300 switch (entry->type) {
3302 result = RPC_CMK_ConvertMigration_TP(entry, hParentHandle, restrictTicket,
3310 put_table_entry(entry);
3323 struct host_table_entry *entry = get_table_entry(hContext);
3325 if (entry == NULL)
3328 switch (entry->type) {
3330 result = RPC_FlushSpecific_TP(entry, hResHandle, resourceType);
3336 put_table_entry(entry);
3353 struct host_table_entry *entry = get_table_entry(hContext);
3355 if (entry == NULL)
3358 switch (entry->type) {
3360 result = RPC_KeyControlOwner_TP(entry, hKey,
3372 put_table_entry(entry);