• Home
  • Raw
  • Download

Lines Matching refs:SharedSecretParticipant

50 enum SharedSecretParticipant {  enum
57 impl Display for SharedSecretParticipant { implementation
81 ParameterRetrieval { e: Error, p: SharedSecretParticipant },
83 Computation { e: Error, p: SharedSecretParticipant },
85 Checksum(SharedSecretParticipant),
91 ) -> Option<SharedSecretParticipant> { in filter_map_legacy_km_instances() argument
93 "default" => Some(SharedSecretParticipant::Hidl { is_strongbox: false, version }), in filter_map_legacy_km_instances()
94 "strongbox" => Some(SharedSecretParticipant::Hidl { is_strongbox: true, version }), in filter_map_legacy_km_instances()
112 fn list_participants() -> Result<Vec<SharedSecretParticipant>> { in list_participants()
129 if let SharedSecretParticipant::Hidl { in list_participants()
146 .collect::<Vec<SharedSecretParticipant>>() in list_participants()
152 let participants_aidl: Vec<SharedSecretParticipant> = in list_participants()
157 .map(|name| SharedSecretParticipant::Aidl(name.to_string())) in list_participants()
166 mut participants: Vec<SharedSecretParticipant>, in connect_participants() argument
167 ) -> Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)> { in connect_participants() argument
168 let mut connected_participants: Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)> = in connect_participants()
175 SharedSecretParticipant::Aidl(instance_name) => { in connect_participants()
187 failed.push(SharedSecretParticipant::Aidl(instance_name)); in connect_participants()
190 .push((service, SharedSecretParticipant::Aidl(instance_name))), in connect_participants()
193 SharedSecretParticipant::Hidl { is_strongbox, version } => { in connect_participants()
223 .push(SharedSecretParticipant::Hidl { is_strongbox, version }); in connect_participants()
227 SharedSecretParticipant::Hidl { is_strongbox, version }, in connect_participants()
246 participants: Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)>, in negotiate_shared_secret() argument