mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Secretkeeper: use Ed25519 identity key" into main
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