Home
last modified time | relevance | path

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

/system/keymaster/
Dsoft_keymaster_context.cpp326 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()
[all …]
/system/keymaster/include/keymaster/
Dsoft_keymaster_context.h117 std::unique_ptr<Keymaster0Engine> km0_engine_; variable