Searched refs:Keymaster1Engine (Results 1 – 15 of 15) sorted by relevance
39 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr;41 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() function in keymaster::Keymaster1Engine48 Keymaster1Engine::duplicate_key_data, Keymaster1Engine::free_key_data)), in Keymaster1Engine()61 Keymaster1Engine::~Keymaster1Engine() { in ~Keymaster1Engine()205 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(EVP_PKEY* key) const { in GetData()222 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const RSA* rsa) const { in GetData()227 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const EC_KEY* ec_key) const { in GetData()362 RSA_METHOD Keymaster1Engine::BuildRsaMethod() { in BuildRsaMethod()367 method.decrypt = Keymaster1Engine::rsa_decrypt; in BuildRsaMethod()373 ECDSA_METHOD Keymaster1Engine::BuildEcdsaMethod() { in BuildEcdsaMethod()[all …]
32 EcdsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1WrappedOperation()49 const Keymaster1Engine* engine_;58 const Keymaster1Engine* engine) in EcdsaKeymaster1Operation()104 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory()116 const Keymaster1Engine* engine_;
31 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation()48 const Keymaster1Engine* engine_;57 const Keymaster1Engine* engine) in RsaKeymaster1Operation()103 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory()115 const Keymaster1Engine* engine_;
32 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in Begin()60 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in PrepareFinish()76 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in GetError()
32 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in Begin()81 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in PrepareFinish()97 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); // key_data is owned by rsa in GetError()
32 const Keymaster1Engine* engine) in EcdsaKeymaster1KeyFactory()
29 const Keymaster1Engine* engine) in RsaKeymaster1KeyFactory()
35 class Keymaster1Engine {41 explicit Keymaster1Engine(const keymaster1_device_t* keymaster1_device);42 ~Keymaster1Engine();85 Keymaster1Engine(const Keymaster1Engine&); // Uncopyable86 void operator=(const Keymaster1Engine&); // Unassignable118 static Keymaster1Engine* instance_;
42 const Keymaster1Engine* engine);70 const Keymaster1Engine* engine_;
36 class Keymaster1Engine; variable117 std::unique_ptr<Keymaster1Engine> km1_engine_;
140 UniquePtr<Keymaster1Engine> km1_engine_;
37 class Keymaster1Engine; variable
41 km1_engine_(new Keymaster1Engine(dev)) {} in Keymaster1PassthroughContext()
70 km1_engine_.reset(new Keymaster1Engine(keymaster1_device)); in SetHardwareDevice()