Home
last modified time | relevance | path

Searched refs:key_header (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/sample/hwcryptohal/server/
Dopaque_key.rs143 pub(crate) key_header: KeyHeader, field
171 let key_header = KeyHeader::new(policy)?; in new_binder() localVariable
173 let opaque_key = OpaqueKey { key_header, key_material }; in new_binder()
180 let key_header = self.key_header.try_clone()?; in try_clone() localVariable
182 Ok(OpaqueKey { key_header, key_material }) in try_clone()
246 validate_lifetime(self.key_header.key_lifetime)?; in derivation_allowed_lifetime()
248 match self.key_header.key_lifetime { in derivation_allowed_lifetime()
270 self.key_header.key_lifetime in derivation_allowed_lifetime()
280 if self.key_header.key_usage != KeyUse::DERIVE { in key_can_be_used_for_derivation()
301 Ok(self.key_header.get_policy()?) in getKeyPolicy()
/trusty/user/app/keymint/
Dsecure_storage_manager.rs669 let key_header = match algorithm { in read_key_test() localVariable
674 raw_protobuf.extend_from_slice(&key_header); in read_key_test()