Home
last modified time | relevance | path

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

/trusty/user/app/sample/hwcryptohal/server/
Dservice_encryption_key.rs48 header_version: u32, field
52 fn new(key_derivation_context: [u8; KEY_DERIVATION_CTX_LENGTH], header_version: u32) -> Self { in new()
53 Self { key_derivation_context, header_version }
57 let header_version = get_service_current_version()?; in generate() localVariable
58 Ok(Self::generate_with_version(header_version)) in generate()
61 pub(crate) fn generate_with_version(header_version: u32) -> Self { in generate_with_version()
63 Self::new(key_derivation_context, header_version) in generate_with_version()
72 let encryption_key = get_encryption_key(self.header_version, key_context)?; in derive_service_encryption_key()
150 let mut header_version = None; in try_from() localVariable
178 header_version = Some(parse_cborium_u32(&element.1, "header version")?); in try_from()
[all …]