Searched refs:htobe32 (Results 1 – 7 of 7) sorted by relevance
70 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()
48 #define htobe32(x) bswap32((x)) macro62 #define htobe32(x) ((uint32_t)(x)) macro
91 std::uint32_t command = htobe32(1); // TPM_SIGNAL_POWER_ON in main()98 command = htobe32(11); // TPM_SIGNAL_NV_ON in main()
57 *reinterpret_cast<std::uint32_t*>(length_bytes.data()) = htobe32(tpm_response.size()); in HandleClient()
38 #define htobe32(x) bswap32((x)) macro
589 htobe32(HW_AUTH_FINGERPRINT); in send_scan_notice()
115 htobe32(static_cast<uint32_t>(authToken.authenticatorType)); in injectAuthToken()