Searched refs:key_flags (Results 1 – 6 of 6) sorted by relevance
/trusty/user/app/keymint/ |
D | key_wrapper.rs | 89 let mut key_flags = hwwsk::KeyFlags::new(); in create_storage_key() localVariable 92 key_flags = key_flags.rollback_resistance(); in create_storage_key() 106 None => hwwsk::generate_key(&session, &mut buf, key_size, key_flags), in create_storage_key() 107 Some(key) => hwwsk::import_key(&session, &mut buf, key_size, key_flags, key), in create_storage_key() 111 key_flags = hwwsk::KeyFlags::new(); in create_storage_key() 113 None => hwwsk::generate_key(&session, &mut buf, key_size, key_flags), in create_storage_key() 114 Some(key) => hwwsk::import_key(&session, &mut buf, key_size, key_flags, key), in create_storage_key()
|
/trusty/user/app/keymaster/ |
D | trusty_aes_key.cpp | 62 uint32_t key_flags; in CreateHwStorageKeyBlob() local 93 key_flags = 0; in CreateHwStorageKeyBlob() 95 key_flags |= HWWSK_FLAGS_ROLLBACK_RESISTANCE; in CreateHwStorageKeyBlob() 100 key_flags, input_key_material.key_material, in CreateHwStorageKeyBlob() 104 (key_flags & HWWSK_FLAGS_ROLLBACK_RESISTANCE)) { in CreateHwStorageKeyBlob() 105 key_flags &= ~HWWSK_FLAGS_ROLLBACK_RESISTANCE; in CreateHwStorageKeyBlob() 107 key_flags, input_key_material.key_material, in CreateHwStorageKeyBlob()
|
/trusty/user/base/lib/hwwsk/rust/src/ |
D | lib.rs | 134 serializer.serialize_as_bytes(&self.req.key_flags)?; in serialize() 155 let hwwsk_generate_key_req { key_size, key_flags } = in deserialize() 159 req: hwwsk_generate_key_req { key_size: *key_size, key_flags: *key_flags }, in deserialize() 293 key_flags: KeyFlags, in import_key() 299 create_key(session, buf, key_size, key_flags, raw_key) in import_key() 324 key_flags: KeyFlags, in generate_key() 326 create_key(session, buf, key_size, key_flags, &[]) in generate_key() 333 key_flags: KeyFlags, in create_key() 340 req: hwwsk_generate_key_req { key_size: key_size as u32, key_flags: key_flags.flags }, in create_key()
|
/trusty/user/base/lib/hwwsk/ |
D | client.c | 91 uint32_t key_flags, in hwwsk_generate_key() argument 106 msg.req.key_flags = key_flags; in hwwsk_generate_key()
|
/trusty/user/base/lib/hwwsk/include/lib/hwwsk/ |
D | client.h | 56 uint32_t key_flags,
|
/trusty/user/base/interface/hwwsk/include/interface/hwwsk/ |
D | hwwsk.h | 158 uint32_t key_flags; member
|