Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
doc/ | 15-Dec-2024 | - | 414 | 347 | ||
oemlock/ | 15-Dec-2024 | - | 298 | 177 | ||
rust/ | 15-Dec-2024 | - | 958 | 681 | ||
storage/ | 15-Dec-2024 | - | 546 | 348 | ||
Android.bp | D | 15-Dec-2024 | 5.7 KiB | 235 | 226 | |
OWNERS | D | 14-Jan-2024 | 85 | 3 | 2 | |
README.md | D | 14-Jan-2024 | 841 | 15 | 11 | |
composite_serialization.cpp | D | 14-Jan-2024 | 1.4 KiB | 53 | 30 | |
composite_serialization.h | D | 14-Jan-2024 | 1.4 KiB | 44 | 14 | |
confui_sign_server.cpp | D | 14-Jan-2024 | 3.4 KiB | 91 | 59 | |
confui_sign_server.h | D | 14-Jan-2024 | 1.1 KiB | 37 | 17 | |
device_tpm.cpp | D | 14-Jan-2024 | 1.8 KiB | 59 | 37 | |
device_tpm.h | D | 14-Jan-2024 | 1.1 KiB | 40 | 14 | |
encrypted_serializable.cpp | D | 15-Dec-2024 | 11.1 KiB | 322 | 282 | |
encrypted_serializable.h | D | 14-Jan-2024 | 2.5 KiB | 64 | 18 | |
encrypted_serializable_test.cpp | D | 14-Jan-2024 | 2.1 KiB | 56 | 30 | |
gatekeeper_responder.cpp | D | 15-Dec-2024 | 2.2 KiB | 66 | 45 | |
gatekeeper_responder.h | D | 14-Jan-2024 | 1 KiB | 37 | 14 | |
gatekeeper_storage.h | D | 14-Jan-2024 | 1.5 KiB | 47 | 16 | |
hmac_serializable.cpp | D | 14-Jan-2024 | 5.1 KiB | 152 | 125 | |
hmac_serializable.h | D | 14-Jan-2024 | 2.4 KiB | 66 | 24 | |
in_process_tpm.cpp | D | 14-Jan-2024 | 5.4 KiB | 190 | 142 | |
in_process_tpm.h | D | 14-Jan-2024 | 1.4 KiB | 52 | 17 | |
json_serializable.cpp | D | 14-Jan-2024 | 5.2 KiB | 160 | 121 | |
json_serializable.h | D | 14-Jan-2024 | 960 | 30 | 9 | |
keymaster_responder.cpp | D | 14-Jan-2024 | 5.9 KiB | 127 | 105 | |
keymaster_responder.h | D | 14-Jan-2024 | 1 KiB | 37 | 14 | |
primary_key_builder.cpp | D | 15-Dec-2024 | 5.1 KiB | 145 | 108 | |
primary_key_builder.h | D | 14-Jan-2024 | 1.4 KiB | 51 | 23 | |
proxy_keymaster_context.h | D | 15-Dec-2024 | 6.6 KiB | 181 | 132 | |
secure_env_not_windows_main.cpp | D | 15-Dec-2024 | 18.3 KiB | 442 | 354 | |
secure_env_windows_lib.cpp | D | 15-Dec-2024 | 5.1 KiB | 139 | 96 | |
secure_env_windows_lib.h | D | 14-Jan-2024 | 1.6 KiB | 48 | 18 | |
secure_env_windows_main.cpp | D | 14-Jan-2024 | 1.8 KiB | 51 | 28 | |
soft_gatekeeper.h | D | 15-Dec-2024 | 5.8 KiB | 177 | 129 | |
suspend_resume_handler.cpp | D | 15-Dec-2024 | 4.5 KiB | 124 | 89 | |
suspend_resume_handler.h | D | 15-Dec-2024 | 2.4 KiB | 78 | 30 | |
test_tpm.cpp | D | 14-Jan-2024 | 1.1 KiB | 37 | 14 | |
test_tpm.h | D | 14-Jan-2024 | 891 | 36 | 13 | |
tpm.h | D | 14-Jan-2024 | 812 | 30 | 9 | |
tpm_attestation_record.cpp | D | 14-Jan-2024 | 7.2 KiB | 207 | 153 | |
tpm_attestation_record.h | D | 14-Jan-2024 | 2.6 KiB | 75 | 51 | |
tpm_auth.cpp | D | 14-Jan-2024 | 1.3 KiB | 48 | 25 | |
tpm_auth.h | D | 14-Jan-2024 | 1.3 KiB | 48 | 17 | |
tpm_commands.cpp | D | 14-Jan-2024 | 6 KiB | 152 | 130 | |
tpm_commands.h | D | 14-Jan-2024 | 755 | 27 | 6 | |
tpm_encrypt_decrypt.cpp | D | 14-Jan-2024 | 3.2 KiB | 95 | 68 | |
tpm_encrypt_decrypt.h | D | 14-Jan-2024 | 1.7 KiB | 49 | 12 | |
tpm_ffi.cpp | D | 14-Jan-2024 | 2.4 KiB | 79 | 57 | |
tpm_ffi.h | D | 14-Jan-2024 | 1.3 KiB | 43 | 14 | |
tpm_gatekeeper.cpp | D | 15-Dec-2024 | 7.1 KiB | 229 | 185 | |
tpm_gatekeeper.h | D | 15-Dec-2024 | 2.7 KiB | 89 | 49 | |
tpm_hmac.cpp | D | 15-Dec-2024 | 5.4 KiB | 155 | 124 | |
tpm_hmac.h | D | 14-Jan-2024 | 2.1 KiB | 65 | 22 | |
tpm_key_blob_maker.cpp | D | 15-Dec-2024 | 10.6 KiB | 293 | 223 | |
tpm_key_blob_maker.h | D | 14-Jan-2024 | 3.1 KiB | 84 | 38 | |
tpm_keymaster_context.cpp | D | 15-Dec-2024 | 25.4 KiB | 687 | 549 | |
tpm_keymaster_context.h | D | 14-Jan-2024 | 5.6 KiB | 148 | 101 | |
tpm_keymaster_enforcement.cpp | D | 15-Dec-2024 | 10.9 KiB | 336 | 269 | |
tpm_keymaster_enforcement.h | D | 14-Jan-2024 | 2.6 KiB | 71 | 37 | |
tpm_random_source.cpp | D | 15-Dec-2024 | 3.6 KiB | 103 | 74 | |
tpm_random_source.h | D | 15-Dec-2024 | 1.3 KiB | 44 | 15 | |
tpm_remote_provisioning_context.cpp | D | 14-Jan-2024 | 8.9 KiB | 255 | 208 | |
tpm_remote_provisioning_context.h | D | 14-Jan-2024 | 2.7 KiB | 73 | 45 | |
tpm_resource_manager.cpp | D | 15-Dec-2024 | 2.7 KiB | 88 | 56 | |
tpm_resource_manager.h | D | 15-Dec-2024 | 2.3 KiB | 86 | 42 | |
tpm_serialize.cpp | D | 14-Jan-2024 | 2.5 KiB | 89 | 58 | |
tpm_serialize.h | D | 14-Jan-2024 | 1.8 KiB | 57 | 21 | |
worker_thread_loop_body.cpp | D | 15-Dec-2024 | 2.8 KiB | 78 | 46 | |
worker_thread_loop_body.h | D | 15-Dec-2024 | 985 | 31 | 10 |
README.md
1Host process substituting for a TEE (Trusted Execution Environment). Used to 2run backing implementations of Android HALs that normally delegate to a TEE 3environment, specifically ConfirmationUI, Gatekeeper, and Keymint. 4 5Gatekeeper and Keymint communicate with `secure_env` through virtio-console 6channels connected to FIFO files on the host. The display part of 7ConfirmationUI is runs in the `webRTC` host process, which delegates signing 8operations only to `secure_env`. 9 10Before entering the kernel, the u-boot bootloader writes some information 11about the device image files into the keymint channel to prepare it with 12the authenticated version number of the operating system. 13 14[![linkage](./doc/linkage.png)](https://cs.android.com/android/platform/superproject/+/master:device/google/cuttlefish/host/commands/secure_env/doc/linkage.svg) 15