Lines Matching refs:db
102 db: &mut KeystoreDB, in create_and_store_key()
122 db.store_new_key( in create_and_store_key()
147 db: &mut KeystoreDB, in lookup_from_desc()
151 db.load_key_entry(&key_desc, key_type, KeyEntryLoadBits::KM, AID_KEYSTORE, |_, _| Ok(())) in lookup_from_desc()
172 db: &mut KeystoreDB, in lookup_or_generate_key()
186 let lookup = Self::not_found_is_none(Self::lookup_from_desc(db, key_desc, key_type)) in lookup_or_generate_key()
204 db, in lookup_or_generate_key()
231 self.create_and_store_key(db, &key_desc, key_type, |km_dev| { in lookup_or_generate_key()
235 Self::lookup_from_desc(db, key_desc, key_type) in lookup_or_generate_key()
253 db: &mut KeystoreDB, in upgrade_keyblob_if_required_with()
275 db.set_blob( in upgrade_keyblob_if_required_with()
305 db: &mut KeystoreDB, in use_key_in_one_step()
316 .upgrade_keyblob_if_required_with(db, key_id_guard, key_blob, |blob| { in use_key_in_one_step()