Proto commits in capntrips/android_external_avb

These 6 commits are when the Protocol Buffers files have changed:

Commit:960ff58
Author:Jan Monsch

Removing AFTL from libavb repository. Bug: 158639560 Test: atest --host libavb_host_unittest Test: atest --host libavb_host_unittest_sha Change-Id: If9b76143be1feff590cf0db2983ab80df286ddeb

This commit does not contain any .proto files.

Commit:b611df2
Author:Thiébaud Weksteen
Committer:Thiébaud Weksteen

Change log leaf encoding Previously, the log leaves were JSON-encoded, making the parsing over complicated for the bootloader. Move to TLS-presentation encoding which can be reproduced deterministically. Use the BytesIO type when encoding/decoding to avoid the repeating pattern of reading a value and advancing in the buffer. Drop the 2 ICPs from different logs tests. Test: aftltool_test.py Test: aftltool_integration_test.py Bug: 154303414 Change-Id: I565c478bc5b8cef4c6fdde8f558760334daf4b55

The documentation is generated from this commit.

Commit:60a0f36
Author:Thiébaud Weksteen
Committer:Thiébaud Weksteen

Remove unused proto dependencies In 73645ec, the trillian_log_api.proto definition was removed but not its own dependencies. Test: atest :all Test: ./aftltool_integration_test.py Bug: 138779249 Change-Id: Ib9478d937ae4d47eb3b56156a02cef405a360d37

Commit:62a0361
Author:Jan Monsch
Committer:Jan Monsch

Copied in latest aftl.proto/api.proto with latest license details. Test: atest --host avbtool_test Test: atest --host libavb_host_unittest Bug: 138779249 Change-Id: Ia1e0586e9fc0540ea6428e4fe9d59baab2fb2776

Commit:73645ec
Author:Jan Monsch
Committer:Jan Monsch

Updated trillian.proto which removes trillian_log_api dependency. Trillian removed the trillian_log_api dependency from the trillian.proto. Thus, we can now remove this from our dependencies. Also fixed up pylintrc to ignore linting the generate protobuf and grpc files. Test: atest --host avbtool_test Test: atest --host libavb_host_unittest Test: ./avbtool make_icp_from_vbmeta \ --vbmeta_image_path vbmeta.img \ --output ./vbmeta_icp.img \ --version_incremental only_for_testing \ --transparency_log_servers [REDACTED]:80 \ --transparency_log_pub_keys transparency_key2.pub \ --key ~/android/aosp-libavb/external/avb/test/data/testkey_rsa4096.pem \ --manufacturer_key manufacturer_key_4096.rsa \ --algorithm SHA256_RSA4096 Bug: 138779249 Change-Id: Ib1d45ca3c3cbdb7da01320a943be71eb69422ee6

Commit:b12b2c1
Author:Dan Austin
Committer:Dan Austin

Combine outbound CLs to avoid merge conflicts. Combines 1182952, 1183006, 1189876, 1189886 to avoid merge conflicts. Also adds Merkle tree validation and signature checking. Signature check code is WIP. Test: Successfully communicates with log. Everything but signature validation is functional. Change-Id: I7cbc81fc9003e41583261a234e1e9d99b1f18fbe