Home
last modified time | relevance | path

Searched refs:BYTE (Results 1 – 13 of 13) sorted by relevance

/system/tpm/attestation/common/
Dtpm_utility_v1.cc43 using ScopedByteArray = scoped_ptr<BYTE, base::FreeDeleter>;
66 BYTE* StringAsTSSBuffer(std::string* s) { in StringAsTSSBuffer()
67 return reinterpret_cast<BYTE*>(string_as_array(s)); in StringAsTSSBuffer()
70 std::string TSSBufferAsString(const BYTE* buffer, size_t length) { in TSSBufferAsString()
134 BYTE* identity_key_blob_buffer = StringAsTSSBuffer( in ActivateIdentity()
148 BYTE* asym_ca_contents_buffer = StringAsTSSBuffer(&mutable_asym_ca_contents); in ActivateIdentity()
150 BYTE* sym_ca_attestation_buffer = StringAsTSSBuffer( in ActivateIdentity()
324 BYTE* data_buffer = StringAsTSSBuffer(&mutable_data); in SealToPCR0()
372 BYTE* sealed_data_buffer = StringAsTSSBuffer(&mutable_sealed_data); in Unseal()
548 BYTE* secret_buffer = StringAsTSSBuffer(&mutable_delegate_secret); in ConnectContextAsDelegate()
[all …]
/system/tpm/tpm_manager/server/
Dtpm_initializer_impl.cc136 const_cast<BYTE *>(reinterpret_cast<const BYTE *>( in TakeOwnership()
183 BYTE new_password[0]; in InitializeSrk()
232 reinterpret_cast<BYTE *>(string_as_array(&mutable_owner_password))))) { in ChangeOwnerPassword()
Dtpm_status_impl.cc58 std::vector<BYTE> bytes(capability_data.begin(), capability_data.end()); in GetDictionaryAttackInfo()
103 reinterpret_cast<BYTE*>(&sub_capability), in GetCapability()
Dtpm_nvram_impl.cc121 reinterpret_cast<BYTE *>(const_cast<char*>(data.data()))); in WriteNvram()
202 reinterpret_cast<BYTE*>(&index), in IsNvramLocked()
228 reinterpret_cast<BYTE*>(&index), in GetNvramSize()
285 reinterpret_cast<BYTE *>(const_cast<char*>(owner_password.data()))); in SetOwnerPolicy()
Dtpm_connection.cc75 reinterpret_cast<BYTE *>(const_cast<char*>(owner_password.data()))))) { in GetTpmWithAuth()
/system/tpm/trunks/
Dtpm_generated.h357 typedef uint8_t BYTE; typedef
384 typedef BYTE TPMI_YES_NO;
953 BYTE sha1[SHA1_DIGEST_SIZE];
954 BYTE sha256[SHA256_DIGEST_SIZE];
955 BYTE sm3_256[SM3_256_DIGEST_SIZE];
956 BYTE sha384[SHA384_DIGEST_SIZE];
957 BYTE sha512[SHA512_DIGEST_SIZE];
967 BYTE buffer[sizeof(TPMU_HA)];
972 BYTE buffer[sizeof(TPMT_HA)];
977 BYTE buffer[1024];
[all …]
Dresource_manager.cc559 BYTE attributes; in ParseCommand()
633 BYTE attributes; in ParseResponse()
Dtpm_generated.cc735 const BYTE& value, in Serialize_BYTE()
743 BYTE* value, in Parse_BYTE()
/system/core/adb/
Dsysdeps_win32.cpp1418 static const BYTE TOASCII_KEY_OFF = 0x00;
1419 static const BYTE TOASCII_KEY_DOWN = 0x80;
1420 static const BYTE TOASCII_KEY_TOGGLED_ON = 0x01; // for CapsLock
1440 BYTE key_state[256] = {0}; in _get_char_ignoring_modifier()
/system/tpm/trunks/generator/
Draw_structures.txt844 Table 37 — Definition of (BYTE) TPMI_YES_NO Type ..................................................…
1574 bool SIMPLE_STRUCTURE_Unmarshal(SIMPLE_STRUCTURE *target, BYTE **buffer, INT32 *size)
1727 BYTE
1754 BYTE
1778 bool NUMBER_UNION_Unmarshal(NUMBER_UNION *target, BYTE **buffer,
1783 return BYTE_Unmarshal((BYTE *)&(target->a_byte), buffer, size);
1853 bool STRUCT_WITH_UNION_Unmarshal(STRUCT_WITH_UNION *target, BYTE **buffer, INT32 *size)
2091 BYTE
2103 BYTE
2487 BYTE
[all …]
Draw_structures_fixed.txt844 Table 37 — Definition of (BYTE) TPMI_YES_NO Type ..................................................…
1574 bool SIMPLE_STRUCTURE_Unmarshal(SIMPLE_STRUCTURE *target, BYTE **buffer, INT32 *size)
1727 BYTE
1754 BYTE
1778 bool NUMBER_UNION_Unmarshal(NUMBER_UNION *target, BYTE **buffer,
1783 return BYTE_Unmarshal((BYTE *)&(target->a_byte), buffer, size);
1853 bool STRUCT_WITH_UNION_Unmarshal(STRUCT_WITH_UNION *target, BYTE **buffer, INT32 *size)
2091 BYTE
2103 BYTE
2487 BYTE
[all …]
Draw_commands.txt10268 BYTE
12709 (BYTE *) &out->results.digests[out->results.count].digest);
12714 (BYTE *) &out->results.digests[out->results.count].digest);
16879 (BYTE *) &in->digests.digests[i].digest);
17127 (BYTE *) &out->digests.digests[i].digest);
17130 (BYTE *) &out->digests.digests[i].digest);
18382 BYTE
19506 CryptUpdateDigestInt(&hashState, sizeof(UINT32), (BYTE*) &in->expiration);
20866 BYTE
20868 BYTE
[all …]
Draw_commands_fixed.txt10279 BYTE
12720 (BYTE *) &out->results.digests[out->results.count].digest);
12725 (BYTE *) &out->results.digests[out->results.count].digest);
16890 (BYTE *) &in->digests.digests[i].digest);
17138 (BYTE *) &out->digests.digests[i].digest);
17141 (BYTE *) &out->digests.digests[i].digest);
18393 BYTE
19517 CryptUpdateDigestInt(&hashState, sizeof(UINT32), (BYTE*) &in->expiration);
20877 BYTE
20879 BYTE
[all …]