mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Secretkeeper: use Ed25519 identity key" into main am: b87fae42d8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2900721 Change-Id: Ia7d000341589307eff2b63d2af2d9b8e3cff95ae Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -34,6 +34,7 @@ rust_library {
|
||||
"libauthgraph_core",
|
||||
"libauthgraph_hal",
|
||||
"libbinder_rs",
|
||||
"libcoset",
|
||||
"liblog_rust",
|
||||
"libsecretkeeper_core_nostd",
|
||||
"libsecretkeeper_comm_nostd",
|
||||
|
||||
@@ -53,8 +53,12 @@ impl LocalTa {
|
||||
let mut crypto_impls = boring::crypto_trait_impls();
|
||||
let storage_impl = Box::new(store::InMemoryStore::default());
|
||||
let sk_ta = Rc::new(RefCell::new(
|
||||
SecretkeeperTa::new(&mut crypto_impls, storage_impl)
|
||||
.expect("Failed to create local Secretkeeper TA"),
|
||||
SecretkeeperTa::new(
|
||||
&mut crypto_impls,
|
||||
storage_impl,
|
||||
coset::iana::EllipticCurve::Ed25519,
|
||||
)
|
||||
.expect("Failed to create local Secretkeeper TA"),
|
||||
));
|
||||
let mut ag_ta = AuthGraphTa::new(
|
||||
AuthGraphParticipant::new(crypto_impls, sk_ta.clone(), MAX_OPENED_SESSIONS)
|
||||
|
||||
Reference in New Issue
Block a user