Searched refs:KeyData (Results 1 – 4 of 4) sorted by relevance
56 struct KeyData { struct57 KeyData(const KeymasterKeyBlob& blob, const AuthorizationSet& params) in KeyData() argument74 KeyData* GetData(EVP_PKEY* key) const; argument75 KeyData* GetData(const RSA* rsa) const;76 KeyData* GetData(const EC_KEY* rsa) const;93 keymaster_error_t Keymaster1Finish(const KeyData* key_data, const keymaster_blob_t& input,
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()[all …]
32 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()
32 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()