summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-26Revert "tpm: Update libchrome APIS to r456626."android-o-iot-preview-5o-iot-preview-5Luis Hector Chavez
This reverts commit 3e1217d9b8b9d0bd549f202e5f1a528374872b40. Reason for revert: Broke the mac_sdk Exempt-From-Owner-Approval: Fixing mac_sdk Change-Id: I5520c61bea97a6f5e0d8f69dd5a67be60f842b0c
2017-05-17tpm: Update libchrome APIS to r456626.Jay Civelli
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Notable changes from libchrome: - FOR_EACH_OBSERVER macro removed (replaced by use of C++ 11 range-base for loop) - base::Values no more FundamentalValue - stl_util moved to base namespace - some scoped pointers removed in crypto/ in favor of BoringSSL UniquePtr. Change-Id: Id1180f97d8b726abc056ff9f12d32ed23fd874df
2017-02-24Add apronin as an owner and new tpm_manager/OWNERS.android-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-n-iot-preview-4n-iot-preview-4Chih-Hung Hsieh
am: 47b371cec7 Change-Id: I2e9f08f98c8cc35cacac0e2453cd287375c40230
2017-02-23Add apronin as an owner and new tpm_manager/OWNERS.android-o-preview-1android-n-mr2-preview-2o-previewChih-Hung Hsieh
Bug: 33166666 Test: default build targets Change-Id: I8194af19237987d201e227736dd02a98dc9444f1
2017-02-23Use registered users in system/tpm OWNERS files.Chih-Hung Hsieh
am: 3d20181eae Change-Id: I1cde247884aaedeb5cfa719d17bc0cb5e335b1bb
2017-02-23Use registered users in system/tpm OWNERS files.Chih-Hung Hsieh
AOSP project owners should be registered in Gerrit Code Review. Bug: 33166666 Test: default build targets Change-Id: Ibbba881e363d3abe085d84344592e797735e2b2a
2016-07-31Fix clang-tidy performance warnings in system/tpm. am: 9c6f6b2932 am: 7eb694b2d0android-n-mr2-preview-1Chih-Hung Hsieh
am: 44e6467d30 Change-Id: I4ea107986cf1ac714538ce7ce9b5b658f5e0cbf0
2016-07-31Fix clang-tidy performance warnings in system/tpm. am: 9c6f6b2932Chih-Hung Hsieh
am: 7eb694b2d0 Change-Id: I7d7e1e2dff7056989baf264f097f3185e1d91741
2016-07-31Fix clang-tidy performance warnings in system/tpm.android-n-mr1-preview-2android-n-mr1-preview-1Chih-Hung Hsieh
am: 9c6f6b2932 Change-Id: I4c9ee90efa1e6fd116ea496b453a46544cfc6b7c
2016-07-28Fix clang-tidy performance warnings in system/tpm.Chih-Hung Hsieh
* Use const reference type for parameters to avoid unnecessary copy. Bug: 30407689 Change-Id: I6e6fbcf806eb6ebd4b984afc1d962fc3c1d69b00 Test: build with WITH_TIDY=1
2016-07-27tpm_manager/trunks: Update libchrome APIs to r405848 am: 39e701593e am: ↵Luis Hector Chavez
d5e311423c am: f2ca567778 Change-Id: I1e8b4a7e11cf8971f1dac3449f5646f6c44be99f
2016-07-27tpm_manager/trunks: Update libchrome APIs to r405848 am: 39e701593eLuis Hector Chavez
am: d5e311423c Change-Id: Iae06c20630942760e6ca6846d4a96557b94722b4
2016-07-27tpm_manager/trunks: Update libchrome APIs to r405848Luis Hector Chavez
am: 39e701593e Change-Id: I71bca41677e221dc89f9b09d78a93c7a5c147704
2016-07-19tpm_manager/trunks: Update libchrome APIs to r405848Luis Hector Chavez
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Notable changes from libchrome: - base::Bind() now explicitly disallows captures in lambdas (which was never allowed in the style guide), so lambdas should now be written in a way that take the captures as parameters. - base::ListValue::iterator now exposes std::unique_ptr<base::Value> instead of raw base::Value*. - base::WaitableEvent now takes enumeration constants instead of booleans. Bug: 29104761 Test: All tests in tpm_manager_test pass on dragonboard-eng build Change-Id: Ifdc236f59bb7ec7ae3b3d094e822d0efa8331dfa
2016-07-13Fix google-explicit-constructor warnings in system/tpm. am: 37d87ae585 am: ↵Chih-Hung Hsieh
ce78b10a63 am: 2381084268 Change-Id: Ibe6bf6b71178567e9dcd3c36d0d61b5c3453edca
2016-07-13Fix google-explicit-constructor warnings in system/tpm. am: 37d87ae585Chih-Hung Hsieh
am: ce78b10a63 Change-Id: Icfc76b8aabf36aa6c93b5cc508c9557a56b0ceda
2016-07-13Fix google-explicit-constructor warnings in system/tpm.Chih-Hung Hsieh
am: 37d87ae585 Change-Id: I54eec6746413b0a97c49c4644e8c4c2452e48cbc
2016-07-12Fix google-explicit-constructor warnings in system/tpm.android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Chih-Hung Hsieh
* Declare explicit conversion constructors. Bug: 28341362 Change-Id: If68be8b0d92fdaea99e54388fbe0104213926480 Test: build with clang-tidy
2016-06-14trunks: Refactored TpmState. am: ce32afbb30 am: df3a5b9734Darren Krahn
am: 3d3af5530f Change-Id: I8ac298a2fc2c080a3105ff2f480768ddf92fa895
2016-06-14trunks: Refactored TpmState. am: ce32afbb30Darren Krahn
am: df3a5b9734 Change-Id: Ie784ab5fdc1f12aa5f664c10974bcc83e8303ab3
2016-06-14trunks: Refactored TpmState.Darren Krahn
am: ce32afbb30 Change-Id: Iaef61ac5d08d6245e241af87d66591efe164c278
2016-06-14trunks: Refactored TpmState.Darren Krahn
Also fixed seccomp rules and unit tests. BUG=23525508 TEST=Run unit and manual tests on brillo emulator. Change-Id: I2b8a0993d03e4b23f10b3d218ceb8d7d5e603952
2016-06-09tpm_manager: Remove seccomp rules from the build. am: 7c0029f3d8 am: 6d85d29b5cDarren Krahn
am: aae3aebe3a Change-Id: I846789a46516c76a44a324c7fa520ed64f824578
2016-06-09tpm_manager: Remove seccomp rules from the build. am: 7c0029f3d8Darren Krahn
am: 6d85d29b5c Change-Id: Ic100eed5f864a7b6302e1145d90d7b19ed180f67
2016-06-09tpm_manager: Remove seccomp rules from the build.Darren Krahn
am: 7c0029f3d8 Change-Id: Ifeaaaba78524b293d81efc0932f1aa2b10897fba
2016-06-09tpm_manager: Remove seccomp rules from the build.android-n-preview-4Darren Krahn
These aren't enabled yet and they broke the build. Change-Id: I3ec458908b4d02a1dd843c3993fafcf78d40d3b5
2016-06-09tpm_manager: Port to brillo and enhance NVRAM interface. am: a94133441d am: ↵Darren Krahn
8c61e7b53a am: d918f55f40 Change-Id: I0aa34ee0e4c43ecf3d4008f398059d442042a61c
2016-06-09tpm_manager: Port to brillo and enhance NVRAM interface. am: a94133441dDarren Krahn
am: 8c61e7b53a Change-Id: Id5829e4d0951215cc53aa4e158a5feb8213899c5
2016-06-09tpm_manager: Port to brillo and enhance NVRAM interface.Darren Krahn
am: a94133441d Change-Id: I2fd36834e906a344ad4c2efa4e912787a251a6ed
2016-06-07tpm_manager: Port to brillo and enhance NVRAM interface.Darren Krahn
This CL includes a set of changes required to run tpm_manager on Brillo. - Android.mk - Abstract IPC mechanism and add support for binder - Combine protobufs into a single file - Enhance the NVRAM interface for Brillo - Rewrite the NVRAM implementation to be flexible enough for the new interface - Enhance the tpm_manager_client for the new NVRAM interface - Implement TPM 2.0 initialization logic that was missing - General cleanup, including scoped_ptr -> std::unique_ptr BUG=b:25360511 TEST=builds on Brillo and ChromiumOS, unit tests, manual tests Change-Id: Ib9c41c75f570187d60399639bd539d6a107ef944
2016-06-07trunks: Fixes and enhancements to support tpm_manager on brillo am: ↵Darren Krahn
b180754b42 am: 26412141f4 am: d53bdadfb5 * commit 'd53bdadfb5dfb8e29b35ab981136496e7acdcee6': trunks: Fixes and enhancements to support tpm_manager on brillo Change-Id: I83f3d7b0366da8de2802cb1d57faa800a3673929
2016-06-07trunks: Fixes and enhancements to support tpm_manager on brillo am: b180754b42Darren Krahn
am: 26412141f4 * commit '26412141f4a7794da940d7bbd81dae7bf49a3034': trunks: Fixes and enhancements to support tpm_manager on brillo Change-Id: I6202cec3e7228cf143db42aa15626c94063b9851
2016-06-06trunks: Fixes and enhancements to support tpm_manager on brilloDarren Krahn
am: b180754b42 * commit 'b180754b429c078cbc99175a6059a8b5d0491002': trunks: Fixes and enhancements to support tpm_manager on brillo Change-Id: Ie7d67e476d5060a1ed04a451ecc000c35be1919e
2016-06-06trunks: Fixes and enhancements to support tpm_manager on brilloDarren Krahn
- Enhanced NV utility methods - Support PolicyRestart for policy sessions - Support for read/extend PCR from trunks_client - Cleanup scoped_ptr -> std::unique_ptr and other cleanup - More robust factory semantics - Support for setting dictionary attack parameters BUG=b:25360511 TEST=builds on AOSP and chromiumos, unit tests, manual tests Change-Id: I34fff802c0983b34e6d1ed082cb85ce57f08a54d
2016-06-01trunks: Update libchrome APIs to r395517 am: 30c921db09 am: 7f98c9d67eLuis Hector Chavez
am: 2152ad6910 * commit '2152ad6910b7f2752b8619272e9ddf7d4477605e': trunks: Update libchrome APIs to r395517 Change-Id: I6325fb610f09e830ccc054e9524e687ffd38ceeb
2016-06-01trunks: Update libchrome APIs to r395517 am: 30c921db09Luis Hector Chavez
am: 7f98c9d67e * commit '7f98c9d67e5ef3900ff80fdc6b6a3801f9661b9d': trunks: Update libchrome APIs to r395517 Change-Id: Ifa50f2c7e8549c7daff1ed26ac7a501ab208d0d4
2016-06-01trunks: Update libchrome APIs to r395517Luis Hector Chavez
am: 30c921db09 * commit '30c921db09d27768acc1ea0d8b6a9c8e814f931a': trunks: Update libchrome APIs to r395517 Change-Id: I4f6d42595cd57ec8050458ac4b8b4613403c8f2b
2016-06-01trunks: Update libchrome APIs to r395517Luis Hector Chavez
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. BUG: 28985443 TEST: All tests in trunks_test pass on dragonboard-eng build Change-Id: Ic6613d2bda07c0ac892690de852dc4e08e028fc7
2016-05-27Multiple fixes for the proto_print code generator. am: c3fcde6097 am: 1d7ce51f7eDarren Krahn
am: 8c5f314744 * commit '8c5f3147449e55820ca2ae6b4f37cce8d46ecab7': Multiple fixes for the proto_print code generator. Change-Id: I8ad3b79f51dda5a3011ea90d1b4640bba28c7c79
2016-05-27Run all C/C++ in this repo through clang-format. am: 4dc4629c41 am: b51551f02aDarren Krahn
am: 32bc9e3f58 * commit '32bc9e3f587b593892683b8f130f278bcbb59c9a': Run all C/C++ in this repo through clang-format. Change-Id: Ic5b6674f2604d0099ddf2c1ac73ecfb2c8d70717
2016-05-27Multiple fixes for the proto_print code generator. am: c3fcde6097Darren Krahn
am: 1d7ce51f7e * commit '1d7ce51f7e3aabac3469795055289e5c2bc7d45b': Multiple fixes for the proto_print code generator. Change-Id: If4ec8fdf3bf7c8256a73845d2d8c04f1d54ce4e4
2016-05-27Run all C/C++ in this repo through clang-format. am: 4dc4629c41Darren Krahn
am: b51551f02a * commit 'b51551f02ad9601d3789786ce344c9aae5de69b7': Run all C/C++ in this repo through clang-format. Change-Id: I56481dfee22a736729454a054046a57ba04025b3
2016-05-27Multiple fixes for the proto_print code generator.Darren Krahn
am: c3fcde6097 * commit 'c3fcde6097f2793fd09c6c529c8d13fa3fc61ebc': Multiple fixes for the proto_print code generator. Change-Id: I34986857b7bd65c0fd8ff77b8768b3612cac0032
2016-05-27Run all C/C++ in this repo through clang-format.Darren Krahn
am: 4dc4629c41 * commit '4dc4629c415e7ca90ff146d7bb75b5646ecd8b17': Run all C/C++ in this repo through clang-format. Change-Id: I1ad0975d857e809e79012662f044bd5513d88c8e
2016-05-27Multiple fixes for the proto_print code generator.Darren Krahn
- Fixed handling of import statements - Fixed separators when printing repeated fields - Print hexadecimal and decimal for unsigned ints Change-Id: I0a3c1c3c87604e3758e101eb21d10413f3a54cc2
2016-05-27Run all C/C++ in this repo through clang-format.Darren Krahn
Also create a .clang-format file. Change-Id: I5ac5904ea1bfd10177c1a4b0b1fdead0b477fc95
2016-05-06Use libgtest_prod. am: d68cece5b0 am: e4b040ac4bDan Albert
am: a945724590 * commit 'a9457245904c5e9e04205143c22dcc43c30de595': Use libgtest_prod. Change-Id: Ic095e2dc51279bb7d43b4b1d76083bd09cf3cf68
2016-05-06Use libgtest_prod. am: d68cece5b0Dan Albert
am: e4b040ac4b * commit 'e4b040ac4bcb02a687446cfb4a810849fc2fc1a3': Use libgtest_prod. Change-Id: I9cb69d2c21b325578b7da85012c97e335a499a1c
2016-05-06Use libgtest_prod.Dan Albert
am: d68cece5b0 * commit 'd68cece5b0f94a3445869a025f0a331a60046b90': Use libgtest_prod. Change-Id: I9c58bf4da90fec4183126493cfa38537965c3bcb
2016-05-06Use libgtest_prod.android-wear-n-preview-3android-wear-n-preview-1android-n-preview-3Dan Albert
Bug: http://b/16574165 Change-Id: Ieddcc0d43982806df13f4a10ebe94f521b60be36