Home
last modified time | relevance | path

Searched refs:getData (Results 1 – 25 of 179) sorted by relevance

12345678

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_cmk.c38 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_CMK_SetRestrictions()
46 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &restriction, 0, &data->comm)) in tcs_wrap_CMK_SetRestrictions()
49 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &ownerAuth, 0, &data->comm)) in tcs_wrap_CMK_SetRestrictions()
79 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_CMK_ApproveMA()
87 if (getData(TCSD_PACKET_TYPE_DIGEST, 1, &migAuthorityDigest, 0, &data->comm)) in tcs_wrap_CMK_ApproveMA()
90 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &ownerAuth, 0, &data->comm)) in tcs_wrap_CMK_ApproveMA()
131 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_CMK_CreateKey()
139 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) in tcs_wrap_CMK_CreateKey()
142 if (getData(TCSD_PACKET_TYPE_ENCAUTH, 2, &keyUsageAuth, 0, &data->comm)) in tcs_wrap_CMK_CreateKey()
145 if (getData(TCSD_PACKET_TYPE_DIGEST, 3, &migAuthorityApproval, 0, &data->comm)) in tcs_wrap_CMK_CreateKey()
[all …]
H A Drpc_nv.c40 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_NV_DefineOrReleaseSpace()
46 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &cPubInfoSize, 0, &data->comm)) in tcs_wrap_NV_DefineOrReleaseSpace()
55 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, pubInfo, cPubInfoSize, &data->comm)) { in tcs_wrap_NV_DefineOrReleaseSpace()
60 if (getData(TCSD_PACKET_TYPE_ENCAUTH, 3, &encAuth, 0, &data->comm)) { in tcs_wrap_NV_DefineOrReleaseSpace()
65 if (getData(TCSD_PACKET_TYPE_AUTH, 4, &Auth, 0, &data->comm)) in tcs_wrap_NV_DefineOrReleaseSpace()
103 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_NV_WriteValue()
109 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hNVStore, 0, &data->comm)) in tcs_wrap_NV_WriteValue()
112 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &offset, 0, &data->comm)) in tcs_wrap_NV_WriteValue()
115 if (getData(TCSD_PACKET_TYPE_UINT32, 3, &ulDataLength, 0, &data->comm)) in tcs_wrap_NV_WriteValue()
124 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, rgbDataToWrite, ulDataLength, &data->comm)) { in tcs_wrap_NV_WriteValue()
[all …]
H A Drpc_key.c37 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_EvictKey()
45 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) in tcs_wrap_EvictKey()
72 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_GetPubkey()
80 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) in tcs_wrap_GetPubkey()
83 result = getData(TCSD_PACKET_TYPE_AUTH, 2, &auth, 0, &data->comm); in tcs_wrap_GetPubkey()
128 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_TerminateHandle()
133 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &authHandle, 0, &data->comm)) in tcs_wrap_TerminateHandle()
165 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_LoadKeyByBlob()
173 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hUnwrappingKey, 0, &data->comm)) in tcs_wrap_LoadKeyByBlob()
175 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &cWrappedKeyBlob, 0, &data->comm)) in tcs_wrap_LoadKeyByBlob()
[all …]
H A Drpc_delegate.c47 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_Delegate_Manage()
55 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &familyId, 0, &data->comm)) in tcs_wrap_Delegate_Manage()
58 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &opFlag, 0, &data->comm)) in tcs_wrap_Delegate_Manage()
61 if (getData(TCSD_PACKET_TYPE_UINT32, 3, &opDataSize, 0, &data->comm)) in tcs_wrap_Delegate_Manage()
69 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, opData, opDataSize, &data->comm)) { in tcs_wrap_Delegate_Manage()
74 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &ownerAuth, 0, &data->comm)) { in tcs_wrap_Delegate_Manage()
136 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_Delegate_CreateKeyDelegation()
144 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) in tcs_wrap_Delegate_CreateKeyDelegation()
147 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &publicInfoSize, 0, &data->comm)) in tcs_wrap_Delegate_CreateKeyDelegation()
155 if (getData(TCSD_PACKET_TYPE_PBYTE, 3, publicInfo, publicInfoSize, &data->comm)) { in tcs_wrap_Delegate_CreateKeyDelegation()
[all …]
H A Drpc_admin.c37 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_PhysicalSetDeactivated()
45 if (getData(TCSD_PACKET_TYPE_BOOL, 1, &state, 0, &data->comm)) in tcs_wrap_PhysicalSetDeactivated()
67 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_DisableOwnerClear()
75 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &auth, 0, &data->comm)) in tcs_wrap_DisableOwnerClear()
102 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_ForceClear()
125 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_DisableForceClear()
148 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_PhysicalEnable()
172 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_SetOwnerInstall()
180 if (getData(TCSD_PACKET_TYPE_BOOL, 1, &state, 0, &data->comm)) in tcs_wrap_SetOwnerInstall()
203 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_OwnerSetDisable()
[all …]
H A Drpc_migration.c42 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_CreateMigrationBlob()
50 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &data->comm)) in tcs_wrap_CreateMigrationBlob()
52 if (getData(TCSD_PACKET_TYPE_UINT16, 2, &migrationType, 0, &data->comm)) in tcs_wrap_CreateMigrationBlob()
55 if (getData(TCSD_PACKET_TYPE_UINT32, 3, &MigrationKeyAuthSize, 0, &data->comm)) in tcs_wrap_CreateMigrationBlob()
63 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, MigrationKeyAuth, MigrationKeyAuthSize, &data->comm)) { in tcs_wrap_CreateMigrationBlob()
68 if (getData(TCSD_PACKET_TYPE_UINT32, 5, &encDataSize, 0, &data->comm)) { in tcs_wrap_CreateMigrationBlob()
79 if (getData(TCSD_PACKET_TYPE_PBYTE, 6, encData, encDataSize, &data->comm)) { in tcs_wrap_CreateMigrationBlob()
85 if (getData(TCSD_PACKET_TYPE_AUTH, 7, &auth1, 0, &data->comm)) { in tcs_wrap_CreateMigrationBlob()
91 if (getData(TCSD_PACKET_TYPE_AUTH, 8, &auth2, 0, &data->comm)) { in tcs_wrap_CreateMigrationBlob()
174 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_ConvertMigrationBlob()
[all …]
H A Drpc_changeauth.c48 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_ChangeAuth()
56 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &data->comm)) in tcs_wrap_ChangeAuth()
58 if (getData(TCSD_PACKET_TYPE_UINT16, 2, &protocolID, 0, &data->comm)) in tcs_wrap_ChangeAuth()
60 if (getData(TCSD_PACKET_TYPE_ENCAUTH, 3, &newAuth, 0, &data->comm)) in tcs_wrap_ChangeAuth()
62 if (getData(TCSD_PACKET_TYPE_UINT16, 4, &entityType, 0, &data->comm)) in tcs_wrap_ChangeAuth()
64 if (getData(TCSD_PACKET_TYPE_UINT32, 5, &encDataSize, 0, &data->comm)) in tcs_wrap_ChangeAuth()
71 if (getData(TCSD_PACKET_TYPE_PBYTE, 6, encData, encDataSize, &data->comm)) { in tcs_wrap_ChangeAuth()
75 if (getData(TCSD_PACKET_TYPE_AUTH, 7, &ownerAuth, 0, &data->comm)) { in tcs_wrap_ChangeAuth()
79 if (getData(TCSD_PACKET_TYPE_AUTH, 8, &entityAuth, 0, &data->comm)) { in tcs_wrap_ChangeAuth()
130 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_ChangeAuthOwner()
[all …]
H A Drpc_counter.c38 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_ReadCounter()
46 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) in tcs_wrap_ReadCounter()
78 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_CreateCounter()
86 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &LabelSize, 0, &data->comm)) in tcs_wrap_CreateCounter()
94 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, &pLabel, LabelSize, &data->comm)) { in tcs_wrap_CreateCounter()
98 if (getData(TCSD_PACKET_TYPE_ENCAUTH, 3, &encauth, 0, &data->comm)) { in tcs_wrap_CreateCounter()
102 if (getData(TCSD_PACKET_TYPE_AUTH, 4, &auth, 0, &data->comm)) { in tcs_wrap_CreateCounter()
140 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_IncrementCounter()
148 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) in tcs_wrap_IncrementCounter()
150 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &auth, 0, &data->comm)) in tcs_wrap_IncrementCounter()
[all …]
H A Drpc_daa.c41 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_DaaJoin()
47 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hDAA, 0, &data->comm)) in tcs_wrap_DaaJoin()
51 if (getData(TCSD_PACKET_TYPE_BYTE, 2, &stage, 0, &data->comm)) in tcs_wrap_DaaJoin()
55 if (getData(TCSD_PACKET_TYPE_UINT32, 3, &inputSize0, 0, &data->comm)) in tcs_wrap_DaaJoin()
66 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, inputData0, inputSize0, &data->comm)) { in tcs_wrap_DaaJoin()
72 if (getData(TCSD_PACKET_TYPE_UINT32, 5, &inputSize1, 0, &data->comm)) { in tcs_wrap_DaaJoin()
87 if (getData(TCSD_PACKET_TYPE_PBYTE, 6, inputData1, inputSize1, &data->comm)) { in tcs_wrap_DaaJoin()
95 if (getData(TCSD_PACKET_TYPE_AUTH, 7, &ownerAuth, 0, &data->comm)) { in tcs_wrap_DaaJoin()
147 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_DaaSign()
153 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hDAA, 0, &data->comm)) in tcs_wrap_DaaSign()
[all …]
H A Drpc_ek.c42 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_CreateEndorsementKeyPair()
50 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) in tcs_wrap_CreateEndorsementKeyPair()
53 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &eKPtrSize, 0, &data->comm)) in tcs_wrap_CreateEndorsementKeyPair()
61 if (getData(TCSD_PACKET_TYPE_PBYTE, 3, eKPtr, eKPtrSize, &data->comm)) { in tcs_wrap_CreateEndorsementKeyPair()
106 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_ReadPubek()
114 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) in tcs_wrap_ReadPubek()
153 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_OwnerReadPubek()
161 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &auth, 0, &data->comm)) in tcs_wrap_OwnerReadPubek()
199 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_DisablePubekRead()
204 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &auth, 0, &data->comm)) in tcs_wrap_DisablePubekRead()
[all …]
H A Drpc_transport.c42 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_EstablishTransport()
50 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &ulTransControlFlags, 0, &data->comm)) in tcs_wrap_EstablishTransport()
52 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &hEncKey, 0, &data->comm)) in tcs_wrap_EstablishTransport()
54 if (getData(TCSD_PACKET_TYPE_UINT32, 3, &ulTransSessionInfoSize, 0, &data->comm)) in tcs_wrap_EstablishTransport()
62 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, rgbTransSessionInfo, ulTransSessionInfoSize, in tcs_wrap_EstablishTransport()
68 if (getData(TCSD_PACKET_TYPE_UINT32, 5, &ulSecretSize, 0, &data->comm)) { in tcs_wrap_EstablishTransport()
79 if (getData(TCSD_PACKET_TYPE_PBYTE, 6, rgbSecret, ulSecretSize, &data->comm)) { in tcs_wrap_EstablishTransport()
84 if (getData(TCSD_PACKET_TYPE_AUTH, 7, &pEncKeyAuth, 0, &data->comm)) in tcs_wrap_EstablishTransport()
151 if (getData(TCSD_PACKET_TYPE_UINT32, i++, &hContext, 0, &data->comm)) in tcs_wrap_ExecuteTransport()
159 if (getData(TCSD_PACKET_TYPE_UINT32, i++, &unWrappedCommandOrdinal, 0, &data->comm)) in tcs_wrap_ExecuteTransport()
[all …]
H A Drpc_caps_tpm.c41 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_GetCapability()
49 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &capArea, 0, &data->comm)) in tcs_wrap_GetCapability()
51 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &subCapSize, 0, &data->comm)) in tcs_wrap_GetCapability()
62 if (getData(TCSD_PACKET_TYPE_PBYTE, 3, subCap, subCapSize, &data->comm)) { in tcs_wrap_GetCapability()
104 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_GetCapabilityOwner()
112 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm)) in tcs_wrap_GetCapabilityOwner()
154 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_SetCapability()
162 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &capArea, 0, &data->comm)) in tcs_wrap_SetCapability()
164 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &subCapSize, 0, &data->comm)) in tcs_wrap_SetCapability()
175 if (getData(TCSD_PACKET_TYPE_PBYTE, 3, subCap, subCapSize, &data->comm)) { in tcs_wrap_SetCapability()
[all …]
H A Drpc_seal.c49 if (getData(TCSD_PACKET_TYPE_UINT32, i++, &hContext, 0, &data->comm)) in tcs_common_Seal()
57 if (getData(TCSD_PACKET_TYPE_UINT32, i++, &keyHandle, 0, &data->comm)) in tcs_common_Seal()
59 if (getData(TCSD_PACKET_TYPE_ENCAUTH, i++, &KeyUsageAuth, 0, &data->comm)) in tcs_common_Seal()
61 if (getData(TCSD_PACKET_TYPE_UINT32, i++, &PCRInfoSize, 0, &data->comm)) in tcs_common_Seal()
71 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, PCRInfo, PCRInfoSize, &data->comm)) { in tcs_common_Seal()
77 if (getData(TCSD_PACKET_TYPE_UINT32, i++, &inDataSize, 0, &data->comm)) { in tcs_common_Seal()
90 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, inData, inDataSize, &data->comm)) { in tcs_common_Seal()
97 result = getData(TCSD_PACKET_TYPE_AUTH, i++, &pubAuth, 0, &data->comm); in tcs_common_Seal()
173 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_UnSeal()
181 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &data->comm)) in tcs_wrap_UnSeal()
[all …]
H A Drpc_maint.c37 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_KillMaintenanceFeature()
45 if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm)) in tcs_wrap_KillMaintenanceFeature()
77 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_CreateMaintenanceArchive()
85 if (getData(TCSD_PACKET_TYPE_BOOL, 1, &generateRandom, 0, &data->comm)) in tcs_wrap_CreateMaintenanceArchive()
88 if (getData(TCSD_PACKET_TYPE_AUTH, 2, &ownerAuth, 0, &data->comm)) in tcs_wrap_CreateMaintenanceArchive()
148 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_LoadMaintenanceArchive()
156 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &dataInSize, 0, &data->comm)) in tcs_wrap_LoadMaintenanceArchive()
164 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, dataIn, dataInSize, &data->comm)) { in tcs_wrap_LoadMaintenanceArchive()
169 if (getData(TCSD_PACKET_TYPE_AUTH, 3, &ownerAuth, 0, &data->comm)) { in tcs_wrap_LoadMaintenanceArchive()
216 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_LoadManuMaintPub()
[all …]
H A Drpc_aik.c56 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_MakeIdentity()
64 if (getData(TCSD_PACKET_TYPE_ENCAUTH, 1, &identityAuth, 0, &data->comm)) in tcs_wrap_MakeIdentity()
66 if (getData(TCSD_PACKET_TYPE_DIGEST, 2, &privCAHash, 0, &data->comm)) in tcs_wrap_MakeIdentity()
69 if (getData(TCSD_PACKET_TYPE_UINT32, 3, &idKeyInfoSize, 0, &data->comm)) in tcs_wrap_MakeIdentity()
76 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, idKeyInfo, idKeyInfoSize, &data->comm)) { in tcs_wrap_MakeIdentity()
80 if (getData(TCSD_PACKET_TYPE_AUTH, 5, &auth1, 0, &data->comm)) { in tcs_wrap_MakeIdentity()
85 result = getData(TCSD_PACKET_TYPE_AUTH, 6, &auth2, 0, &data->comm); in tcs_wrap_MakeIdentity()
171 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_ActivateIdentity()
179 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idKeyHandle, 0, &data->comm)) in tcs_wrap_ActivateIdentity()
181 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &blobSize, 0, &data->comm)) in tcs_wrap_ActivateIdentity()
[all …]
H A Drpc_own.c47 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_TakeOwnership()
55 if (getData(TCSD_PACKET_TYPE_UINT16, 1, &protocolID, 0, &data->comm)) in tcs_wrap_TakeOwnership()
57 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &encOwnerAuthSize, 0, &data->comm)) in tcs_wrap_TakeOwnership()
64 if (getData(TCSD_PACKET_TYPE_PBYTE, 3, encOwnerAuth, encOwnerAuthSize, &data->comm)) { in tcs_wrap_TakeOwnership()
68 if (getData(TCSD_PACKET_TYPE_UINT32, 4, &encSrkAuthSize, 0, &data->comm)) { in tcs_wrap_TakeOwnership()
78 if (getData(TCSD_PACKET_TYPE_PBYTE, 5, encSrkAuth, encSrkAuthSize, &data->comm)) { in tcs_wrap_TakeOwnership()
83 if (getData(TCSD_PACKET_TYPE_UINT32, 6, &srkInfoSize, 0, &data->comm)) { in tcs_wrap_TakeOwnership()
96 if (getData(TCSD_PACKET_TYPE_PBYTE, 7, srkInfo, srkInfoSize, &data->comm)) { in tcs_wrap_TakeOwnership()
102 if (getData(TCSD_PACKET_TYPE_AUTH, 8, &ownerAuth, 0, &data->comm)) { in tcs_wrap_TakeOwnership()
149 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_OwnerClear()
[all …]
H A Drpc_ps.c42 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_RegisterKey()
50 if (getData(TCSD_PACKET_TYPE_UUID, 1, &WrappingKeyUUID, 0, &data->comm)) in tcs_wrap_RegisterKey()
52 if (getData(TCSD_PACKET_TYPE_UUID, 2, &KeyUUID, 0, &data->comm)) in tcs_wrap_RegisterKey()
54 if (getData(TCSD_PACKET_TYPE_UINT32, 3, &cKeySize, 0, &data->comm)) in tcs_wrap_RegisterKey()
62 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, rgbKey, cKeySize, &data->comm)) { in tcs_wrap_RegisterKey()
66 if (getData(TCSD_PACKET_TYPE_UINT32, 5, &cVendorData, 0, &data->comm)) { in tcs_wrap_RegisterKey()
81 if (getData(TCSD_PACKET_TYPE_PBYTE, 6, gbVendorData, cVendorData, &data->comm)) { in tcs_wrap_RegisterKey()
106 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_UnregisterKey()
114 if (getData(TCSD_PACKET_TYPE_UUID, 1, &uuid, 0, &data->comm)) in tcs_wrap_UnregisterKey()
134 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_GetRegisteredKeyBlob()
[all …]
H A Drpc_pcr_extend.c39 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_Extend()
47 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrIndex, 0, &data->comm)) in tcs_wrap_Extend()
49 if (getData(TCSD_PACKET_TYPE_DIGEST, 2, &inDigest, 0, &data->comm)) in tcs_wrap_Extend()
78 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_PcrRead()
86 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrIndex, 0, &data->comm)) in tcs_wrap_PcrRead()
115 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_PcrReset()
123 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrDataSizeIn, 0, &data->comm)) in tcs_wrap_PcrReset()
131 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, pcrDataIn, pcrDataSizeIn, &data->comm)) { in tcs_wrap_PcrReset()
H A Drpc_audit.c39 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_SetOrdinalAuditStatus()
47 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &ulOrdinal, 0, &data->comm)) in tcs_wrap_SetOrdinalAuditStatus()
50 if (getData(TCSD_PACKET_TYPE_BOOL, 2, &bAuditState, 0, &data->comm)) in tcs_wrap_SetOrdinalAuditStatus()
53 if (getData(TCSD_PACKET_TYPE_AUTH, 3, &ownerAuth, 0, &data->comm)) in tcs_wrap_SetOrdinalAuditStatus()
87 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_GetAuditDigest()
95 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &startOrdinal, 0, &data->comm)) in tcs_wrap_GetAuditDigest()
164 if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) in tcs_wrap_GetAuditDigestSigned()
172 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &keyHandle, 0, &data->comm)) in tcs_wrap_GetAuditDigestSigned()
174 if (getData(TCSD_PACKET_TYPE_BOOL, 2, &closeAudit, 0, &data->comm)) in tcs_wrap_GetAuditDigestSigned()
176 if (getData(TCSD_PACKET_TYPE_NONCE, 3, &antiReplay, 0, &data->comm)) in tcs_wrap_GetAuditDigestSigned()
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
H A Drpc_transport.c78 if (getData(TCSD_PACKET_TYPE_AUTH, i++, pEncKeyAuth, 0, &hte->comm)) { in RPC_EstablishTransport_TP()
83 if (getData(TCSD_PACKET_TYPE_UINT32, i++, pbLocality, 0, &hte->comm)) { in RPC_EstablishTransport_TP()
87 if (getData(TCSD_PACKET_TYPE_UINT32, i++, hTransSession, 0, &hte->comm)) { in RPC_EstablishTransport_TP()
91 if (getData(TCSD_PACKET_TYPE_UINT32, i++, ulCurrentTicksSize, 0, &hte->comm)) { in RPC_EstablishTransport_TP()
103 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *prgbCurrentTicks, *ulCurrentTicksSize, in RPC_EstablishTransport_TP()
111 if (getData(TCSD_PACKET_TYPE_NONCE, i++, pTransNonce, 0, &hte->comm)) { in RPC_EstablishTransport_TP()
187 if (getData(TCSD_PACKET_TYPE_UINT32, i++, pulHandleListSize, 0, &hte->comm)) in RPC_ExecuteTransport_TP()
196 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *rghHandles, in RPC_ExecuteTransport_TP()
203 if (getData(TCSD_PACKET_TYPE_AUTH, i++, pWrappedCmdAuth1, 0, &hte->comm)) { in RPC_ExecuteTransport_TP()
208 if (getData(TCSD_PACKET_TYPE_AUTH, i++, &null_auth, 0, &hte->comm)) { in RPC_ExecuteTransport_TP()
[all …]
H A Drpc_aik.c81 if (getData(TCSD_PACKET_TYPE_AUTH, i++, pSrkAuth, 0, &hte->comm)) { in RPC_MakeIdentity_TP()
86 if (getData(TCSD_PACKET_TYPE_AUTH, i++, pOwnerAuth, 0, &hte->comm)) { in RPC_MakeIdentity_TP()
90 if (getData(TCSD_PACKET_TYPE_UINT32, i++, idKeySize, 0, &hte->comm)) { in RPC_MakeIdentity_TP()
101 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *idKey, *idKeySize, &hte->comm)) { in RPC_MakeIdentity_TP()
106 if (getData(TCSD_PACKET_TYPE_UINT32, i++, pcIdentityBindingSize, 0, &hte->comm)) { in RPC_MakeIdentity_TP()
119 …if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *prgbIdentityBinding, *pcIdentityBindingSize, &hte->comm)… in RPC_MakeIdentity_TP()
125 if (getData(TCSD_PACKET_TYPE_UINT32, i++, pcEndorsementCredentialSize, 0, &hte->comm)) { in RPC_MakeIdentity_TP()
141 …if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *prgbEndorsementCredential, *pcEndorsementCredentialSize,… in RPC_MakeIdentity_TP()
150 if (getData(TCSD_PACKET_TYPE_UINT32, i++, pcPlatformCredentialSize, 0, &hte->comm)) { in RPC_MakeIdentity_TP()
171 …if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *prgbPlatformCredential, *pcPlatformCredentialSize, &hte-… in RPC_MakeIdentity_TP()
[all …]
H A Drpc_audit.c53 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_SetOrdinalAuditStatus_TP()
87 if (getData(TCSD_PACKET_TYPE_DIGEST, 0, auditDigest, 0, &hte->comm)) { in RPC_GetAuditDigest_TP()
91 if (getData(TCSD_PACKET_TYPE_UINT32, 1, counterValueSize, 0, &hte->comm)) { in RPC_GetAuditDigest_TP()
101 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, *counterValue, *counterValueSize, &hte->comm)) { in RPC_GetAuditDigest_TP()
107 if (getData(TCSD_PACKET_TYPE_BOOL, 3, more, 0, &hte->comm)) { in RPC_GetAuditDigest_TP()
113 if (getData(TCSD_PACKET_TYPE_UINT32, 4, ordSize, 0, &hte->comm)) { in RPC_GetAuditDigest_TP()
127 if (getData(TCSD_PACKET_TYPE_PBYTE, 5, *ordList, *ordSize * sizeof(UINT32), &hte->comm)) { in RPC_GetAuditDigest_TP()
189 if (getData(TCSD_PACKET_TYPE_AUTH, i++, privAuth, 0, &hte->comm)) { in RPC_GetAuditDigestSigned_TP()
194 if (getData(TCSD_PACKET_TYPE_UINT32, i++, counterValueSize, 0, &hte->comm)) { in RPC_GetAuditDigestSigned_TP()
204 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *counterValue, *counterValueSize, &hte->comm)) { in RPC_GetAuditDigestSigned_TP()
[all …]
H A Drpc_ek.c59 if (getData(TCSD_PACKET_TYPE_UINT32, 0, endorsementKeySize, 0, &hte->comm)) { in RPC_CreateEndorsementKeyPair_TP()
70 if (getData(TCSD_PACKET_TYPE_PBYTE, 1, *endorsementKey, *endorsementKeySize, &hte->comm)) { in RPC_CreateEndorsementKeyPair_TP()
75 if (getData(TCSD_PACKET_TYPE_DIGEST, 2, &(checksum->digest), 0, &hte->comm)) { in RPC_CreateEndorsementKeyPair_TP()
110 if (getData(TCSD_PACKET_TYPE_UINT32, 0, pubEndorsementKeySize, 0, &hte->comm)) { in RPC_ReadPubek_TP()
121 if (getData(TCSD_PACKET_TYPE_PBYTE, 1, *pubEndorsementKey, *pubEndorsementKeySize, &hte->comm)) { in RPC_ReadPubek_TP()
126 if (getData(TCSD_PACKET_TYPE_DIGEST, 2, &(checksum->digest), 0, &hte->comm)) { in RPC_ReadPubek_TP()
157 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_DisablePubekRead_TP()
188 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)){ in RPC_OwnerReadPubek_TP()
193 if (getData(TCSD_PACKET_TYPE_UINT32, 1, pubEndorsementKeySize, 0, &hte->comm)) { in RPC_OwnerReadPubek_TP()
205 … if (getData(TCSD_PACKET_TYPE_PBYTE, 2, *pubEndorsementKey, *pubEndorsementKeySize, &hte->comm)) { in RPC_OwnerReadPubek_TP()
[all …]
H A Drpc_delegate.c72 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm)) in RPC_Delegate_Manage_TP()
75 if (getData(TCSD_PACKET_TYPE_UINT32, i++, retDataSize, 0, &hte->comm)) in RPC_Delegate_Manage_TP()
82 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *retData, *retDataSize, &hte->comm)) { in RPC_Delegate_Manage_TP()
137 if (getData(TCSD_PACKET_TYPE_AUTH, i++, keyAuth, 0, &hte->comm)) in RPC_Delegate_CreateKeyDelegation_TP()
140 if (getData(TCSD_PACKET_TYPE_UINT32, i++, blobSize, 0, &hte->comm)) in RPC_Delegate_CreateKeyDelegation_TP()
147 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *blob, *blobSize, &hte->comm)) { in RPC_Delegate_CreateKeyDelegation_TP()
202 if (getData(TCSD_PACKET_TYPE_AUTH, i++, ownerAuth, 0, &hte->comm)) in RPC_Delegate_CreateOwnerDelegation_TP()
205 if (getData(TCSD_PACKET_TYPE_UINT32, i++, blobSize, 0, &hte->comm)) in RPC_Delegate_CreateOwnerDelegation_TP()
212 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *blob, *blobSize, &hte->comm)) { in RPC_Delegate_CreateOwnerDelegation_TP()
260 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) in RPC_Delegate_LoadOwnerDelegation_TP()
[all …]
H A Drpc_migration.c85 if (getData(TCSD_PACKET_TYPE_AUTH, i++, parentAuth, 0, &hte->comm)) { in RPC_CreateMigrationBlob_TP()
90 if (getData(TCSD_PACKET_TYPE_AUTH, i++, entityAuth, 0, &hte->comm)) { in RPC_CreateMigrationBlob_TP()
95 if (getData(TCSD_PACKET_TYPE_UINT32, i++, randomSize, 0, &hte->comm)) { in RPC_CreateMigrationBlob_TP()
107 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *random, *randomSize, &hte->comm)) { in RPC_CreateMigrationBlob_TP()
114 if (getData(TCSD_PACKET_TYPE_UINT32, i++, outDataSize, 0, &hte->comm)) { in RPC_CreateMigrationBlob_TP()
129 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *outData, *outDataSize, &hte->comm)) { in RPC_CreateMigrationBlob_TP()
186 if (getData(TCSD_PACKET_TYPE_AUTH, i++, parentAuth, 0, &hte->comm)) { in RPC_ConvertMigrationBlob_TP()
192 if (getData(TCSD_PACKET_TYPE_UINT32, i++, outDataSize, 0, &hte->comm)) { in RPC_ConvertMigrationBlob_TP()
203 if (getData(TCSD_PACKET_TYPE_PBYTE, i++, *outData, *outDataSize, &hte->comm)) { in RPC_ConvertMigrationBlob_TP()
245 if (getData(TCSD_PACKET_TYPE_AUTH, 0, ownerAuth, 0, &hte->comm)) { in RPC_AuthorizeMigrationKey_TP()
[all …]

12345678