Lines Matching refs:SharedSecretParticipant
57 enum SharedSecretParticipant { enum
64 impl Display for SharedSecretParticipant { implementation
86 ParameterRetrieval { e: Error, p: SharedSecretParticipant },
88 Computation { e: Error, p: SharedSecretParticipant },
90 Checksum(SharedSecretParticipant),
96 ) -> Option<SharedSecretParticipant> { in filter_map_legacy_km_instances() argument
98 "default" => Some(SharedSecretParticipant::Hidl { is_strongbox: false, version }), in filter_map_legacy_km_instances()
99 "strongbox" => Some(SharedSecretParticipant::Hidl { is_strongbox: true, version }), in filter_map_legacy_km_instances()
115 fn list_participants() -> Result<Vec<SharedSecretParticipant>> { in list_participants()
127 if let SharedSecretParticipant::Hidl { is_strongbox: true, .. } = &sp { in list_participants()
139 .collect::<Vec<SharedSecretParticipant>>() in list_participants()
145 .map(SharedSecretParticipant::Aidl) in list_participants()
153 mut participants: Vec<SharedSecretParticipant>, in connect_participants() argument
154 ) -> Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)> { in connect_participants() argument
155 let mut connected_participants: Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)> = in connect_participants()
162 SharedSecretParticipant::Aidl(instance_name) => { in connect_participants()
175 failed.push(SharedSecretParticipant::Aidl(instance_name)); in connect_participants()
178 .push((service, SharedSecretParticipant::Aidl(instance_name))), in connect_participants()
181 SharedSecretParticipant::Hidl { is_strongbox, version } => { in connect_participants()
211 .push(SharedSecretParticipant::Hidl { is_strongbox, version }); in connect_participants()
215 SharedSecretParticipant::Hidl { is_strongbox, version }, in connect_participants()
234 participants: Vec<(Strong<dyn ISharedSecret>, SharedSecretParticipant)>, in negotiate_shared_secret() argument