diff options
author | David Pursell <dpursell@google.com> | 2024-04-05 09:54:47 -0700 |
---|---|---|
committer | David Pursell <dpursell@google.com> | 2024-04-05 09:54:47 -0700 |
commit | 2eafbc6cd81957d2e4cfa6df40f181e3d1d5570a (patch) | |
tree | 16e802064e619a4121f5faea53671e5e712b0d62 | |
parent | 172666e842431fa1f0e76e8447c8f13cfaef960e (diff) | |
download | avb-2eafbc6cd81957d2e4cfa6df40f181e3d1d5570a.tar.gz |
libavb: expose ATX test key build targets
The Rust libavb is adding support for ATX, and it will be useful to test
with these existing ATX keys.
Bug: b/320543206
Test: mm
Change-Id: Iaffc7796270dc18d3bcddf9ddd8ed5ce98327cee
-rw-r--r-- | test/Android.bp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Android.bp b/test/Android.bp index 8d8809a..dd6d02a 100644 --- a/test/Android.bp +++ b/test/Android.bp @@ -58,6 +58,24 @@ filegroup { srcs: ["data/testkey_rsa2048.pem"], } +// ATX test public key. +filegroup { + name: "avb_atx_testkey_psk", + srcs: ["data/testkey_atx_psk.pem"], +} + +// ATX test public key metadata. PSK and PIK versions are both set to 42. +filegroup { + name: "avb_atx_test_metadata", + srcs: ["data/atx_metadata.bin"], +} + +// ATX test permanent attributes for the above public key. +filegroup { + name: "avb_atx_test_permanent_attributes", + srcs: ["data/atx_permanent_attributes.bin"], +} + genrule { name: "avb_testkey_rsa2048_pub_bin", tools: ["avbtool"], |