Home
last modified time | relevance | path

Searched refs:operation_handle_ (Results 1 – 12 of 12) sorted by relevance

/system/keymaster/legacy_support/
Dkeymaster_passthrough_operation.cpp39 rc = km_device_->update(km_device_, operation_handle_, &mutable_input_params, &in, in Finish()
58 km_device_->abort(km_device_, operation_handle_); in Finish()
69 rc = km_device_->finish(km_device_, operation_handle_, &mutable_input_params, &sig, &out_params, in Finish()
103 rc = km_device_->finish(km_device_, operation_handle_, &input_params, &in, &sig, &out_params, in Finish()
Drsa_keymaster1_operation.h34 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in RsaKeymaster1WrappedOperation()
36 if (operation_handle_) Abort(); in ~RsaKeymaster1WrappedOperation()
45 keymaster_operation_handle_t GetOperationHandle() const { return operation_handle_; } in GetOperationHandle()
49 keymaster_operation_handle_t operation_handle_; variable
Decdsa_keymaster1_operation.h35 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in EcdsaKeymaster1WrappedOperation()
37 if (operation_handle_) Abort(); in ~EcdsaKeymaster1WrappedOperation()
46 keymaster_operation_handle_t GetOperationHandle() const { return operation_handle_; } in GetOperationHandle()
50 keymaster_operation_handle_t operation_handle_; variable
Dkeymaster_passthrough_operation.h42 operation_handle_ = 0; in KeymasterPassthroughOperation()
51 &operation_handle_); in Begin()
63 rc = km_device_->update(km_device_, operation_handle_, &input_params, &in, input_consumed, in Update()
76 keymaster_error_t Abort() { return km_device_->abort(km_device_, operation_handle_); } in Abort()
Decdsa_keymaster1_operation.cpp54 &begin_params, nullptr /* out_params */, &operation_handle_); in Begin()
65 key_data->op_handle = operation_handle_; in PrepareFinish()
72 return engine_->device()->abort(engine_->device(), operation_handle_); in Abort()
Drsa_keymaster1_operation.cpp75 &begin_params, nullptr /* out_params */, &operation_handle_); in Begin()
86 key_data->op_handle = operation_handle_; in PrepareFinish()
93 return engine_->device()->abort(engine_->device(), operation_handle_); in Abort()
/system/keymaster/km_openssl/
Decdsa_operation.cpp110 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
111 (size_t)sizeof(operation_handle_)); in Begin()
175 return GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
176 (size_t)sizeof(operation_handle_)); in Begin()
234 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
235 (size_t)sizeof(operation_handle_)); in Begin()
Decdh_operation.cpp33 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
34 (size_t)sizeof(operation_handle_)); in Begin()
Dhmac_operation.cpp149 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
150 (size_t)sizeof(operation_handle_)); in Begin()
Dblock_cipher_operation.cpp162 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
163 (size_t)sizeof(operation_handle_)); in Begin()
Drsa_operation.cpp173 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
174 (size_t)sizeof(operation_handle_)); in Begin()
/system/keymaster/include/keymaster/
Doperation.h113 virtual keymaster_operation_handle_t operation_handle() const { return operation_handle_; } in operation_handle()
153 keymaster_operation_handle_t operation_handle_; variable