Searched refs:Secret (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/security/secretkeeper/aidl/vts/ |
D | secretkeeper_cli.rs | 39 {Id, Secret}, 192 fn store(&mut self, id: &Id, secret: &Secret) -> Result<()> { in store() 213 fn get(&mut self, id: &Id) -> Result<Option<Secret>> { in get() argument 225 Ok(Some(Secret(get_response.secret.0))) in get() 273 fn value_to_secret(s: &str, show_hex: bool) -> Result<(Secret, String)> { in value_to_secret() argument 277 return Ok((Secret(data.try_into().unwrap()), s.to_string().to_lowercase())); in value_to_secret() 284 let mut secret = Secret([0; 32]); in value_to_secret() 297 fn secret_to_value_display(secret: &Secret, show_hex: bool) -> String { in secret_to_value_display() argument 305 fn secret_to_value(secret: &Secret) -> Result<String> { in secret_to_value()
|
D | secretkeeper_test_client.rs | 33 use secretkeeper_comm::data_types::{Id, Secret, SeqNum}; 68 const SECRET_EXAMPLE: Secret = Secret([ 198 fn store(&mut self, id: &Id, secret: &Secret) -> Result<(), Error> { in store() 216 fn get(&mut self, id: &Id) -> Result<Secret, Error> { in get() argument 225 ) -> Result<Secret, Error> { in get_update_policy() argument 234 Ok(Secret(get_response.secret.0)) in get_update_policy() 293 fn assert_entry_not_found(res: Result<Secret, Error>) { in assert_entry_not_found() argument 298 fn assert_dice_policy_error(res: Result<Secret, Error>) { in assert_dice_policy_error() argument 302 fn assert_result_matches(res: Result<Secret, Error>, want: SecretkeeperError) { in assert_result_matches() argument
|
/hardware/interfaces/security/secretkeeper/aidl/android/hardware/security/secretkeeper/ |
D | SecretManagement.cddl | 1 ; CDDL for the Secret Management API. 43 secret : Secret, 60 Secret = bstr .size 32 ; The secret value. 111 GetSecretResult = (secret : Secret)
|