Searched refs:Km (Results 1 – 11 of 11) sorted by relevance
98 .ok_or(Error::Km(ErrorCode::KEY_USER_NOT_AUTHENTICATED)) in get_auth_tokens()356 Err(Error::Km(ErrorCode::KEY_USER_NOT_AUTHENTICATED)).context(concat!( in get_auth_tokens()434 return Err(Error::Km(Ec::INCOMPATIBLE_PURPOSE)) in authorize_create()443 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)).context( in authorize_create()456 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)).context( in authorize_create()466 return Err(Error::Km(Ec::UNSUPPORTED_PURPOSE)) in authorize_create()511 return Err(Error::Km(Ec::KEY_NOT_YET_VALID)) in authorize_create()519 return Err(Error::Km(Ec::KEY_EXPIRED)) in authorize_create()527 return Err(Error::Km(Ec::KEY_EXPIRED)) in authorize_create()566 return Err(Error::Km(Ec::INCOMPATIBLE_PURPOSE)) in authorize_create()[all …]
279 Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()283 _ => Err(Error::Km(ErrorCode::INVALID_ARGUMENT)) in create_operation()327 Err(Error::Km(ErrorCode::TOO_MANY_OPERATIONS)) => { in create_operation()331 v @ Err(Error::Km(ErrorCode::INVALID_KEY_BLOB)) => { in create_operation()473 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in generate_key()590 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()615 .ok_or(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()623 v => Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)) in import_key()655 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context(format!( in import_wrapped_key()666 return Err(error::Error::Km(ErrorCode::INVALID_ARGUMENT)).context( in import_wrapped_key()[all …]
50 Km(ErrorCode), enumerator87 Error::Km(ErrorCode(s.service_specific_error())) in map_km_error()214 Some(Error::Km(ec)) => ec.0, in get_error_code()247 Err(anyhow!(Error::Km(ec))).context("nested nested ec") in nested_nested_ec()
265 _ => return Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)), in prune()316 Err(Error::Km(e)) => *locked_outcome = Outcome::ErrorCode(*e), in update_outcome()332 _ => Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)).context(format!( in check_active()743 Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) => break Ok(()), in prune()822 None => Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) in with_locked_operation()892 Some(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) => {} in abort()
207 return Err(Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) in connect_keymint()229 Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE) in connect_keymint()321 Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE) in connect_secureclock()368 .ok_or(Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) in connect_remotely_provisioned_component()
124 false => Err(Error::Km(ErrorCode::CANNOT_ATTEST_IDS)).context(concat!( in check_device_attestation_permissions()296 Some(Error::Km(ErrorCode::CANNOT_ATTEST_IDS)) => Ok(()), in check_device_attestation_permissions_test()
81 Some(Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) => Ok(None), in get_or_none()262 Err(Error::Km(ErrorCode::KEY_REQUIRES_UPGRADE)) => { in upgrade_keyblob_if_required_with()
102 Domain::BLOB => Err(Error::Km(ErrorCode::INVALID_ARGUMENT)).context( in load_attest_key_blob_and_cert()
128 Err(error::Error::Km(ErrorCode::HARDWARE_TYPE_UNAVAILABLE)) in get_security_level()
2594 .ok_or(KsError::Km(ErrorCode::INVALID_KEY_BLOB)) in check_and_update_key_usage_count()2609 0 => Err(KsError::Km(ErrorCode::INVALID_KEY_BLOB)).context("Key is exhausted."), in check_and_update_key_usage_count()4161 &KsError::Km(ErrorCode::INVALID_KEY_BLOB), in test_check_and_update_key_usage_count_with_exhausted_limited_use_key()
1 …qPIqB992MPGg8/hxYs+PIi/8r5EZOXoZEUREVkHCn9FRERERE6p/5//PdXHH6b8K994RCq3U78/Km/fbJWP7+GVQ6uDxayp9hU…