Searched refs:km0_engine_ (Results 1 – 3 of 3) sorted by relevance
33 km0_engine_.reset(new Keymaster0Engine(dev)); in Keymaster0PassthroughContext()34 rsa_factory_.reset(new RsaKeymaster0KeyFactory(this, km0_engine_.get())); in Keymaster0PassthroughContext()35 ec_factory_.reset(new EcdsaKeymaster0KeyFactory(this, km0_engine_.get())); in Keymaster0PassthroughContext()39 UniquePtr<Keymaster0Engine> km0_engine_;
127 std::unique_ptr<Keymaster0Engine> km0_engine_; variable
73 km0_engine_.reset(new Keymaster0Engine(keymaster0_device)); in SetHardwareDevice()74 rsa_factory_.reset(new RsaKeymaster0KeyFactory(this, km0_engine_.get())); in SetHardwareDevice()75 ec_factory_.reset(new EcdsaKeymaster0KeyFactory(this, km0_engine_.get())); in SetHardwareDevice()324 } else if (km0_engine_) { in ParseKeyBlob()348 if (km0_engine_) { in DeleteKey()362 if (error == KM_ERROR_OK && km0_engine_->DeleteKey(key_material)) in DeleteKey()365 km0_engine_->DeleteKey(blob); in DeleteKey()384 if (km0_engine_ && !km0_engine_->DeleteAllKeys()) in DeleteAllKeys()431 assert(km0_engine_); in ParseKeymaster0HwBlob()433 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> tmp_key(km0_engine_->GetKeymaster0PublicKey(blob)); in ParseKeymaster0HwBlob()[all …]