/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
H A D | rpc_cmk.c | 37 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_CMK_SetRestrictions_TP() 39 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &restriction, 0, &hte->comm)) in RPC_CMK_SetRestrictions_TP() 41 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm)) in RPC_CMK_SetRestrictions_TP() 73 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm)) in RPC_CMK_ApproveMA_TP() 117 if (setData(TCSD_PACKET_TYPE_UINT32, 5, keyDataSize, 0, &hte->comm)) in RPC_CMK_CreateKey_TP() 122 if (setData(TCSD_PACKET_TYPE_AUTH, 7, pAuth, 0, &hte->comm)) in RPC_CMK_CreateKey_TP() 128 if (setData(TCSD_PACKET_TYPE_AUTH, 7, &nullAuth, 0, &hte->comm)) in RPC_CMK_CreateKey_TP() 190 if (setData(TCSD_PACKET_TYPE_AUTH, 6, ownerAuth, 0, &hte->comm)) in RPC_CMK_CreateTicket_TP() 265 if (setData(TCSD_PACKET_TYPE_AUTH, 14, pAuth, 0, &hte->comm)) in RPC_CMK_CreateBlob_TP() 271 if (setData(TCSD_PACKET_TYPE_AUTH, 14, &nullAuth, 0, &hte->comm)) in RPC_CMK_CreateBlob_TP() [all …]
|
H A D | rpc_delegate.c | 45 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &familyID, 0, &hte->comm)) in RPC_Delegate_Manage_TP() 47 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &opFlag, 0, &hte->comm)) in RPC_Delegate_Manage_TP() 49 if (setData(TCSD_PACKET_TYPE_UINT32, 3, &opDataSize, 0, &hte->comm)) in RPC_Delegate_Manage_TP() 54 if (setData(TCSD_PACKET_TYPE_AUTH, 5, ownerAuth, 0, &hte->comm)) in RPC_Delegate_Manage_TP() 60 if (setData(TCSD_PACKET_TYPE_AUTH, 5, &nullAuth, 0, &hte->comm)) in RPC_Delegate_Manage_TP() 110 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &hte->comm)) in RPC_Delegate_CreateKeyDelegation_TP() 119 if (setData(TCSD_PACKET_TYPE_AUTH, 5, keyAuth, 0, &hte->comm)) in RPC_Delegate_CreateKeyDelegation_TP() 125 if (setData(TCSD_PACKET_TYPE_AUTH, 5, &nullAuth, 0, &hte->comm)) in RPC_Delegate_CreateKeyDelegation_TP() 175 if (setData(TCSD_PACKET_TYPE_BOOL, 1, &increment, 0, &hte->comm)) in RPC_Delegate_CreateOwnerDelegation_TP() 184 if (setData(TCSD_PACKET_TYPE_AUTH, 5, ownerAuth, 0, &hte->comm)) in RPC_Delegate_CreateOwnerDelegation_TP() [all …]
|
H A D | rpc_nv.c | 46 if (setData(TCSD_PACKET_TYPE_ENCAUTH, 3, &encAuth, 0, &hte->comm)) in RPC_NV_DefineOrReleaseSpace_TP() 49 if (setData(TCSD_PACKET_TYPE_AUTH, 4, pAuth, 0, &hte->comm)) in RPC_NV_DefineOrReleaseSpace_TP() 88 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &hNVStore, 0, &hte->comm)) in RPC_NV_WriteValue_TP() 90 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &offset, 0, &hte->comm)) in RPC_NV_WriteValue_TP() 97 if (setData(TCSD_PACKET_TYPE_AUTH, 5, privAuth, 0, &hte->comm)) in RPC_NV_WriteValue_TP() 138 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &offset, 0, &hte->comm)) in RPC_NV_WriteValueAuth_TP() 145 if (setData(TCSD_PACKET_TYPE_AUTH, 5, NVAuth, 0, &hte->comm)) in RPC_NV_WriteValueAuth_TP() 187 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &offset, 0, &hte->comm)) in RPC_NV_ReadValue_TP() 193 if (setData(TCSD_PACKET_TYPE_AUTH, 4, privAuth, 0, &hte->comm)) in RPC_NV_ReadValue_TP() 255 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &offset, 0, &hte->comm)) in RPC_NV_ReadValueAuth_TP() [all …]
|
H A D | rpc_key.c | 46 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &hUnwrappingKey, 0, &hte->comm)) in RPC_LoadKeyByBlob_TP() 54 if (setData(TCSD_PACKET_TYPE_AUTH, 4, pAuth, 0, &hte->comm)) in RPC_LoadKeyByBlob_TP() 93 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &hte->comm)) in RPC_EvictKey_TP() 134 if (setData(TCSD_PACKET_TYPE_AUTH, 6, pAuth, 0, &hte->comm)) in RPC_CreateWrapKey_TP() 188 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &hte->comm)) in RPC_GetPubKey_TP() 191 if (setData(TCSD_PACKET_TYPE_AUTH, 2, pAuth, 0, &hte->comm)) in RPC_GetPubKey_TP() 241 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &handle, 0, &hte->comm)) in RPC_TerminateHandle_TP() 267 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &hte->comm)) in RPC_OwnerReadInternalPub_TP() 270 if (setData(TCSD_PACKET_TYPE_AUTH, 2, pOwnerAuth, 0, &hte->comm)) in RPC_OwnerReadInternalPub_TP() 321 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &hte->comm)) in RPC_KeyControlOwner_TP() [all …]
|
H A D | rpc_migration.c | 56 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &parentHandle, 0, &hte->comm)) in RPC_CreateMigrationBlob_TP() 58 if (setData(TCSD_PACKET_TYPE_UINT16, i++, &migrationType, 0, &hte->comm)) in RPC_CreateMigrationBlob_TP() 64 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &encDataSize, 0, &hte->comm)) in RPC_CreateMigrationBlob_TP() 70 if (setData(TCSD_PACKET_TYPE_AUTH, i++, parentAuth, 0, &hte->comm)) in RPC_CreateMigrationBlob_TP() 74 if (setData(TCSD_PACKET_TYPE_AUTH, i++, entityAuth, 0, &hte->comm)) in RPC_CreateMigrationBlob_TP() 162 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &hte->comm)) in RPC_ConvertMigrationBlob_TP() 164 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &inDataSize, 0, &hte->comm)) in RPC_ConvertMigrationBlob_TP() 166 if (setData(TCSD_PACKET_TYPE_PBYTE, 3, inData, inDataSize, &hte->comm)) in RPC_ConvertMigrationBlob_TP() 168 if (setData(TCSD_PACKET_TYPE_UINT32, 4, &randomSize, 0, &hte->comm)) in RPC_ConvertMigrationBlob_TP() 174 if (setData(TCSD_PACKET_TYPE_AUTH, 6, parentAuth, 0, &hte->comm)) in RPC_ConvertMigrationBlob_TP() [all …]
|
H A D | rpc_transport.c | 50 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_EstablishTransport_TP() 54 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &hEncKey, 0, &hte->comm)) in RPC_EstablishTransport_TP() 61 if (setData(TCSD_PACKET_TYPE_UINT32, 5, &ulSecretSize, 0, &hte->comm)) in RPC_EstablishTransport_TP() 66 if (setData(TCSD_PACKET_TYPE_AUTH, 7, pEncKeyAuth, 0, &hte->comm)) in RPC_EstablishTransport_TP() 159 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, *rghHandles, in RPC_ExecuteTransport_TP() 167 if (setData(TCSD_PACKET_TYPE_AUTH, i++, &null_auth, 0, &hte->comm)) in RPC_ExecuteTransport_TP() 174 if (setData(TCSD_PACKET_TYPE_AUTH, i++, &null_auth, 0, &hte->comm)) in RPC_ExecuteTransport_TP() 177 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pTransAuth, 0, &hte->comm)) in RPC_ExecuteTransport_TP() 299 if (setData(TCSD_PACKET_TYPE_AUTH, 3, pKeyAuth, 0, &hte->comm)) in RPC_ReleaseTransportSigned_TP() 302 if (setData(TCSD_PACKET_TYPE_AUTH, 3, &null_auth, 0, &hte->comm)) in RPC_ReleaseTransportSigned_TP() [all …]
|
H A D | rpc_admin.c | 38 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_SetOwnerInstall_TP() 40 if (setData(TCSD_PACKET_TYPE_BOOL, 1, &state, 0, &hte->comm)) in RPC_SetOwnerInstall_TP() 61 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_DisableOwnerClear_TP() 64 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_DisableOwnerClear_TP() 173 if (setData(TCSD_PACKET_TYPE_BOOL, 1, &disableState, 0, &hte->comm)) in RPC_OwnerSetDisable_TP() 175 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm)) in RPC_OwnerSetDisable_TP() 203 if (setData(TCSD_PACKET_TYPE_BOOL, 1, &state, 0, &hte->comm)) in RPC_PhysicalSetDeactivated_TP() 271 if (setData(TCSD_PACKET_TYPE_AUTH, 1, operatorAuth, 0, &hte->comm)) in RPC_SetTempDeactivated2_TP() 277 if (setData(TCSD_PACKET_TYPE_AUTH, 1, &nullAuth, 0, &hte->comm)) in RPC_SetTempDeactivated2_TP() 332 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_ResetLockValue_TP() [all …]
|
H A D | rpc_daa.c | 47 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_DaaJoin_TP() 49 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &handle, 0, &hte->comm)) in RPC_DaaJoin_TP() 51 if (setData(TCSD_PACKET_TYPE_BYTE, 2, &stage, 0, &hte->comm)) in RPC_DaaJoin_TP() 53 if (setData(TCSD_PACKET_TYPE_UINT32, 3, &inputSize0, 0, &hte->comm)) in RPC_DaaJoin_TP() 58 if (setData(TCSD_PACKET_TYPE_UINT32, 5, &inputSize1, 0, &hte->comm)) in RPC_DaaJoin_TP() 64 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm)) in RPC_DaaJoin_TP() 127 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &handle, 0, &hte->comm)) in RPC_DaaSign_TP() 129 if (setData(TCSD_PACKET_TYPE_BYTE, 2, &stage, 0, &hte->comm)) in RPC_DaaSign_TP() 131 if (setData(TCSD_PACKET_TYPE_UINT32, 3, &inputSize0, 0, &hte->comm)) in RPC_DaaSign_TP() 136 if (setData(TCSD_PACKET_TYPE_UINT32, 5, &inputSize1, 0, &hte->comm)) in RPC_DaaSign_TP() [all …]
|
H A D | rpc_counter.c | 39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_ReadCounter_TP() 41 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_ReadCounter_TP() 74 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &LabelSize, 0, &hte->comm)) in RPC_CreateCounter_TP() 78 if (setData(TCSD_PACKET_TYPE_ENCAUTH, 3, &CounterAuth, 0, &hte->comm)) in RPC_CreateCounter_TP() 80 if (setData(TCSD_PACKET_TYPE_AUTH, 4, pOwnerAuth, 0, &hte->comm)) in RPC_CreateCounter_TP() 120 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_IncrementCounter_TP() 122 if (setData(TCSD_PACKET_TYPE_AUTH, 2, pCounterAuth, 0, &hte->comm)) in RPC_IncrementCounter_TP() 157 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_ReleaseCounter_TP() 159 if (setData(TCSD_PACKET_TYPE_AUTH, 2, pCounterAuth, 0, &hte->comm)) in RPC_ReleaseCounter_TP() 188 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_ReleaseCounterOwner_TP() [all …]
|
H A D | rpc_changeauth.c | 49 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &hte->comm)) in RPC_ChangeAuth_TP() 51 if (setData(TCSD_PACKET_TYPE_UINT16, 2, &protocolID, 0, &hte->comm)) in RPC_ChangeAuth_TP() 53 if (setData(TCSD_PACKET_TYPE_ENCAUTH, 3, newAuth, 0, &hte->comm)) in RPC_ChangeAuth_TP() 55 if (setData(TCSD_PACKET_TYPE_UINT16, 4, &entityType, 0, &hte->comm)) in RPC_ChangeAuth_TP() 57 if (setData(TCSD_PACKET_TYPE_UINT32, 5, &encDataSize, 0, &hte->comm)) in RPC_ChangeAuth_TP() 61 if (setData(TCSD_PACKET_TYPE_AUTH, 7, ownerAuth, 0, &hte->comm)) in RPC_ChangeAuth_TP() 63 if (setData(TCSD_PACKET_TYPE_AUTH, 8, entityAuth, 0, &hte->comm)) in RPC_ChangeAuth_TP() 116 if (setData(TCSD_PACKET_TYPE_UINT16, 1, &protocolID, 0, &hte->comm)) in RPC_ChangeAuthOwner_TP() 118 if (setData(TCSD_PACKET_TYPE_ENCAUTH, 2, newAuth, 0, &hte->comm)) in RPC_ChangeAuthOwner_TP() 120 if (setData(TCSD_PACKET_TYPE_UINT16, 3, &entityType, 0, &hte->comm)) in RPC_ChangeAuthOwner_TP() [all …]
|
H A D | rpc_ek.c | 44 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_CreateEndorsementKeyPair_TP() 46 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm)) in RPC_CreateEndorsementKeyPair_TP() 99 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_ReadPubek_TP() 101 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm)) in RPC_ReadPubek_TP() 148 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_DisablePubekRead_TP() 179 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_OwnerReadPubek_TP() 234 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_CreateRevocableEndorsementKeyPair_TP() 236 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm)) in RPC_CreateRevocableEndorsementKeyPair_TP() 242 if (setData(TCSD_PACKET_TYPE_BOOL, 4, &genResetAuth, 0, &hte->comm)) in RPC_CreateRevocableEndorsementKeyPair_TP() 244 if (setData(TCSD_PACKET_TYPE_DIGEST, 5, eKResetAuth, 0, &hte->comm)) in RPC_CreateRevocableEndorsementKeyPair_TP() [all …]
|
H A D | rpc_ps.c | 42 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_GetRegisteredKeyByPublicInfo_TP() 44 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &algID, 0, &hte->comm)) in RPC_GetRegisteredKeyByPublicInfo_TP() 97 if (setData(TCSD_PACKET_TYPE_UUID, 2, &KeyUUID, 0, &hte->comm)) in RPC_RegisterKey_TP() 99 if (setData(TCSD_PACKET_TYPE_UINT32, 3, &cKeySize, 0, &hte->comm)) in RPC_RegisterKey_TP() 101 if (setData(TCSD_PACKET_TYPE_PBYTE, 4, rgbKey, cKeySize, &hte->comm)) in RPC_RegisterKey_TP() 103 if (setData(TCSD_PACKET_TYPE_UINT32, 5, &cVendorData, 0, &hte->comm)) in RPC_RegisterKey_TP() 128 if (setData(TCSD_PACKET_TYPE_UUID, 1, &KeyUUID, 0, &hte->comm)) in RPC_UnregisterKey_TP() 156 if (setData(TCSD_PACKET_TYPE_UUID, 1, pKeyUUID, 0, &hte->comm)) in RPC_EnumRegisteredKeys_TP() 215 if (setData(TCSD_PACKET_TYPE_UUID, 1, pKeyUUID, 0, &hte->comm)) in RPC_EnumRegisteredKeys2_TP() 278 if (setData(TCSD_PACKET_TYPE_UUID, 1, &KeyUUID, 0, &hte->comm)) in RPC_GetRegisteredKeyBlob_TP() [all …]
|
H A D | rpc_own.c | 47 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_TakeOwnership_TP() 49 if (setData(TCSD_PACKET_TYPE_UINT16, 1, &protocolID, 0, &hte->comm)) in RPC_TakeOwnership_TP() 51 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &encOwnerAuthSize, 0, &hte->comm)) in RPC_TakeOwnership_TP() 53 if (setData(TCSD_PACKET_TYPE_PBYTE, 3, encOwnerAuth, encOwnerAuthSize, &hte->comm)) in RPC_TakeOwnership_TP() 55 if (setData(TCSD_PACKET_TYPE_UINT32, 4, &encSrkAuthSize, 0, &hte->comm)) in RPC_TakeOwnership_TP() 57 if (setData(TCSD_PACKET_TYPE_PBYTE, 5, encSrkAuth, encSrkAuthSize, &hte->comm)) in RPC_TakeOwnership_TP() 59 if (setData(TCSD_PACKET_TYPE_UINT32, 6, &srkInfoSize, 0, &hte->comm)) in RPC_TakeOwnership_TP() 61 if (setData(TCSD_PACKET_TYPE_PBYTE, 7, srkInfo, srkInfoSize, &hte->comm)) in RPC_TakeOwnership_TP() 63 if (setData(TCSD_PACKET_TYPE_AUTH, 8, ownerAuth, 0, &hte->comm)) in RPC_TakeOwnership_TP() 108 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_OwnerClear_TP() [all …]
|
H A D | rpc_caps_tpm.c | 42 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_GetTPMCapability_TP() 44 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &capArea, 0, &hte->comm)) in RPC_GetTPMCapability_TP() 46 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &subCapSize, 0, &hte->comm)) in RPC_GetTPMCapability_TP() 48 if (setData(TCSD_PACKET_TYPE_PBYTE, 3, subCap, subCapSize, &hte->comm)) in RPC_GetTPMCapability_TP() 110 if (setData(TCSD_PACKET_TYPE_AUTH, 1, pOwnerAuth, 0, &hte->comm)) in RPC_GetCapabilityOwner_TP() 149 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &capArea, 0, &hte->comm)) in RPC_SetCapability_TP() 151 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &subCapSize, 0, &hte->comm)) in RPC_SetCapability_TP() 153 if (setData(TCSD_PACKET_TYPE_PBYTE, 3, subCap, subCapSize, &hte->comm)) in RPC_SetCapability_TP() 155 if (setData(TCSD_PACKET_TYPE_UINT32, 4, &valueSize, 0, &hte->comm)) in RPC_SetCapability_TP() 157 if (setData(TCSD_PACKET_TYPE_PBYTE, 5, value, valueSize, &hte->comm)) in RPC_SetCapability_TP() [all …]
|
H A D | rpc_seal.c | 48 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &hte->tcsContext, 0, &hte->comm)) in common_Seal_TP() 50 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &keyHandle, 0, &hte->comm)) in common_Seal_TP() 52 if (setData(TCSD_PACKET_TYPE_ENCAUTH, i++, encAuth, 0, &hte->comm)) in common_Seal_TP() 54 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &pcrInfoSize, 0, &hte->comm)) in common_Seal_TP() 60 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &inDataSize, 0, &hte->comm)) in common_Seal_TP() 63 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, inData, inDataSize, &hte->comm)) in common_Seal_TP() 67 if (setData(TCSD_PACKET_TYPE_AUTH, i, pubAuth, 0, &hte->comm)) in common_Seal_TP() 154 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &hte->comm)) in RPC_Unseal_TP() 156 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &SealedDataSize, 0, &hte->comm)) in RPC_Unseal_TP() 162 if (setData(TCSD_PACKET_TYPE_AUTH, 4, parentAuth, 0, &hte->comm)) in RPC_Unseal_TP() [all …]
|
H A D | rpc_maint.c | 43 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_CreateMaintenanceArchive_TP() 45 if (setData(TCSD_PACKET_TYPE_BOOL, 1, &generateRandom, 0, &hte->comm)) in RPC_CreateMaintenanceArchive_TP() 47 if (setData(TCSD_PACKET_TYPE_AUTH, 2, ownerAuth, 0, &hte->comm)) in RPC_CreateMaintenanceArchive_TP() 121 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &dataInSize, 0, &hte->comm)) in RPC_LoadMaintenanceArchive_TP() 123 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, &dataIn, dataInSize, &hte->comm)) in RPC_LoadMaintenanceArchive_TP() 125 if (setData(TCSD_PACKET_TYPE_AUTH, 3, ownerAuth, 0, &hte->comm)) in RPC_LoadMaintenanceArchive_TP() 172 if (setData(TCSD_PACKET_TYPE_AUTH, 1, ownerAuth, 0, &hte->comm)) in RPC_KillMaintenanceFeature_TP() 203 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm)) in RPC_LoadManuMaintPub_TP() 205 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &PubKeySize, 0, &hte->comm)) in RPC_LoadManuMaintPub_TP() 207 if (setData(TCSD_PACKET_TYPE_PBYTE, 3, PubKey, PubKeySize, &hte->comm)) in RPC_LoadManuMaintPub_TP() [all …]
|
H A D | rpc_aik.c | 54 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_MakeIdentity_TP() 56 if (setData(TCSD_PACKET_TYPE_ENCAUTH, 1, &identityAuth, 0, &hte->comm)) in RPC_MakeIdentity_TP() 58 if (setData(TCSD_PACKET_TYPE_DIGEST, 2, &IDLabel_PrivCAHash, 0, &hte->comm)) in RPC_MakeIdentity_TP() 60 if (setData(TCSD_PACKET_TYPE_UINT32, 3, &idKeyInfoSize, 0, &hte->comm)) in RPC_MakeIdentity_TP() 66 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pSrkAuth, 0, &hte->comm)) in RPC_MakeIdentity_TP() 69 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pOwnerAuth, 0, &hte->comm)) in RPC_MakeIdentity_TP() 289 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &idKey, 0, &hte->comm)) in RPC_ActivateTPMIdentity_TP() 291 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &blobSize, 0, &hte->comm)) in RPC_ActivateTPMIdentity_TP() 293 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, blob, blobSize, &hte->comm)) in RPC_ActivateTPMIdentity_TP() 297 if (setData(TCSD_PACKET_TYPE_AUTH, i++, idKeyAuth, 0, &hte->comm)) in RPC_ActivateTPMIdentity_TP() [all …]
|
H A D | rpc_pcr_extend.c | 40 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_Extend_TP() 42 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &pcrNum, 0, &hte->comm)) in RPC_Extend_TP() 44 if (setData(TCSD_PACKET_TYPE_DIGEST, 2, &inDigest, 0, &hte->comm)) in RPC_Extend_TP() 71 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_PcrRead_TP() 73 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &pcrNum, 0, &hte->comm)) in RPC_PcrRead_TP() 100 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_PcrReset_TP() 102 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &pcrDataSizeIn, 0, &hte->comm)) in RPC_PcrReset_TP() 104 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, pcrDataIn, pcrDataSizeIn, &hte->comm)) in RPC_PcrReset_TP()
|
H A D | rpc_evlog.c | 39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_LogPcrEvent_TP() 42 if (setData(TCSD_PACKET_TYPE_PCR_EVENT, 1, &Event, 0, &hte->comm)) in RPC_LogPcrEvent_TP() 71 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_GetPcrEvent_TP() 74 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &PcrIndex, 0, &hte->comm)) in RPC_GetPcrEvent_TP() 77 if (setData(TCSD_PACKET_TYPE_UINT32, 2, pNumber, 0, &hte->comm)) in RPC_GetPcrEvent_TP() 80 if (setData(TCSD_PACKET_TYPE_BYTE, 3, &lengthOnly, 0, &hte->comm)) in RPC_GetPcrEvent_TP() 129 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_GetPcrEventsByPcr_TP() 132 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &PcrIndex, 0, &hte->comm)) in RPC_GetPcrEventsByPcr_TP() 135 if (setData(TCSD_PACKET_TYPE_UINT32, 2, &FirstEvent, 0, &hte->comm)) in RPC_GetPcrEventsByPcr_TP() 138 if (setData(TCSD_PACKET_TYPE_UINT32, 3, pEventCount, 0, &hte->comm)) in RPC_GetPcrEventsByPcr_TP() [all …]
|
H A D | rpc_audit.c | 38 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_SetOrdinalAuditStatus_TP() 40 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &ulOrdinal, 0, &hte->comm)) in RPC_SetOrdinalAuditStatus_TP() 42 if (setData(TCSD_PACKET_TYPE_BOOL, 2, &bAuditState, 0, &hte->comm)) in RPC_SetOrdinalAuditStatus_TP() 44 if (setData(TCSD_PACKET_TYPE_AUTH, 3, ownerAuth, 0, &hte->comm)) in RPC_SetOrdinalAuditStatus_TP() 76 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) in RPC_GetAuditDigest_TP() 78 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &startOrdinal, 0, &hte->comm)) in RPC_GetAuditDigest_TP() 166 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &keyHandle, 0, &hte->comm)) in RPC_GetAuditDigestSigned_TP() 168 if (setData(TCSD_PACKET_TYPE_BOOL, 2, &closeAudit, 0, &hte->comm)) in RPC_GetAuditDigestSigned_TP() 170 if (setData(TCSD_PACKET_TYPE_NONCE, 3, antiReplay, 0, &hte->comm)) in RPC_GetAuditDigestSigned_TP() 173 if (setData(TCSD_PACKET_TYPE_AUTH, 4, privAuth, 0, &hte->comm)) in RPC_GetAuditDigestSigned_TP() [all …]
|
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_transport.c | 106 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pAuth, 0, &data->comm)) { in tcs_wrap_EstablishTransport() 129 if (setData(TCSD_PACKET_TYPE_NONCE, i++, &pTransNonce, 0, &data->comm)) in tcs_wrap_EstablishTransport() 241 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, rghHandles, in tcs_wrap_ExecuteTransport() 248 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pAuth1, 0, &data->comm)) { in tcs_wrap_ExecuteTransport() 259 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pAuth2, 0, &data->comm)) { in tcs_wrap_ExecuteTransport() 281 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &pulWrappedCmdReturnCode, 0, in tcs_wrap_ExecuteTransport() 286 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &ulWrappedCmdDataOutSize, 0, in tcs_wrap_ExecuteTransport() 292 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, rgbWrappedCmdDataOut, in tcs_wrap_ExecuteTransport() 357 if (setData(TCSD_PACKET_TYPE_AUTH, 0, pAuth, 0, &data->comm)) { in tcs_wrap_ReleaseTransportSigned() 363 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &null_auth, 0, &data->comm)) { in tcs_wrap_ReleaseTransportSigned() [all …]
|
H A D | rpc_aik.c | 113 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pSRKAuth, 0, &data->comm)) in tcs_wrap_MakeIdentity() 116 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pOwnerAuth, 0, &data->comm)) in tcs_wrap_MakeIdentity() 118 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &idKeySize, 0, &data->comm)) in tcs_wrap_MakeIdentity() 120 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, idKey, idKeySize, &data->comm)) in tcs_wrap_MakeIdentity() 122 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &pcIDBindSize, 0, &data->comm)) in tcs_wrap_MakeIdentity() 126 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &pcECSize, 0, &data->comm)) in tcs_wrap_MakeIdentity() 128 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, prgbEC, pcECSize, &data->comm)) in tcs_wrap_MakeIdentity() 222 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pIdKeyAuth, 0, &data->comm)) { in tcs_wrap_ActivateIdentity() 227 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pOwnerAuth, 0, &data->comm)) { in tcs_wrap_ActivateIdentity() 278 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &CredSize, 0, &data->comm)) in tcs_wrap_GetCredential() [all …]
|
H A D | rpc_audit.c | 64 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) in tcs_wrap_SetOrdinalAuditStatus() 107 if (setData(TCSD_PACKET_TYPE_DIGEST, 0, &auditDigest, 0, &data->comm)) { in tcs_wrap_GetAuditDigest() 112 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &counterValueSize, 0, &data->comm)) { in tcs_wrap_GetAuditDigest() 123 if (setData(TCSD_PACKET_TYPE_BOOL, 3, &more, 0, &data->comm)) { in tcs_wrap_GetAuditDigest() 127 if (setData(TCSD_PACKET_TYPE_UINT32, 4, &ordSize, 0, &data->comm)) { in tcs_wrap_GetAuditDigest() 199 if (setData(TCSD_PACKET_TYPE_AUTH, i++, pAuth, 0, &data->comm)) { in tcs_wrap_GetAuditDigestSigned() 205 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &counterValueSize, 0, &data->comm)) { in tcs_wrap_GetAuditDigestSigned() 216 if (setData(TCSD_PACKET_TYPE_DIGEST, i++, &auditDigest, 0, &data->comm)) { in tcs_wrap_GetAuditDigestSigned() 220 if (setData(TCSD_PACKET_TYPE_DIGEST, i++, &ordinalDigest, 0, &data->comm)) { in tcs_wrap_GetAuditDigestSigned() 224 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &sigSize, 0, &data->comm)) { in tcs_wrap_GetAuditDigestSigned() [all …]
|
H A D | rpc_ek.c | 77 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &eKSize, 0, &data->comm)) { in tcs_wrap_CreateEndorsementKeyPair() 81 if (setData(TCSD_PACKET_TYPE_PBYTE, 1, eK, eKSize, &data->comm)) { in tcs_wrap_CreateEndorsementKeyPair() 86 if (setData(TCSD_PACKET_TYPE_DIGEST, 2, &checksum, 0, &data->comm)) { in tcs_wrap_CreateEndorsementKeyPair() 125 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &pubEKSize, 0, &data->comm)) { in tcs_wrap_ReadPubek() 134 if (setData(TCSD_PACKET_TYPE_DIGEST, 2, &checksum, 0, &data->comm)) { in tcs_wrap_ReadPubek() 172 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &auth, 0, &data->comm)) { in tcs_wrap_OwnerReadPubek() 176 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &pubEKSize, 0, &data->comm)) { in tcs_wrap_OwnerReadPubek() 215 if (setData(TCSD_PACKET_TYPE_AUTH, 0, &auth, 0, &data->comm)) { in tcs_wrap_DisablePubekRead() 289 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &eKSize, 0, &data->comm)) { in tcs_wrap_CreateRevocableEndorsementKeyPair() 293 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, eK, eKSize, &data->comm)) { in tcs_wrap_CreateRevocableEndorsementKeyPair() [all …]
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 621 item->setData(id, peer_role_bss_id); in add_bss() 627 item->setData(type, peer_role_type); in add_bss() 638 item->setData(pri_dev_type, in add_bss() 641 item->setData(ssid, peer_role_ssid); in add_bss() 699 item->setData(type, peer_role_type); in add_persistent() 701 item->setData(ssid, peer_role_ssid); in add_persistent() 930 item->setData(config_methods, in event_notify() 934 item->setData(pri_dev_type, in event_notify() 1220 item->setData(config_methods, in event_notify() 1223 item->setData(dev_passwd_id, in event_notify() [all …]
|