Home
last modified time | relevance | path

Searched refs:operationHandle (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
DKeymaster4.h62 Return<void> verifyAuthorization(uint64_t operationHandle, const hidl_vec<KeyParameter>& params, in verifyAuthorization() argument
65 return km4_0_dev_->verifyAuthorization(operationHandle, params, authToken, _hidl_cb); in verifyAuthorization()
133 Return<void> update(uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams, in update() argument
136 return km4_0_dev_->update(operationHandle, inParams, input, authToken, verificationToken, in update()
140 Return<void> finish(uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams, in finish() argument
144 return km4_0_dev_->finish(operationHandle, inParams, input, signature, authToken, in finish()
148 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override { in abort() argument
149 return km4_0_dev_->abort(operationHandle); in abort()
DKeymaster3.h104 Return<void> update(uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams,
107 Return<void> finish(uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams,
111 Return<V4_0::ErrorCode> abort(uint64_t operationHandle) override;
/hardware/interfaces/keymaster/4.1/support/
DKeymaster3.cpp239 OperationHandle operationHandle) { in begin() argument
240 _hidl_cb(convert(error), convert(outParams), operationHandle); in begin()
249 Return<void> Keymaster3::update(uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams, in update() argument
258 auto rc = km3_dev_->update(operationHandle, convertAndAddAuthToken(inParams, authToken), input, in update()
264 Return<void> Keymaster3::finish(uint64_t operationHandle, const hidl_vec<KeyParameter>& inParams, in finish() argument
274 auto rc = km3_dev_->finish(operationHandle, convertAndAddAuthToken(inParams, authToken), input, in finish()
280 Return<V4_0::ErrorCode> Keymaster3::abort(uint64_t operationHandle) { in abort() argument
281 auto rc = km3_dev_->abort(operationHandle); in abort()
/hardware/interfaces/keymaster/3.0/
DIKeymasterDevice.hal271 * @return operationHandle The newly-created operation handle which must be passed to update(),
275 generates(ErrorCode error, vec<KeyParameter> outParams, OperationHandle operationHandle);
281 * If operationHandle is invalid, update() will return ErrorCode::INVALID_OPERATION_HANDLE.
287 * @param operationHandle The operation handle returned by begin().
309 update(OperationHandle operationHandle, vec<KeyParameter> inParams, vec<uint8_t> input)
314 * Finalizes a cryptographic operation begun with begin() and invalidates operationHandle.
316 * @param operationHandle The operation handle returned by begin(). This handle will be
335 finish(OperationHandle operationHandle, vec<KeyParameter> inParams, vec<uint8_t> input,
341 * invalidating operationHandle.
343 * @param operationHandle The operation handle returned by begin(). This handle will be
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp33 VerifyAuthorizationResult verifyAuthorization(uint64_t operationHandle, in verifyAuthorization() argument
39 .verifyAuthorization(operationHandle, paramsToVerify.hidl_data(), authToken, in verifyAuthorization()
/hardware/interfaces/keymaster/4.0/
DIKeymasterDevice.hal349 * @param operationHandle the operation handle returned by StrongBox Keymaster's begin().
363 verifyAuthorization(uint64_t operationHandle, vec<KeyParameter> parametersToVerify,
1074 * @return operationHandle The newly-created operation handle which must be passed to update(),
1079 generates (ErrorCode error, vec<KeyParameter> outParams, OperationHandle operationHandle);
1083 * with begin(). The operation is specified by the operationHandle parameter.
1085 * If operationHandle is invalid, update() must return ErrorCode::INVALID_OPERATION_HANDLE.
1123 * o The challenge field in the auth token must contain the operationHandle
1165 * @param operationHandle The operation handle returned by begin().
1194 update(OperationHandle operationHandle, vec<KeyParameter> inParams, vec<uint8_t> input,
1200 * Finalizes a cryptographic operation begun with begin() and invalidates operationHandle.
[all …]