Lines Matching refs:Keymaster1Engine

39 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()
128 RSA* Keymaster1Engine::BuildRsaKey(const KeymasterKeyBlob& blob, in BuildRsaKey()
167 EC_KEY* Keymaster1Engine::BuildEcKey(const KeymasterKeyBlob& blob, in BuildEcKey()
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()
233 int Keymaster1Engine::duplicate_key_data(CRYPTO_EX_DATA* /* to */, const CRYPTO_EX_DATA* /* from */, in duplicate_key_data()
247 void Keymaster1Engine::free_key_data(void* /* parent */, void* ptr, CRYPTO_EX_DATA* /* data */, in free_key_data()
253 keymaster_error_t Keymaster1Engine::Keymaster1Finish(const KeyData* key_data, in Keymaster1Finish()
271 int Keymaster1Engine::rsa_sign_raw(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_sign_raw()
294 int Keymaster1Engine::rsa_decrypt(RSA* rsa, size_t* out_len, uint8_t* out, size_t max_out, in rsa_decrypt()
317 int Keymaster1Engine::ecdsa_sign(const uint8_t* digest, size_t digest_len, uint8_t* sig, in ecdsa_sign()
337 EVP_PKEY* Keymaster1Engine::GetKeymaster1PublicKey(const KeymasterKeyBlob& blob, in GetKeymaster1PublicKey()
362 RSA_METHOD Keymaster1Engine::BuildRsaMethod() { in BuildRsaMethod()
366 method.sign_raw = Keymaster1Engine::rsa_sign_raw; in BuildRsaMethod()
367 method.decrypt = Keymaster1Engine::rsa_decrypt; in BuildRsaMethod()
373 ECDSA_METHOD Keymaster1Engine::BuildEcdsaMethod() { in BuildEcdsaMethod()
377 method.sign = Keymaster1Engine::ecdsa_sign; in BuildEcdsaMethod()