Lines Matching refs:Keymaster1Engine
40 Keymaster1Engine* Keymaster1Engine::instance_ = nullptr;
42 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() function in keymaster::Keymaster1Engine
45 Keymaster1Engine::duplicate_key_data, in Keymaster1Engine()
46 Keymaster1Engine::free_key_data)), in Keymaster1Engine()
48 Keymaster1Engine::duplicate_key_data, in Keymaster1Engine()
49 Keymaster1Engine::free_key_data)), in Keymaster1Engine()
62 Keymaster1Engine::~Keymaster1Engine() { in ~Keymaster1Engine()
78 keymaster_error_t Keymaster1Engine::GenerateKey(const AuthorizationSet& key_description, in GenerateKey()
98 keymaster_error_t Keymaster1Engine::ImportKey(const AuthorizationSet& key_description, in ImportKey()
123 keymaster_error_t Keymaster1Engine::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
129 keymaster_error_t Keymaster1Engine::DeleteAllKeys() const { in DeleteAllKeys()
135 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey()
175 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob, in BuildEcKey()
214 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(EVP_PKEY* key) const { in GetData()
231 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const RSA* rsa) const { in GetData()
237 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const EC_KEY* ec_key) const { in GetData()
244 int Keymaster1Engine::duplicate_key_data(CRYPTO_EX_DATA* /* to */, const CRYPTO_EX_DATA* /* from */, in duplicate_key_data()
259 void Keymaster1Engine::free_key_data(void* /* parent */, void* ptr, CRYPTO_EX_DATA* /* data */, in free_key_data()
264 keymaster_error_t Keymaster1Engine::Keymaster1Finish(const KeyData* key_data, in Keymaster1Finish()
284 int Keymaster1Engine::rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_sign_raw()
309 int Keymaster1Engine::rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_decrypt()
334 int Keymaster1Engine::ecdsa_sign(const uint8_t* digest, size_t digest_len, uint8_t* sig, in ecdsa_sign()
357 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey()
385 RSA_METHOD Keymaster1Engine::BuildRsaMethod() { in BuildRsaMethod()
389 method.sign_raw = Keymaster1Engine::rsa_sign_raw; in BuildRsaMethod()
390 method.decrypt = Keymaster1Engine::rsa_decrypt; in BuildRsaMethod()
396 ECDSA_METHOD Keymaster1Engine::BuildEcdsaMethod() { in BuildEcdsaMethod()
400 method.sign = Keymaster1Engine::ecdsa_sign; in BuildEcdsaMethod()