Lines Matching refs:KeyLifetime
20 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()
586 keyLifetime: KeyLifetime::EPHEMERAL, in generate_key_material_test()