Home
last modified time | relevance | path

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

/trusty/user/base/lib/hwwsk/rust/src/
Dlib.rs121 raw_key: Vec<u8>, field
137 serializer.serialize_bytes(&self.raw_key) in serialize()
160 raw_key: Vec::try_alloc_from(&bytes[header_size..])?, in deserialize()
294 raw_key: &[u8], in import_key()
296 if raw_key.is_empty() { in import_key()
299 create_key(session, buf, key_size, key_flags, raw_key) in import_key()
334 raw_key: &[u8], in create_key()
341 raw_key: Vec::try_alloc_from(raw_key)?, in create_key()
/trusty/user/base/lib/hwwsk/include/lib/hwwsk/
Dclient.h57 const void* raw_key,
/trusty/user/base/lib/hwwsk/
Dclient.c92 const void* raw_key, in hwwsk_generate_key() argument
109 rc = tipc_send2(hchan, &msg, sizeof(msg), raw_key, raw_key_len); in hwwsk_generate_key()
/trusty/user/app/sample/hwcryptohal/server/
Dservice_encryption_key.rs230 let raw_key = kdf.hkdf(&[], &derivation_key, &derivation_context, SERVICE_KEK_LENGTH)?; in derive_key_hkdf() localVariable
232 raw_key.try_into().expect("should not fail, call with SERVICE_KEK_LENGTH returns 32 bytes"), in derive_key_hkdf()
Dopaque_key.rs222 let raw_key = hkdf in derive_raw_key_material() localVariable
225 Ok(raw_key) in derive_raw_key_material()
/trusty/user/app/keymint/keys/
Dlegacy.rs81 let raw_key = self.hkdf.hkdf(&[], &explicit!(root_kek)?.0, &info, 256 / 8)?; in derive_kek() localVariable
83 raw_key.try_into().map_err(|_e| km_err!(UnknownError, "unexpected HKDF output len"))?, in derive_kek()