Home
last modified time | relevance | path

Searched refs:KeyLifetime (Results 1 – 3 of 3) sorted by relevance

/trusty/user/app/sample/hwcryptohal/server/
Dopaque_key.rs20 KeyLifetime::KeyLifetime, KeyPermissions::KeyPermissions, KeyType::KeyType, KeyUse::KeyUse,
91 key_lifetime: KeyLifetime,
244 derived_key_lifetime: KeyLifetime, in derivation_allowed_lifetime() argument
250 KeyLifetime::EPHEMERAL => Ok(true), in derivation_allowed_lifetime()
251 KeyLifetime::HARDWARE => { in derivation_allowed_lifetime()
253 if derived_key_lifetime.0 == KeyLifetime::EPHEMERAL.0 { in derivation_allowed_lifetime()
259 KeyLifetime::PORTABLE => { in derivation_allowed_lifetime()
261 if derived_key_lifetime.0 == KeyLifetime::PORTABLE.0 { in derivation_allowed_lifetime()
458 fn validate_lifetime(lifetime: KeyLifetime) -> Result<(), HwCryptoError> { in validate_lifetime()
460 KeyLifetime::EPHEMERAL | KeyLifetime::HARDWARE | KeyLifetime::PORTABLE => Ok(()), in validate_lifetime()
[all …]
Dhwcrypto_device_key.rs21 types::{KeyLifetime::KeyLifetime, KeyType::KeyType, KeyUse::KeyUse},
255 keyLifetime: KeyLifetime::EPHEMERAL, in derive_dice_policy_bound_key()
/trusty/user/app/sample/hwcryptohal/aidl/rust/
Drules.mk48 $(HWCRYPTO_AIDL_DIR)/$(MODULE_AIDL_PACKAGE)/types/KeyLifetime.aidl \