• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

aidl/android/trunks/22-Nov-2023-4710

ftdi/22-Nov-2023-1,723989

generator/22-Nov-2023-109,93477,708

Android.mkD22-Nov-20235.8 KiB207157

CPPLINT.cfgD22-Nov-202337 21

MODULE_LICENSE_APACHE2D22-Nov-20230

MakefileD22-Nov-20231.5 KiB4118

NOTICED22-Nov-202310.4 KiB191158

OWNERSD22-Nov-202354 43

PRESUBMIT.cfgD22-Nov-202368 43

READMED22-Nov-20231.5 KiB5337

authorization_delegate.hD22-Nov-20232.5 KiB6623

background_command_transceiver.ccD22-Nov-20233.6 KiB11075

background_command_transceiver.hD22-Nov-20232.9 KiB8231

background_command_transceiver_test.ccD22-Nov-20233.4 KiB11174

binder_interface.hD22-Nov-2023831 276

blob_parser.ccD22-Nov-20234.6 KiB128103

blob_parser.hD22-Nov-20232.5 KiB6729

com.android.Trunks.confD22-Nov-2023489 1614

command_transceiver.hD22-Nov-20231.9 KiB5517

dbus_interface.hD22-Nov-20231.2 KiB3815

error_codes.ccD22-Nov-202311.2 KiB240205

error_codes.hD22-Nov-20233.9 KiB8949

hmac_authorization_delegate.ccD22-Nov-202311 KiB326278

hmac_authorization_delegate.hD22-Nov-20236.6 KiB16577

hmac_authorization_delegate_test.ccD22-Nov-202312.8 KiB273218

hmac_session.hD22-Nov-20232.5 KiB7224

hmac_session_impl.ccD22-Nov-20232.3 KiB7240

hmac_session_impl.hD22-Nov-20233.1 KiB8230

hmac_session_test.ccD22-Nov-20233.4 KiB10674

interface.protoD22-Nov-2023481 1814

mock_authorization_delegate.ccD22-Nov-2023830 255

mock_authorization_delegate.hD22-Nov-20231.6 KiB5024

mock_blob_parser.ccD22-Nov-20231.1 KiB3613

mock_blob_parser.hD22-Nov-20231.7 KiB5227

mock_command_transceiver.ccD22-Nov-2023815 255

mock_command_transceiver.hD22-Nov-20231.3 KiB4519

mock_hmac_session.ccD22-Nov-2023780 255

mock_hmac_session.hD22-Nov-20231.4 KiB4923

mock_policy_session.ccD22-Nov-2023790 255

mock_policy_session.hD22-Nov-20231.6 KiB5428

mock_session_manager.ccD22-Nov-2023922 319

mock_session_manager.hD22-Nov-20231.4 KiB4822

mock_tpm.ccD22-Nov-202310.2 KiB256231

mock_tpm.hD22-Nov-202373.3 KiB1,6481,610

mock_tpm_state.ccD22-Nov-20231.8 KiB4623

mock_tpm_state.hD22-Nov-20231.6 KiB5329

mock_tpm_utility.ccD22-Nov-2023775 255

mock_tpm_utility.hD22-Nov-20236 KiB134109

org.chromium.Trunks.confD22-Nov-2023492 1614

password_authorization_delegate.ccD22-Nov-20232.9 KiB9667

password_authorization_delegate.hD22-Nov-20232.3 KiB6229

password_authorization_delegate_test.ccD22-Nov-20234.1 KiB9760

policy_session.hD22-Nov-20233.3 KiB8930

policy_session_impl.ccD22-Nov-20236.1 KiB185145

policy_session_impl.hD22-Nov-20233.5 KiB8635

policy_session_test.ccD22-Nov-20238 KiB230182

resource_manager.ccD22-Nov-202330.8 KiB853729

resource_manager.hD22-Nov-202310.2 KiB23989

resource_manager_test.ccD22-Nov-202339.6 KiB897785

scoped_key_handle.ccD22-Nov-20232 KiB8249

scoped_key_handle.hD22-Nov-20232.5 KiB7224

scoped_key_handle_test.ccD22-Nov-20232.7 KiB9564

session_manager.hD22-Nov-20232.7 KiB7425

session_manager_impl.ccD22-Nov-20238.1 KiB219171

session_manager_impl.hD22-Nov-20232.6 KiB7328

session_manager_test.ccD22-Nov-20236.3 KiB172136

tpm_constants.hD22-Nov-20231.5 KiB4621

tpm_generated.ccD22-Nov-20231.1 MiB41,01539,000

tpm_generated.hD22-Nov-2023221.4 KiB6,6926,072

tpm_generated_test.ccD22-Nov-202318.5 KiB441370

tpm_handle.ccD22-Nov-20232.9 KiB9868

tpm_handle.hD22-Nov-20232 KiB6421

tpm_simulator_handle.ccD22-Nov-20232.2 KiB7849

tpm_simulator_handle.hD22-Nov-20231.9 KiB6021

tpm_state.hD22-Nov-20233 KiB9532

tpm_state_impl.ccD22-Nov-20238.1 KiB247197

tpm_state_impl.hD22-Nov-20232.4 KiB7945

tpm_state_test.ccD22-Nov-202315 KiB385329

tpm_utility.hD22-Nov-202315 KiB305126

tpm_utility_impl.ccD22-Nov-202371.7 KiB1,8731,757

tpm_utility_impl.hD22-Nov-20239 KiB207140

tpm_utility_test.ccD22-Nov-202380.9 KiB2,0601,866

trunks.gypD22-Nov-20234.7 KiB184182

trunks_binder_proxy.ccD22-Nov-20234.4 KiB12291

trunks_binder_proxy.hD22-Nov-20231.7 KiB5421

trunks_binder_service.ccD22-Nov-20234.2 KiB12188

trunks_binder_service.hD22-Nov-20232.7 KiB9145

trunks_client.ccD22-Nov-20238 KiB247211

trunks_client_test.ccD22-Nov-202341.6 KiB1,0851,004

trunks_client_test.hD22-Nov-20235.4 KiB14846

trunks_dbus_proxy.ccD22-Nov-20233.7 KiB11379

trunks_dbus_proxy.hD22-Nov-20232 KiB6730

trunks_dbus_service.ccD22-Nov-20232.7 KiB7345

trunks_dbus_service.hD22-Nov-20232.4 KiB8036

trunks_export.hD22-Nov-2023900 254

trunks_factory.hD22-Nov-20232.6 KiB8335

trunks_factory_for_test.ccD22-Nov-202320.2 KiB600471

trunks_factory_for_test.hD22-Nov-20234 KiB13283

trunks_factory_impl.ccD22-Nov-20233 KiB10067

trunks_factory_impl.hD22-Nov-20232.3 KiB6933

trunks_ftdi_spi.ccD22-Nov-202310.4 KiB345223

trunks_ftdi_spi.hD22-Nov-20233.5 KiB10548

trunks_testrunner.ccD22-Nov-20231.1 KiB3213

trunksd-seccomp-arm.policyD22-Nov-20231.3 KiB7868

trunksd-seccomp-arm64.policyD22-Nov-20231.3 KiB7868

trunksd-seccomp-x86.policyD22-Nov-20231.4 KiB8575

trunksd-seccomp-x86_64.policyD22-Nov-20231.4 KiB8474

trunksd-simulator.rcD22-Nov-2023175 97

trunksd.ccD22-Nov-20234.3 KiB12489

trunksd.confD22-Nov-2023797 256

trunksd.rcD22-Nov-2023163 97

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