Home
last modified time | relevance | path

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

/trusty/user/app/sample/hwcryptohal/server/
Dservice_encryption_key.rs47 key_derivation_context: [u8; KEY_DERIVATION_CTX_LENGTH], 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 }
62 let key_derivation_context = get_new_key_derivation_context(); in generate_with_version() localVariable
63 Self::new(key_derivation_context, header_version) in generate_with_version()
73 derive_key_hkdf(&encryption_key, &self.key_derivation_context[..]) in derive_service_encryption_key()
149 let mut key_derivation_context = None; in try_from() localVariable
174 key_derivation_context = in try_from()
183 let key_derivation_context = key_derivation_context in try_from() localVariable
187 Ok(Self::new(key_derivation_context, header_version)) in try_from()
[all …]