Lines Matching refs:km0_engine_
326 km0_engine_.reset(new Keymaster0Engine(keymaster0_device)); in SetHardwareDevice()
327 rsa_factory_.reset(new RsaKeymaster0KeyFactory(this, km0_engine_.get())); in SetHardwareDevice()
328 ec_factory_.reset(new EcdsaKeymaster0KeyFactory(this, km0_engine_.get())); in SetHardwareDevice()
682 else if (km0_engine_) in ParseKeyBlob()
704 if (km0_engine_) { in DeleteKey()
718 if (error == KM_ERROR_OK && km0_engine_->DeleteKey(key_material)) in DeleteKey()
721 km0_engine_->DeleteKey(blob); in DeleteKey()
740 if (km0_engine_ && !km0_engine_->DeleteAllKeys()) in DeleteAllKeys()
896 assert(km0_engine_); in ParseKeymaster0HwBlob()
898 unique_ptr<EVP_PKEY, EVP_PKEY_Delete> tmp_key(km0_engine_->GetKeymaster0PublicKey(blob)); in ParseKeymaster0HwBlob()
903 LOG_D("Module \"%s\" accepted key", km0_engine_->device()->common.module->name); in ParseKeymaster0HwBlob()