Home
last modified time | relevance | path

Searched refs:htobe32 (Results 1 – 7 of 7) sorted by relevance

/device/google/cuttlefish/guest/commands/vtpm_manager/
Dmain.cpp70 std::uint32_t command_num = htobe32(8); // TPM_SEND_COMMAND in SendCommand()
75 std::uint32_t length = htobe32(command.size()); in SendCommand()
98 if (header->ordinal == htobe32(TPM2_CC_SET_LOCALITY)) { // "Driver command" in SendCommandLoop()
100 header->ordinal = htobe32(locality); in SendCommandLoop()
101 header->length = htobe32(sizeof(tpm_message_header)); in SendCommandLoop()
/device/google/contexthub/firmware/external/freebsd/inc/sys/
Dendian.h48 #define htobe32(x) bswap32((x)) macro
62 #define htobe32(x) ((uint32_t)(x)) macro
/device/google/cuttlefish/host/commands/tpm_simulator_manager/
Dtpm_simulator_manager.cpp91 std::uint32_t command = htobe32(1); // TPM_SIGNAL_POWER_ON in main()
98 command = htobe32(11); // TPM_SIGNAL_NV_ON in main()
/device/google/cuttlefish/host/commands/vtpm_passthrough/
Dvtpm_passthrough.cpp57 *reinterpret_cast<std::uint32_t*>(length_bytes.data()) = htobe32(tpm_response.size()); in HandleClient()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c38 #define htobe32(x) bswap32((x)) macro
/device/generic/goldfish/fingerprint/
Dfingerprint.c589 htobe32(HW_AUTH_FINGERPRINT); in send_scan_notice()
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dremote_keymaster4_device.cpp115 htobe32(static_cast<uint32_t>(authToken.authenticatorType)); in injectAuthToken()