Home
last modified time | relevance | path

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

/system/keymaster/legacy_support/
Decdsa_keymaster1_operation.h33 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in EcdsaKeymaster1WrappedOperation()
35 if (operation_handle_) in ~EcdsaKeymaster1WrappedOperation()
45 keymaster_operation_handle_t GetOperationHandle() const { return operation_handle_; } in GetOperationHandle()
48 keymaster_operation_handle_t operation_handle_; variable
Dkeymaster_passthrough_operation.cpp40 …rc = km_device_->update(km_device_, operation_handle_, &mutable_input_params, &in, &consumed, &out… 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, &out… in Finish()
Drsa_keymaster1_operation.h33 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in RsaKeymaster1WrappedOperation()
35 if (operation_handle_) in ~RsaKeymaster1WrappedOperation()
45 keymaster_operation_handle_t GetOperationHandle() const { return operation_handle_; } in GetOperationHandle()
48 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.cpp56 &begin_params, nullptr /* out_params */, &operation_handle_); in Begin()
67 key_data->op_handle = operation_handle_; in PrepareFinish()
74 return engine_->device()->abort(engine_->device(), operation_handle_); in Abort()
Drsa_keymaster1_operation.cpp77 &begin_params, nullptr /* out_params */, &operation_handle_); in Begin()
88 key_data->op_handle = operation_handle_; in PrepareFinish()
95 return engine_->device()->abort(engine_->device(), operation_handle_); in Abort()
/system/keymaster/km_openssl/
Decdsa_operation.cpp107 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
108 (size_t)sizeof(operation_handle_)); in Begin()
176 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
177 (size_t)sizeof(operation_handle_)); in Begin()
Dhmac_operation.cpp144 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
145 (size_t)sizeof(operation_handle_)); in Begin()
Dblock_cipher_operation.cpp161 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
162 (size_t)sizeof(operation_handle_)); in Begin()
Drsa_operation.cpp139 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
140 (size_t)sizeof(operation_handle_)); in Begin()
/system/keymaster/include/keymaster/
Doperation.h106 virtual keymaster_operation_handle_t operation_handle() const { return operation_handle_; } in operation_handle()
124 keymaster_operation_handle_t operation_handle_; variable