Add helpers for populating apex module info
Use this to populate the module information in Keystore and send the
hash of the encoding to KeyMint(s).
Unit testing for `encode_module_info` in a follow-up CL (currently these
methods are unused).
Bug: 369375199
Test: VtsAidlKeyMintTargetTest
Change-Id: I4b8d5b5c3325c2269a93e08eb4473bc39737835a
diff --git a/keystore2/Android.bp b/keystore2/Android.bp
index be2f812..ef5111f 100644
--- a/keystore2/Android.bp
+++ b/keystore2/Android.bp
@@ -50,6 +50,8 @@
"libandroid_security_flags_rust",
"libanyhow",
"libbinder_rs",
+ "libbssl_crypto",
+ "libder",
"libkeystore2_aaid-rust",
"libkeystore2_apc_compat-rust",
"libkeystore2_crypto_rust",