android_mt6572_jiabo/system/tpm/trunks
2025-09-05 16:56:03 +08:00
..
aidl/android/trunks first commit 2025-09-05 16:56:03 +08:00
ftdi first commit 2025-09-05 16:56:03 +08:00
generator first commit 2025-09-05 16:56:03 +08:00
Android.mk first commit 2025-09-05 16:56:03 +08:00
authorization_delegate.h first commit 2025-09-05 16:56:03 +08:00
background_command_transceiver.cc first commit 2025-09-05 16:56:03 +08:00
background_command_transceiver.h first commit 2025-09-05 16:56:03 +08:00
background_command_transceiver_test.cc first commit 2025-09-05 16:56:03 +08:00
binder_interface.h first commit 2025-09-05 16:56:03 +08:00
blob_parser.cc first commit 2025-09-05 16:56:03 +08:00
blob_parser.h first commit 2025-09-05 16:56:03 +08:00
com.android.Trunks.conf first commit 2025-09-05 16:56:03 +08:00
command_transceiver.h first commit 2025-09-05 16:56:03 +08:00
CPPLINT.cfg first commit 2025-09-05 16:56:03 +08:00
dbus_interface.h first commit 2025-09-05 16:56:03 +08:00
error_codes.cc first commit 2025-09-05 16:56:03 +08:00
error_codes.h first commit 2025-09-05 16:56:03 +08:00
hmac_authorization_delegate.cc first commit 2025-09-05 16:56:03 +08:00
hmac_authorization_delegate.h first commit 2025-09-05 16:56:03 +08:00
hmac_authorization_delegate_test.cc first commit 2025-09-05 16:56:03 +08:00
hmac_session.h first commit 2025-09-05 16:56:03 +08:00
hmac_session_impl.cc first commit 2025-09-05 16:56:03 +08:00
hmac_session_impl.h first commit 2025-09-05 16:56:03 +08:00
hmac_session_test.cc first commit 2025-09-05 16:56:03 +08:00
interface.proto first commit 2025-09-05 16:56:03 +08:00
Makefile first commit 2025-09-05 16:56:03 +08:00
mock_authorization_delegate.cc first commit 2025-09-05 16:56:03 +08:00
mock_authorization_delegate.h first commit 2025-09-05 16:56:03 +08:00
mock_blob_parser.cc first commit 2025-09-05 16:56:03 +08:00
mock_blob_parser.h first commit 2025-09-05 16:56:03 +08:00
mock_command_transceiver.cc first commit 2025-09-05 16:56:03 +08:00
mock_command_transceiver.h first commit 2025-09-05 16:56:03 +08:00
mock_hmac_session.cc first commit 2025-09-05 16:56:03 +08:00
mock_hmac_session.h first commit 2025-09-05 16:56:03 +08:00
mock_policy_session.cc first commit 2025-09-05 16:56:03 +08:00
mock_policy_session.h first commit 2025-09-05 16:56:03 +08:00
mock_session_manager.cc first commit 2025-09-05 16:56:03 +08:00
mock_session_manager.h first commit 2025-09-05 16:56:03 +08:00
mock_tpm.cc first commit 2025-09-05 16:56:03 +08:00
mock_tpm.h first commit 2025-09-05 16:56:03 +08:00
mock_tpm_state.cc first commit 2025-09-05 16:56:03 +08:00
mock_tpm_state.h first commit 2025-09-05 16:56:03 +08:00
mock_tpm_utility.cc first commit 2025-09-05 16:56:03 +08:00
mock_tpm_utility.h first commit 2025-09-05 16:56:03 +08:00
MODULE_LICENSE_APACHE2 first commit 2025-09-05 16:56:03 +08:00
NOTICE first commit 2025-09-05 16:56:03 +08:00
org.chromium.Trunks.conf first commit 2025-09-05 16:56:03 +08:00
OWNERS first commit 2025-09-05 16:56:03 +08:00
password_authorization_delegate.cc first commit 2025-09-05 16:56:03 +08:00
password_authorization_delegate.h first commit 2025-09-05 16:56:03 +08:00
password_authorization_delegate_test.cc first commit 2025-09-05 16:56:03 +08:00
policy_session.h first commit 2025-09-05 16:56:03 +08:00
policy_session_impl.cc first commit 2025-09-05 16:56:03 +08:00
policy_session_impl.h first commit 2025-09-05 16:56:03 +08:00
policy_session_test.cc first commit 2025-09-05 16:56:03 +08:00
PRESUBMIT.cfg first commit 2025-09-05 16:56:03 +08:00
README first commit 2025-09-05 16:56:03 +08:00
resource_manager.cc first commit 2025-09-05 16:56:03 +08:00
resource_manager.h first commit 2025-09-05 16:56:03 +08:00
resource_manager_test.cc first commit 2025-09-05 16:56:03 +08:00
scoped_key_handle.cc first commit 2025-09-05 16:56:03 +08:00
scoped_key_handle.h first commit 2025-09-05 16:56:03 +08:00
scoped_key_handle_test.cc first commit 2025-09-05 16:56:03 +08:00
session_manager.h first commit 2025-09-05 16:56:03 +08:00
session_manager_impl.cc first commit 2025-09-05 16:56:03 +08:00
session_manager_impl.h first commit 2025-09-05 16:56:03 +08:00
session_manager_test.cc first commit 2025-09-05 16:56:03 +08:00
tpm_constants.h first commit 2025-09-05 16:56:03 +08:00
tpm_generated.cc first commit 2025-09-05 16:56:03 +08:00
tpm_generated.h first commit 2025-09-05 16:56:03 +08:00
tpm_generated_test.cc first commit 2025-09-05 16:56:03 +08:00
tpm_handle.cc first commit 2025-09-05 16:56:03 +08:00
tpm_handle.h first commit 2025-09-05 16:56:03 +08:00
tpm_simulator_handle.cc first commit 2025-09-05 16:56:03 +08:00
tpm_simulator_handle.h first commit 2025-09-05 16:56:03 +08:00
tpm_state.h first commit 2025-09-05 16:56:03 +08:00
tpm_state_impl.cc first commit 2025-09-05 16:56:03 +08:00
tpm_state_impl.h first commit 2025-09-05 16:56:03 +08:00
tpm_state_test.cc first commit 2025-09-05 16:56:03 +08:00
tpm_utility.h first commit 2025-09-05 16:56:03 +08:00
tpm_utility_impl.cc first commit 2025-09-05 16:56:03 +08:00
tpm_utility_impl.h first commit 2025-09-05 16:56:03 +08:00
tpm_utility_test.cc first commit 2025-09-05 16:56:03 +08:00
trunks.gyp first commit 2025-09-05 16:56:03 +08:00
trunks_binder_proxy.cc first commit 2025-09-05 16:56:03 +08:00
trunks_binder_proxy.h first commit 2025-09-05 16:56:03 +08:00
trunks_binder_service.cc first commit 2025-09-05 16:56:03 +08:00
trunks_binder_service.h first commit 2025-09-05 16:56:03 +08:00
trunks_client.cc first commit 2025-09-05 16:56:03 +08:00
trunks_client_test.cc first commit 2025-09-05 16:56:03 +08:00
trunks_client_test.h first commit 2025-09-05 16:56:03 +08:00
trunks_dbus_proxy.cc first commit 2025-09-05 16:56:03 +08:00
trunks_dbus_proxy.h first commit 2025-09-05 16:56:03 +08:00
trunks_dbus_service.cc first commit 2025-09-05 16:56:03 +08:00
trunks_dbus_service.h first commit 2025-09-05 16:56:03 +08:00
trunks_export.h first commit 2025-09-05 16:56:03 +08:00
trunks_factory.h first commit 2025-09-05 16:56:03 +08:00
trunks_factory_for_test.cc first commit 2025-09-05 16:56:03 +08:00
trunks_factory_for_test.h first commit 2025-09-05 16:56:03 +08:00
trunks_factory_impl.cc first commit 2025-09-05 16:56:03 +08:00
trunks_factory_impl.h first commit 2025-09-05 16:56:03 +08:00
trunks_ftdi_spi.cc first commit 2025-09-05 16:56:03 +08:00
trunks_ftdi_spi.h first commit 2025-09-05 16:56:03 +08:00
trunks_testrunner.cc first commit 2025-09-05 16:56:03 +08:00
trunksd-seccomp-arm.policy first commit 2025-09-05 16:56:03 +08:00
trunksd-seccomp-arm64.policy first commit 2025-09-05 16:56:03 +08:00
trunksd-seccomp-x86.policy first commit 2025-09-05 16:56:03 +08:00
trunksd-seccomp-x86_64.policy first commit 2025-09-05 16:56:03 +08:00
trunksd-simulator.rc first commit 2025-09-05 16:56:03 +08:00
trunksd.cc first commit 2025-09-05 16:56:03 +08:00
trunksd.conf first commit 2025-09-05 16:56:03 +08:00
trunksd.rc first commit 2025-09-05 16:56:03 +08:00

======
TRUNKS
======

The Trunks TPM Library (TTL) is a set of types and functions used to interface
with a Trusted Platform Module.  It is designed to be light, and does not
comply with the TSS specification.  It is usable in firmware as well as in
user-level code.

-----------------
TPM SPECIFICATION
-----------------

See http://www.trustedcomputinggroup.org.  This version of trunks is based on
TPM 2.0 rev 00.99.

--- Structures ---
generator/raw_structures.txt
generator/raw_structures_fixed.txt

This file is a direct PDF scrape* of 'Part 2 - Structures'.  The '_fixed'
version includes some manual fixes to make processing easier.

--- Commands ---
generator/raw_commands.txt
generator/raw_commands_fixed.txt

This file is a direct PDF scrape* of 'Part 3 - Commands'.  The '_fixed' version
includes some manual fixes to make processing easier.

---
*Scraping for this version of trunks used Poppler's pdftotext utility v0.18.4.

---------------
CODE GENERATION
---------------

generator/extract_structures.sh

Extracts structured information about types, constants, structures, and unions
from spec/raw_structures_fixed.txt.  The output of this script is intended to be
parsed by generator.py.

generator/extract_commands.sh

Extracts structured information about commands from spec/raw_commands_fixed.txt.
The output of this script is intended to be parsed by generator.py.

generator/generator.py

Generates C++ serialization and parsing code for TPM commands.  Inputs must be
formatted as by the extract_* scripts.