Keystore 2.0: Add super encryption infrastructure.
Add super_key.rs a runtime key database for credential based keys and
the relevant metadata fields to the database.
Also in this patch:
* Add DateTime type to represent database wall clock time.
* Move creation time to key metadata.
* Add KeyType field to the keyentry table to accommodate super keys
and attestation keys.
Test: keystore2_test
Bug: 173545997
Change-Id: I670898174fb0223bf1c910051dfd7ead80b2c1a9
diff --git a/keystore2/Android.bp b/keystore2/Android.bp
index ef3220b..250646a 100644
--- a/keystore2/Android.bp
+++ b/keystore2/Android.bp
@@ -22,6 +22,7 @@
"android.hardware.security.keymint-rust",
"libanyhow",
"libbinder_rs",
+ "libkeystore2_crypto_rust",
"libkeystore2_selinux",
"liblazy_static",
"liblibc",
@@ -46,6 +47,7 @@
"libandroid_logger",
"libanyhow",
"libbinder_rs",
+ "libkeystore2_crypto_rust",
"libkeystore2_selinux",
"liblazy_static",
"liblibc",