Home
last modified time | relevance | path

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

/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp39 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr;
41 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() function in keymaster::Keymaster1Engine
44 Keymaster1Engine::duplicate_key_data, in Keymaster1Engine()
45 Keymaster1Engine::free_key_data)), in Keymaster1Engine()
48 Keymaster1Engine::duplicate_key_data, Keymaster1Engine::free_key_data)), in Keymaster1Engine()
61 Keymaster1Engine::~Keymaster1Engine() { in ~Keymaster1Engine()
75 keymaster_error_t Keymaster1Engine::GenerateKey(const AuthorizationSet& key_description, in GenerateKey()
94 keymaster_error_t Keymaster1Engine::ImportKey(const AuthorizationSet& key_description, in ImportKey()
118 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
123 keymaster_error_t Keymaster1Engine::DeleteAllKeys() const { in DeleteAllKeys()
[all …]
Decdsa_keymaster1_operation.h32 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_;
Drsa_keymaster1_operation.h31 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_;
Decdsa_keymaster1_operation.cpp32 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()
Drsa_keymaster1_operation.cpp32 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()
Drsa_keymaster1_key.cpp29 const Keymaster1Engine* engine) in RsaKeymaster1KeyFactory()
Dec_keymaster1_key.cpp32 const Keymaster1Engine* engine) in EcdsaKeymaster1KeyFactory()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_engine.h35 class Keymaster1Engine {
41 explicit Keymaster1Engine(const keymaster1_device_t* keymaster1_device);
42 ~Keymaster1Engine();
85 Keymaster1Engine(const Keymaster1Engine&); // Uncopyable
86 void operator=(const Keymaster1Engine&); // Unassignable
118 static Keymaster1Engine* instance_;
Dec_keymaster1_key.h42 const Keymaster1Engine* engine);
70 const Keymaster1Engine* engine_;
Drsa_keymaster1_key.h42 const Keymaster1Engine* engine);
70 const Keymaster1Engine* engine_;
/system/keymaster/include/keymaster/contexts/
Dsoft_keymaster_context.h36 class Keymaster1Engine; variable
117 std::unique_ptr<Keymaster1Engine> km1_engine_;
Dkeymaster1_passthrough_context.h140 UniquePtr<Keymaster1Engine> km1_engine_;
Dpure_soft_keymaster_context.h37 class Keymaster1Engine; variable
/system/keymaster/contexts/
Dkeymaster1_passthrough_context.cpp41 km1_engine_(new Keymaster1Engine(dev)) {} in Keymaster1PassthroughContext()
Dsoft_keymaster_context.cpp70 km1_engine_.reset(new Keymaster1Engine(keymaster1_device)); in SetHardwareDevice()