Searched refs:keymaster0_device_ (Results 1 – 2 of 2) sorted by relevance
/system/keymaster/legacy_support/ |
D | keymaster0_engine.cpp | 43 : keymaster0_device_(keymaster0_device), engine_(ENGINE_new()), supports_ec_(false) { in Keymaster0Engine() 59 if ((keymaster0_device_->flags & KEYMASTER_SUPPORTS_EC) != 0) { in Keymaster0Engine() 72 if (keymaster0_device_) in ~Keymaster0Engine() 73 keymaster0_device_->common.close( in ~Keymaster0Engine() 74 reinterpret_cast<hw_device_t*>(const_cast<keymaster0_device_t*>(keymaster0_device_))); in ~Keymaster0Engine() 87 if (keymaster0_device_->generate_keypair(keymaster0_device_, TYPE_RSA, ¶ms, &key_blob, in GenerateRsaKey() 103 if (keymaster0_device_->generate_keypair(keymaster0_device_, TYPE_EC, ¶ms, &key_blob, in GenerateEcKey() 121 if (keymaster0_device_->import_keypair(keymaster0_device_, to_import.key_material, in ImportKey() 133 if (!keymaster0_device_->delete_keypair) in DeleteKey() 135 return (keymaster0_device_->delete_keypair(keymaster0_device_, blob.key_material, in DeleteKey() [all …]
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster0_engine.h | 63 const keymaster0_device_t* device() { return keymaster0_device_; } in device() 92 const keymaster0_device_t* keymaster0_device_; variable
|