Home
last modified time | relevance | path

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

/trusty/user/base/lib/hwwsk/include/lib/hwwsk/
Dclient.h77 const void* key_blob,
/trusty/user/base/lib/hwwsk/
Dclient.c121 const void* key_blob, in hwwsk_export_key() argument
133 rc = tipc_send2(hchan, &msg, sizeof(msg), key_blob, key_blob_len); in hwwsk_export_key()
/trusty/user/base/lib/hwwsk/rust/src/
Dlib.rs168 key_blob: Vec<u8>, field
176 serializer.serialize_bytes(&self.key_blob) in serialize()
185 Ok(Self { key_blob: Vec::try_alloc_from(bytes)? }) in deserialize()
383 key_blob: &[u8], in export_key()
388 req: HwWskCmd::Export(ExportKeyReq { key_blob: Vec::try_alloc_from(key_blob)? }), in export_key()
/trusty/user/app/keymaster/host_unittest/
Dmain.cpp81 KeymasterKeyBlob key_blob; in TestKeyStorage() local
93 key_blob = ss_manager->ReadKeyFromStorage(key_slot, &error); in TestKeyStorage()
95 ASSERT_EQ(DATA_SIZE, key_blob.key_material_size); in TestKeyStorage()
97 ASSERT_EQ(0, memcmp(write_key.get(), key_blob.writable_data(), DATA_SIZE)); in TestKeyStorage()
311 KeymasterKeyBlob key_blob; in TestFormatChange() local
348 key_blob = ss_manager->ReadKeyFromStorage(key_slot, &error); in TestFormatChange()
350 ASSERT_EQ(DATA_SIZE, key_blob.key_material_size); in TestFormatChange()
352 ASSERT_EQ(0, memcmp(write_key[i].get(), key_blob.writable_data(), in TestFormatChange()
/trusty/user/app/keymaster/device_unittest/
Dmain.cpp75 KeymasterKeyBlob key_blob; in TestKeyStorage() local
84 key_blob = ss_manager->ReadKeyFromStorage(key_slot, &error); in TestKeyStorage()
86 ASSERT_EQ(DATA_SIZE, key_blob.key_material_size); in TestKeyStorage()
88 ASSERT_NE(nullptr, key_blob.key_material); in TestKeyStorage()
89 ASSERT_EQ(0, memcmp(write_key.get(), key_blob.key_material, DATA_SIZE)); in TestKeyStorage()
/trusty/user/app/keymaster/
Dopenssl_keymaster_enforcement.h44 bool CreateKeyId(const keymaster_key_blob_t& key_blob,
Dopenssl_keymaster_enforcement.cpp63 const keymaster_key_blob_t& key_blob, in CreateKeyId() argument
70 EVP_DigestUpdate(ctx.get(), key_blob.key_material, in CreateKeyId()
71 key_blob.key_material_size) && in CreateKeyId()
Dtrusty_aes_key.h38 KeymasterKeyBlob* key_blob,