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.cpp38 rc = km_device_->update(km_device_, operation_handle_, &mutable_input_params, &in, in Finish()
57 km_device_->abort(km_device_, operation_handle_); in Finish()
68 rc = km_device_->finish(km_device_, operation_handle_, &mutable_input_params, &sig, &out_params, in Finish()
102 rc = km_device_->finish(km_device_, operation_handle_, &input_params, &in, &sig, &out_params, in Finish()
Decdsa_keymaster1_operation.h33 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in EcdsaKeymaster1WrappedOperation()
35 if (operation_handle_) Abort(); in ~EcdsaKeymaster1WrappedOperation()
44 keymaster_operation_handle_t GetOperationHandle() const { return operation_handle_; } in GetOperationHandle()
48 keymaster_operation_handle_t operation_handle_; variable
Drsa_keymaster1_operation.h32 : purpose_(purpose), operation_handle_(0), engine_(engine) {} in RsaKeymaster1WrappedOperation()
34 if (operation_handle_) Abort(); in ~RsaKeymaster1WrappedOperation()
43 keymaster_operation_handle_t GetOperationHandle() const { return operation_handle_; } in GetOperationHandle()
47 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.cpp106 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
107 (size_t)sizeof(operation_handle_)); in Begin()
167 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
168 (size_t)sizeof(operation_handle_)); in Begin()
Decdh_operation.cpp30 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
31 (size_t)sizeof(operation_handle_)); in Begin()
Dhmac_operation.cpp147 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
148 (size_t)sizeof(operation_handle_)); in Begin()
Dblock_cipher_operation.cpp159 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
160 (size_t)sizeof(operation_handle_)); in Begin()
Drsa_operation.cpp171 auto rc = GenerateRandom(reinterpret_cast<uint8_t*>(&operation_handle_), in Begin()
172 (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()
146 keymaster_operation_handle_t operation_handle_; variable