Lines Matching refs:KeyData
138 KeyData* key_data = new KeyData(blob, additional_params); in BuildRsaKey()
177 KeyData* key_data = new KeyData(blob, additional_params); in BuildEcKey()
205 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(EVP_PKEY* key) const { in GetData()
222 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const RSA* rsa) const { in GetData()
224 return reinterpret_cast<KeyData*>(RSA_get_ex_data(rsa, rsa_index_)); in GetData()
227 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const EC_KEY* ec_key) const { in GetData()
229 return reinterpret_cast<KeyData*>(EC_KEY_get_ex_data(ec_key, ec_key_index_)); in GetData()
237 KeyData* data = reinterpret_cast<KeyData*>(*from_d); in duplicate_key_data()
241 *from_d = new KeyData(*data); in duplicate_key_data()
250 delete reinterpret_cast<KeyData*>(ptr); in free_key_data()
253 keymaster_error_t Keymaster1Engine::Keymaster1Finish(const KeyData* key_data, in Keymaster1Finish()
273 KeyData* key_data = instance_->GetData(rsa); in rsa_sign_raw()
296 KeyData* key_data = instance_->GetData(rsa); in rsa_decrypt()
319 KeyData* key_data = instance_->GetData(ec_key); in ecdsa_sign()