NameDateSize

..21-Dec-20174 KiB

aidl/21-Dec-20174 KiB

Android.mk21-Dec-20175.8 KiB

authorization_delegate.h21-Dec-20172.5 KiB

background_command_transceiver.cc21-Dec-20173.6 KiB

background_command_transceiver.h21-Dec-20172.9 KiB

background_command_transceiver_test.cc21-Dec-20173.4 KiB

binder_interface.h21-Dec-2017831

blob_parser.cc21-Dec-20174.6 KiB

blob_parser.h21-Dec-20172.5 KiB

com.android.Trunks.conf21-Dec-2017489

command_transceiver.h21-Dec-20171.9 KiB

CPPLINT.cfg21-Dec-201737

dbus_interface.h21-Dec-20171.2 KiB

error_codes.cc21-Dec-201711.2 KiB

error_codes.h21-Dec-20173.9 KiB

ftdi/21-Dec-20174 KiB

generator/21-Dec-20174 KiB

hmac_authorization_delegate.cc21-Dec-201711 KiB

hmac_authorization_delegate.h21-Dec-20176.6 KiB

hmac_authorization_delegate_test.cc21-Dec-201712.8 KiB

hmac_session.h21-Dec-20172.5 KiB

hmac_session_impl.cc21-Dec-20172.3 KiB

hmac_session_impl.h21-Dec-20173.1 KiB

hmac_session_test.cc21-Dec-20173.4 KiB

interface.proto21-Dec-2017481

Makefile21-Dec-20171.5 KiB

mock_authorization_delegate.cc21-Dec-2017830

mock_authorization_delegate.h21-Dec-20171.6 KiB

mock_blob_parser.cc21-Dec-20171.1 KiB

mock_blob_parser.h21-Dec-20171.7 KiB

mock_command_transceiver.cc21-Dec-2017815

mock_command_transceiver.h21-Dec-20171.3 KiB

mock_hmac_session.cc21-Dec-2017780

mock_hmac_session.h21-Dec-20171.4 KiB

mock_policy_session.cc21-Dec-2017790

mock_policy_session.h21-Dec-20171.6 KiB

mock_session_manager.cc21-Dec-2017922

mock_session_manager.h21-Dec-20171.4 KiB

mock_tpm.cc21-Dec-201710.2 KiB

mock_tpm.h21-Dec-201773.3 KiB

mock_tpm_state.cc21-Dec-20171.8 KiB

mock_tpm_state.h21-Dec-20171.6 KiB

mock_tpm_utility.cc21-Dec-2017775

mock_tpm_utility.h21-Dec-20176 KiB

MODULE_LICENSE_APACHE221-Dec-20170

NOTICE21-Dec-201710.4 KiB

org.chromium.Trunks.conf21-Dec-2017492

OWNERS21-Dec-201754

password_authorization_delegate.cc21-Dec-20172.9 KiB

password_authorization_delegate.h21-Dec-20172.3 KiB

password_authorization_delegate_test.cc21-Dec-20174.1 KiB

policy_session.h21-Dec-20173.3 KiB

policy_session_impl.cc21-Dec-20176.1 KiB

policy_session_impl.h21-Dec-20173.5 KiB

policy_session_test.cc21-Dec-20178 KiB

PRESUBMIT.cfg21-Dec-201768

README21-Dec-20171.5 KiB

resource_manager.cc21-Dec-201730.8 KiB

resource_manager.h21-Dec-201710.2 KiB

resource_manager_test.cc21-Dec-201739.6 KiB

scoped_key_handle.cc21-Dec-20172 KiB

scoped_key_handle.h21-Dec-20172.5 KiB

scoped_key_handle_test.cc21-Dec-20172.7 KiB

session_manager.h21-Dec-20172.7 KiB

session_manager_impl.cc21-Dec-20178.1 KiB

session_manager_impl.h21-Dec-20172.6 KiB

session_manager_test.cc21-Dec-20176.3 KiB

tpm_constants.h21-Dec-20171.5 KiB

tpm_generated.cc21-Dec-20171.1 MiB

tpm_generated.h21-Dec-2017221.4 KiB

tpm_generated_test.cc21-Dec-201718.5 KiB

tpm_handle.cc21-Dec-20172.9 KiB

tpm_handle.h21-Dec-20172 KiB

tpm_simulator_handle.cc21-Dec-20172.2 KiB

tpm_simulator_handle.h21-Dec-20171.9 KiB

tpm_state.h21-Dec-20173 KiB

tpm_state_impl.cc21-Dec-20178.1 KiB

tpm_state_impl.h21-Dec-20172.4 KiB

tpm_state_test.cc21-Dec-201715 KiB

tpm_utility.h21-Dec-201715 KiB

tpm_utility_impl.cc21-Dec-201771.7 KiB

tpm_utility_impl.h21-Dec-20179 KiB

tpm_utility_test.cc21-Dec-201780.9 KiB

trunks.gyp21-Dec-20174.7 KiB

trunks_binder_proxy.cc21-Dec-20174.4 KiB

trunks_binder_proxy.h21-Dec-20171.7 KiB

trunks_binder_service.cc21-Dec-20174.2 KiB

trunks_binder_service.h21-Dec-20172.7 KiB

trunks_client.cc21-Dec-20178 KiB

trunks_client_test.cc21-Dec-201741.6 KiB

trunks_client_test.h21-Dec-20175.4 KiB

trunks_dbus_proxy.cc21-Dec-20173.7 KiB

trunks_dbus_proxy.h21-Dec-20172 KiB

trunks_dbus_service.cc21-Dec-20172.7 KiB

trunks_dbus_service.h21-Dec-20172.4 KiB

trunks_export.h21-Dec-2017900

trunks_factory.h21-Dec-20172.6 KiB

trunks_factory_for_test.cc21-Dec-201720.2 KiB

trunks_factory_for_test.h21-Dec-20174 KiB

trunks_factory_impl.cc21-Dec-20173 KiB

trunks_factory_impl.h21-Dec-20172.3 KiB

trunks_ftdi_spi.cc21-Dec-201710.4 KiB

trunks_ftdi_spi.h21-Dec-20173.5 KiB

trunks_testrunner.cc21-Dec-20171.1 KiB

trunksd-seccomp-arm.policy21-Dec-20171.3 KiB

trunksd-seccomp-arm64.policy21-Dec-20171.3 KiB

trunksd-seccomp-x86.policy21-Dec-20171.4 KiB

trunksd-seccomp-x86_64.policy21-Dec-20171.4 KiB

trunksd-simulator.rc21-Dec-2017175

trunksd.cc21-Dec-20174.3 KiB

trunksd.conf21-Dec-2017797

trunksd.rc21-Dec-2017163

README

1======
2TRUNKS
3======
4
5The Trunks TPM Library (TTL) is a set of types and functions used to interface
6with a Trusted Platform Module.  It is designed to be light, and does not
7comply with the TSS specification.  It is usable in firmware as well as in
8user-level code.
9
10-----------------
11TPM SPECIFICATION
12-----------------
13
14See http://www.trustedcomputinggroup.org.  This version of trunks is based on
15TPM 2.0 rev 00.99.
16
17--- Structures ---
18generator/raw_structures.txt
19generator/raw_structures_fixed.txt
20
21This file is a direct PDF scrape* of 'Part 2 - Structures'.  The '_fixed'
22version includes some manual fixes to make processing easier.
23
24--- Commands ---
25generator/raw_commands.txt
26generator/raw_commands_fixed.txt
27
28This file is a direct PDF scrape* of 'Part 3 - Commands'.  The '_fixed' version
29includes some manual fixes to make processing easier.
30
31---
32*Scraping for this version of trunks used Poppler's pdftotext utility v0.18.4.
33
34---------------
35CODE GENERATION
36---------------
37
38generator/extract_structures.sh
39
40Extracts structured information about types, constants, structures, and unions
41from spec/raw_structures_fixed.txt.  The output of this script is intended to be
42parsed by generator.py.
43
44generator/extract_commands.sh
45
46Extracts structured information about commands from spec/raw_commands_fixed.txt.
47The output of this script is intended to be parsed by generator.py.
48
49generator/generator.py
50
51Generates C++ serialization and parsing code for TPM commands.  Inputs must be
52formatted as by the extract_* scripts.
53