Home
last modified time | relevance | path

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

/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp42 : keymaster1_device_(keymaster1_device), engine_(ENGINE_new()), in Keymaster1Engine()
62 keymaster1_device_->common.close( in ~Keymaster1Engine()
63 reinterpret_cast<hw_device_t*>(const_cast<keymaster1_device_t*>(keymaster1_device_))); in ~Keymaster1Engine()
83 keymaster_error_t error = keymaster1_device_->generate_key(keymaster1_device_, &key_description, in GenerateKey()
106 keymaster_error_t error = keymaster1_device_->import_key(keymaster1_device_, &key_description, in ImportKey()
119 if (!keymaster1_device_->delete_key) return KM_ERROR_OK; in DeleteKey()
120 return keymaster1_device_->delete_key(keymaster1_device_, &blob); in DeleteKey()
124 if (!keymaster1_device_->delete_all_keys) return KM_ERROR_OK; in DeleteAllKeys()
125 return keymaster1_device_->delete_all_keys(keymaster1_device_); in DeleteAllKeys()
351 *error = keymaster1_device_->export_key(keymaster1_device_, KM_KEY_FORMAT_X509, &blob, in GetKeymaster1PublicKey()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_engine.h78 const keymaster1_device_t* device() const { return keymaster1_device_; } in device()
110 const keymaster1_device_t* const keymaster1_device_; variable