Home
last modified time | relevance | path

Searched refs:SerializedChannel (Results 1 – 13 of 13) sorted by relevance

/system/keymint/hal/src/
Dsecureclock.rs17 use super::{ChannelHalService, SerializedChannel};
26 pub struct Device<T: SerializedChannel + 'static> {
30 impl<T: SerializedChannel + Send> binder::Interface for Device<T> {}
32 impl<T: SerializedChannel + 'static> Device<T> {
46 impl<T: SerializedChannel> ChannelHalService<T> for Device<T> {
52 impl<T: SerializedChannel> ISecureClock::ISecureClock for Device<T> {
Dsharedsecret.rs22 use crate::{ChannelHalService, SerializedChannel};
28 pub struct Device<T: SerializedChannel + 'static> {
32 impl<T: SerializedChannel + Send> binder::Interface for Device<T> {}
34 impl<T: SerializedChannel + 'static> Device<T> {
50 impl<T: SerializedChannel> ChannelHalService<T> for Device<T> {
56 impl<T: SerializedChannel> ISharedSecret::ISharedSecret for Device<T> {
Drpc.rs17 use super::{ChannelHalService, SerializedChannel};
25 pub struct Device<T: SerializedChannel + 'static> {
29 impl<T: SerializedChannel + 'static> Device<T> {
46 impl<T: SerializedChannel> ChannelHalService<T> for Device<T> {
52 impl<T: SerializedChannel> binder::Interface for Device<T> {}
54 impl<T: SerializedChannel> rkp::IRemotelyProvisionedComponent::IRemotelyProvisionedComponent
Dkeymint.rs22 use crate::{ChannelHalService, SerializedChannel};
68 pub struct Device<T: SerializedChannel + 'static> {
72 impl<T: SerializedChannel + 'static> Device<T> {
89 impl<T: SerializedChannel> ChannelHalService<T> for Device<T> {
95 impl<T: SerializedChannel> binder::Interface for Device<T> {}
97 impl<T: SerializedChannel> keymint::IKeyMintDevice::IKeyMintDevice for Device<T> {
288 struct Operation<T: SerializedChannel + 'static> {
293 impl<T: SerializedChannel + 'static> Drop for Operation<T> {
300 impl<T: SerializedChannel> ChannelHalService<T> for Operation<T> {
321 impl<T: SerializedChannel> binder::Interface for Operation<T> {}
[all …]
Dlib.rs60 pub trait SerializedChannel: Debug + Send { trait
142 impl<R: Read + Debug + Send, W: Write + Debug + Send> SerializedChannel for MessageChannel<R, W> {
158 T: SerializedChannel, in channel_execute()
246 trait ChannelHalService<T: SerializedChannel> {
262 pub fn send_hal_info<T: SerializedChannel>(channel: &mut T) -> binder::Result<()> { in send_hal_info()
290 pub fn send_boot_info<T: SerializedChannel>( in send_boot_info()
300 pub fn send_attest_ids<T: SerializedChannel>( in send_attest_ids()
311 pub fn early_boot_ended<T: SerializedChannel>(channel: &mut T) -> binder::Result<()> { in early_boot_ended()
Dtests.rs46 impl SerializedChannel for TestChannel {
/system/secretkeeper/hal/src/
Dlib.rs28 use authgraph_hal::channel::SerializedChannel;
36 pub struct SecretkeeperService<T: SerializedChannel + 'static> {
41 impl<T: SerializedChannel + 'static> SecretkeeperService<T> {
43 pub fn new<S: SerializedChannel + 'static>(sk_channel: T, ag_channel: S) -> Self { in new()
48 pub fn new_as_binder<S: SerializedChannel + 'static>( in new_as_binder()
59 impl<T: SerializedChannel> binder::Interface for SecretkeeperService<T> {}
62 impl<T: SerializedChannel> ISecretkeeper for SecretkeeperService<T> {
/system/authgraph/hal/src/
Dservice.rs19 use crate::{channel::SerializedChannel, errcode_to_binder, Innto, TryInnto};
45 pub struct AuthGraphService<T: SerializedChannel + 'static> {
49 impl<T: SerializedChannel + 'static> AuthGraphService<T> {
104 impl<T: SerializedChannel> binder::Interface for AuthGraphService<T> {}
109 impl<T: SerializedChannel> IAuthGraphKeyExchange for AuthGraphService<T> {
Dchannel.rs25 pub trait SerializedChannel: Send + Sync { interface
/system/core/trusty/secretkeeper/src/
Dhal_main.rs17 use authgraph_hal::channel::SerializedChannel;
60 impl SerializedChannel for TipcChannel {
/system/core/trusty/keymint/src/
Dkeymint_hal_main.rs18 extract_rsp, keymint, rpc, secureclock, send_hal_info, sharedsecret, SerializedChannel,
45 impl SerializedChannel for TipcChannel {
/system/keymint/
DREADME.md88 `kmr_hal::SerializedChannel` trait.
102 - [ ] Implementation of `SerializedChannel` trait, for reliable HAL <-> TA communication.
/system/secretkeeper/
DREADME.md130 one for AuthGraph), as encapsulated in the `authgraph_hal::channel::SerializedChannel` trait.
144 - [ ] Implementation of `SerializedChannel` trait, for reliable HAL <-> TA communication.