Home
last modified time | relevance | path

Searched refs:Keymaster1Engine (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/
Dkeymaster1_engine.cpp41 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr;
43 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() function in keymaster::Keymaster1Engine
46 Keymaster1Engine::duplicate_key_data, in Keymaster1Engine()
47 Keymaster1Engine::free_key_data)), in Keymaster1Engine()
49 Keymaster1Engine::duplicate_key_data, in Keymaster1Engine()
50 Keymaster1Engine::free_key_data)), in Keymaster1Engine()
63 Keymaster1Engine::~Keymaster1Engine() { in ~Keymaster1Engine()
79 keymaster_error_t Keymaster1Engine::GenerateKey(const AuthorizationSet& key_description, in GenerateKey()
99 keymaster_error_t Keymaster1Engine::ImportKey(const AuthorizationSet& key_description, in ImportKey()
124 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
[all …]
Dkeymaster1_engine.h37 class Keymaster1Engine {
43 Keymaster1Engine(const keymaster1_device_t* keymaster1_device);
44 ~Keymaster1Engine();
87 Keymaster1Engine(const Keymaster1Engine&); // Uncopyable
88 void operator=(const Keymaster1Engine&); // Unassignable
118 static Keymaster1Engine* instance_;
Decdsa_keymaster1_operation.h32 EcdsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1WrappedOperation()
49 const Keymaster1Engine* engine_;
57 const Keymaster1Engine* engine) in EcdsaKeymaster1Operation()
103 EcdsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in EcdsaKeymaster1OperationFactory()
115 const Keymaster1Engine* engine_;
Drsa_keymaster1_operation.h32 RsaKeymaster1WrappedOperation(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1WrappedOperation()
49 const Keymaster1Engine* engine_;
57 const Keymaster1Engine* engine) in RsaKeymaster1Operation()
103 RsaKeymaster1OperationFactory(keymaster_purpose_t purpose, const Keymaster1Engine* engine) in RsaKeymaster1OperationFactory()
115 const Keymaster1Engine* engine_;
Decdsa_keymaster1_operation.cpp33 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in Begin()
63 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in PrepareFinish()
79 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in GetError()
Dec_keymaster1_key.h43 EcdsaKeymaster1KeyFactory(const SoftKeymasterContext* context, const Keymaster1Engine* engine);
64 const Keymaster1Engine* engine_;
Drsa_keymaster1_key.h43 RsaKeymaster1KeyFactory(const SoftKeymasterContext* context, const Keymaster1Engine* engine);
64 const Keymaster1Engine* engine_;
Drsa_keymaster1_operation.cpp33 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in Begin()
79 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in PrepareFinish()
95 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); // key_data is owned by rsa in GetError()
Dec_keymaster1_key.cpp31 const Keymaster1Engine* engine) in EcdsaKeymaster1KeyFactory()
Drsa_keymaster1_key.cpp31 const Keymaster1Engine* engine) in RsaKeymaster1KeyFactory()
Dsoft_keymaster_context.cpp339 km1_engine_.reset(new Keymaster1Engine(keymaster1_device)); in SetHardwareDevice()
/system/keymaster/include/keymaster/
Dsoft_keymaster_context.h33 class Keymaster1Engine; variable
118 std::unique_ptr<Keymaster1Engine> km1_engine_;