Lines Matching refs:Keymaster0Engine

40 Keymaster0Engine* Keymaster0Engine::instance_ = nullptr;
42 Keymaster0Engine::Keymaster0Engine(const keymaster0_device_t* keymaster0_device) in Keymaster0Engine() function in keymaster::Keymaster0Engine
54 rsa_method_.private_transform = Keymaster0Engine::rsa_private_transform; in Keymaster0Engine()
64 ecdsa_method_.sign = Keymaster0Engine::ecdsa_sign; in Keymaster0Engine()
71 Keymaster0Engine::~Keymaster0Engine() { in ~Keymaster0Engine()
79 bool Keymaster0Engine::GenerateRsaKey(uint64_t public_exponent, uint32_t public_modulus, in GenerateRsaKey()
97 bool Keymaster0Engine::GenerateEcKey(uint32_t key_size, KeymasterKeyBlob* key_material) const { in GenerateEcKey()
113 bool Keymaster0Engine::ImportKey(keymaster_key_format_t key_format, in ImportKey()
132 bool Keymaster0Engine::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey()
139 bool Keymaster0Engine::DeleteAllKeys() const { in DeleteAllKeys()
162 RSA* Keymaster0Engine::BlobToRsaKey(const KeymasterKeyBlob& blob) const { in BlobToRsaKey()
187 EC_KEY* Keymaster0Engine::BlobToEcKey(const KeymasterKeyBlob& blob) const { in BlobToEcKey()
213 const keymaster_key_blob_t* Keymaster0Engine::RsaKeyToBlob(const RSA* rsa) const { in RsaKeyToBlob()
217 const keymaster_key_blob_t* Keymaster0Engine::EcKeyToBlob(const EC_KEY* ec_key) const { in EcKeyToBlob()
222 int Keymaster0Engine::keyblob_dup(CRYPTO_EX_DATA* /* to */, const CRYPTO_EX_DATA* /* from */, in keyblob_dup()
235 void Keymaster0Engine::keyblob_free(void* /* parent */, void* ptr, CRYPTO_EX_DATA* /* data */, in keyblob_free()
245 int Keymaster0Engine::rsa_private_transform(RSA* rsa, uint8_t* out, const uint8_t* in, size_t len) { in rsa_private_transform()
253 int Keymaster0Engine::ecdsa_sign(const uint8_t* digest, size_t digest_len, uint8_t* sig, in ecdsa_sign()
260 bool Keymaster0Engine::Keymaster0Sign(const void* signing_params, const keymaster_key_blob_t& blob, in Keymaster0Sign()
277 EVP_PKEY* Keymaster0Engine::GetKeymaster0PublicKey(const KeymasterKeyBlob& blob) const { in GetKeymaster0PublicKey()
299 int Keymaster0Engine::RsaPrivateTransform(RSA* rsa, uint8_t* out, const uint8_t* in, in RsaPrivateTransform()
343 int Keymaster0Engine::EcdsaSign(const uint8_t* digest, size_t digest_len, uint8_t* sig, in EcdsaSign()