Home
last modified time | relevance | path

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

/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp145 KeyData* key_data = new KeyData(blob, additional_params); in BuildRsaKey()
185 KeyData* key_data = new KeyData(blob, additional_params); in BuildEcKey()
214 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(EVP_PKEY* key) const { in GetData()
231 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const RSA* rsa) const { in GetData()
234 return reinterpret_cast<KeyData*>(RSA_get_ex_data(rsa, rsa_index_)); in GetData()
237 Keymaster1Engine::KeyData* Keymaster1Engine::GetData(const EC_KEY* ec_key) const { in GetData()
240 return reinterpret_cast<KeyData*>(EC_KEY_get_ex_data(ec_key, ec_key_index_)); in GetData()
247 KeyData* data = reinterpret_cast<KeyData*>(*from_d); in duplicate_key_data()
252 *from_d = new KeyData(*data); in duplicate_key_data()
261 delete reinterpret_cast<KeyData*>(ptr); in free_key_data()
[all …]
Decdsa_keymaster1_operation.cpp32 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in Begin()
62 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in PrepareFinish()
78 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in GetError()
Drsa_keymaster1_operation.cpp32 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in Begin()
83 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in PrepareFinish()
99 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); // key_data is owned by rsa in GetError()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_engine.h58 struct KeyData { struct
59 KeyData(const KeymasterKeyBlob& blob, const AuthorizationSet& params) in KeyData() argument
76 KeyData* GetData(EVP_PKEY* key) const; argument
77 KeyData* GetData(const RSA* rsa) const;
78 KeyData* GetData(const EC_KEY* rsa) const;
95 keymaster_error_t Keymaster1Finish(const KeyData* key_data, const keymaster_blob_t& input,