/system/keymaster/legacy_support/ |
D | ecdsa_keymaster1_operation.cpp | 32 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in Begin() 55 return engine_->device()->begin(engine_->device(), purpose_, &key_data->key_material, in Begin() 62 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in PrepareFinish() 74 return engine_->device()->abort(engine_->device(), operation_handle_); in Abort() 78 Keymaster1Engine::KeyData* key_data = engine_->GetData(ecdsa_key); in GetError() 111 key.hw_enforced_move(), key.sw_enforced_move(), digest, ecdsa.release(), engine_)); in CreateOperation()
|
D | ec_keymaster0_key.cpp | 34 : EcKeyFactory(blob_maker), engine_(engine) {} in EcdsaKeymaster0KeyFactory() 43 if (!engine_ || !engine_->supports_ec()) in GenerateKey() 54 if (!engine_->GenerateEcKey(key_size, &key_material)) in GenerateKey() 75 if (!engine_ || !engine_->supports_ec()) in ImportKey() 87 if (!engine_->ImportKey(input_key_material_format, input_key_material, &imported_hw_key)) in ImportKey() 111 unique_ptr<EC_KEY, EC_KEY_Delete> ec_key(engine_->BlobToEcKey(key_material)); in LoadKey()
|
D | rsa_keymaster1_operation.cpp | 32 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in Begin() 76 return engine_->device()->begin(engine_->device(), purpose_, &key_data->key_material, in Begin() 83 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); in PrepareFinish() 95 return engine_->device()->abort(engine_->device(), operation_handle_); in Abort() 99 Keymaster1Engine::KeyData* key_data = engine_->GetData(rsa_key); // key_data is owned by rsa in GetError() 136 engine_)); in CreateOperation() 140 engine_)); in CreateOperation()
|
D | ec_keymaster1_key.cpp | 32 : EcKeyFactory(blob_maker), engine_(engine), in EcdsaKeymaster1KeyFactory() 79 return engine_->GenerateKey(key_params_copy, key_blob, hw_enforced, sw_enforced); in GenerateKey() 88 return engine_->ImportKey(key_params_copy, input_key_material_format, input_key_material, in ImportKey() 102 engine_->BuildEcKey(key_material, additional_params, &error)); in LoadKey()
|
D | rsa_keymaster1_key.cpp | 29 : RsaKeyFactory(blob_maker), engine_(engine), in RsaKeymaster1KeyFactory() 88 return engine_->GenerateKey(key_params_copy, key_blob, hw_enforced, sw_enforced); in GenerateKey() 97 return engine_->ImportKey(key_params_copy, input_key_material_format, input_key_material, in ImportKey() 110 RSA_Ptr rsa(engine_->BuildRsaKey(key_material, additional_params, &error)); in LoadKey()
|
D | rsa_keymaster0_key.cpp | 34 : RsaKeyFactory(blob_maker), engine_(engine) {} in RsaKeymaster0KeyFactory() 56 if (!engine_->GenerateRsaKey(public_exponent, key_size, &key_material)) in GenerateKey() 87 if (!engine_->ImportKey(input_key_material_format, input_key_material, &imported_hw_key)) in ImportKey() 113 unique_ptr<RSA, RSA_Delete> rsa(engine_->BlobToRsaKey(key_material)); in LoadKey()
|
D | ecdsa_keymaster1_operation.h | 33 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in EcdsaKeymaster1WrappedOperation() 49 const Keymaster1Engine* engine_; variable 107 : purpose_(purpose), engine_(engine) {} in EcdsaKeymaster1OperationFactory() 118 const Keymaster1Engine* engine_; variable
|
D | rsa_keymaster1_operation.h | 33 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in RsaKeymaster1WrappedOperation() 49 const Keymaster1Engine* engine_; variable 107 : purpose_(purpose), engine_(engine) {} in RsaKeymaster1OperationFactory() 118 const Keymaster1Engine* engine_; variable
|
D | keymaster_passthrough_key.cpp | 34 additional_params, engine_)); in LoadKey() 74 keymaster_error_t error = engine_->ExportKey(format, key_material(), client_id, app_data, in formatted_key_material()
|
D | keymaster0_engine.cpp | 43 : keymaster0_device_(keymaster0_device), engine_(ENGINE_new()), supports_ec_(false) { in Keymaster0Engine() 57 ENGINE_set_RSA_method(engine_, &rsa_method_, sizeof(rsa_method_)); in Keymaster0Engine() 67 ENGINE_set_ECDSA_method(engine_, &ecdsa_method_, sizeof(ecdsa_method_)); in Keymaster0Engine() 75 ENGINE_free(engine_); in ~Keymaster0Engine() 164 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_)); in BlobToRsaKey() 189 unique_ptr<EC_KEY, EC_KEY_Delete> ec_key(EC_KEY_new_method(engine_)); in BlobToEcKey()
|
D | keymaster1_engine.cpp | 43 : keymaster1_device_(keymaster1_device), engine_(ENGINE_new()), in Keymaster1Engine() 58 ENGINE_set_RSA_method(engine_.get(), &rsa_method_, sizeof(rsa_method_)); in Keymaster1Engine() 59 ENGINE_set_ECDSA_method(engine_.get(), &ecdsa_method_, sizeof(ecdsa_method_)); in Keymaster1Engine() 139 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_.get())); in BuildRsaKey() 179 unique_ptr<EC_KEY, EC_KEY_Delete> ec_key(EC_KEY_new_method(engine_.get())); in BuildEcKey()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster_passthrough_key.h | 41 : KeyFactory(), engine_(engine), algorithm_(algorithm) {} in KeymasterPassthroughKeyFactory() 46 return engine_->GenerateKey(key_description, key_blob, hw_enforced, sw_enforced); in GenerateKey() 54 return engine_->ImportKey(key_description, input_key_material_format, input_key_material, in ImportKey() 65 return engine_->GetOperationFactory(purpose, algorithm_); in GetOperationFactory() 72 const engine_t* engine_; 84 additional_parameters_(additional_parameters), engine_(engine) { in KeymasterPassthroughKey() 99 const KeymasterPassthroughEngine* engine_; variable
|
D | rsa_keymaster0_key.h | 57 const Keymaster0Engine* engine_;
|
D | ec_keymaster0_key.h | 57 const Keymaster0Engine* engine_;
|
D | ec_keymaster1_key.h | 63 const Keymaster1Engine* engine_;
|
D | rsa_keymaster1_key.h | 64 const Keymaster1Engine* engine_;
|
D | keymaster0_engine.h | 93 ENGINE* const engine_; variable
|
D | keymaster1_engine.h | 111 const std::unique_ptr<ENGINE, ENGINE_Delete> engine_; variable
|
/system/security/keystore-engine/ |
D | android_engine.cpp | 197 engine_(ENGINE_new()) { in KeystoreEngine() 202 ENGINE_set_RSA_method(engine_, &rsa_method_, sizeof(rsa_method_)); in KeystoreEngine() 208 ENGINE_set_ECDSA_method(engine_, &ecdsa_method_, sizeof(ecdsa_method_)); in KeystoreEngine() 214 const ENGINE* engine() const { return engine_; } in engine() 221 ENGINE* const engine_; member in __anon342053920111::KeystoreEngine
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 26 : device_(dev), engine_(KeymasterPassthroughEngine::createInstance(dev)) { in Keymaster2PassthroughContext() 46 result.reset(new KeymasterPassthroughKeyFactory(engine_.get(), algorithm)); in GetKeyFactory()
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster2_passthrough_context.h | 115 UniquePtr<KeymasterPassthroughEngine> engine_; variable
|