Home
last modified time | relevance | path

Searched refs:KeyData (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_engine.h56 struct KeyData { struct
57 KeyData(const KeymasterKeyBlob& blob, const AuthorizationSet& params) in KeyData() argument
74 KeyData* GetData(EVP_PKEY* key) const; argument
75 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,
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp138 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 …]
Decdsa_keymaster1_operation.cpp32 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()
Drsa_keymaster1_operation.cpp32 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()