Loading security/secretkeeper/default/Android.bp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -34,6 +34,7 @@ rust_library { "libauthgraph_core", "libauthgraph_core", "libauthgraph_hal", "libauthgraph_hal", "libbinder_rs", "libbinder_rs", "libcoset", "liblog_rust", "liblog_rust", "libsecretkeeper_core_nostd", "libsecretkeeper_core_nostd", "libsecretkeeper_comm_nostd", "libsecretkeeper_comm_nostd", Loading security/secretkeeper/default/src/lib.rs +6 −2 Original line number Original line Diff line number Diff line Loading @@ -53,7 +53,11 @@ impl LocalTa { let mut crypto_impls = boring::crypto_trait_impls(); let mut crypto_impls = boring::crypto_trait_impls(); let storage_impl = Box::new(store::InMemoryStore::default()); let storage_impl = Box::new(store::InMemoryStore::default()); let sk_ta = Rc::new(RefCell::new( let sk_ta = Rc::new(RefCell::new( SecretkeeperTa::new(&mut crypto_impls, storage_impl) SecretkeeperTa::new( &mut crypto_impls, storage_impl, coset::iana::EllipticCurve::Ed25519, ) .expect("Failed to create local Secretkeeper TA"), .expect("Failed to create local Secretkeeper TA"), )); )); let mut ag_ta = AuthGraphTa::new( let mut ag_ta = AuthGraphTa::new( Loading Loading
security/secretkeeper/default/Android.bp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -34,6 +34,7 @@ rust_library { "libauthgraph_core", "libauthgraph_core", "libauthgraph_hal", "libauthgraph_hal", "libbinder_rs", "libbinder_rs", "libcoset", "liblog_rust", "liblog_rust", "libsecretkeeper_core_nostd", "libsecretkeeper_core_nostd", "libsecretkeeper_comm_nostd", "libsecretkeeper_comm_nostd", Loading
security/secretkeeper/default/src/lib.rs +6 −2 Original line number Original line Diff line number Diff line Loading @@ -53,7 +53,11 @@ impl LocalTa { let mut crypto_impls = boring::crypto_trait_impls(); let mut crypto_impls = boring::crypto_trait_impls(); let storage_impl = Box::new(store::InMemoryStore::default()); let storage_impl = Box::new(store::InMemoryStore::default()); let sk_ta = Rc::new(RefCell::new( let sk_ta = Rc::new(RefCell::new( SecretkeeperTa::new(&mut crypto_impls, storage_impl) SecretkeeperTa::new( &mut crypto_impls, storage_impl, coset::iana::EllipticCurve::Ed25519, ) .expect("Failed to create local Secretkeeper TA"), .expect("Failed to create local Secretkeeper TA"), )); )); let mut ag_ta = AuthGraphTa::new( let mut ag_ta = AuthGraphTa::new( Loading