Home
last modified time | relevance | path

Searched refs:in_params (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp224 optional<OperationHandle> EncryptBegin(AuthorizationSet& in_params, in EncryptBegin() argument
226 return Begin(KeyPurpose::ENCRYPT, in_params, out_params); in EncryptBegin()
229 optional<OperationHandle> DecryptBegin(AuthorizationSet& in_params, in DecryptBegin() argument
231 return Begin(KeyPurpose::DECRYPT, in_params, out_params); in DecryptBegin()
234 optional<OperationHandle> SignBegin(AuthorizationSet& in_params, in SignBegin() argument
236 return Begin(KeyPurpose::SIGN, in_params, out_params); in SignBegin()
239 optional<OperationHandle> VerifyBegin(AuthorizationSet& in_params, in VerifyBegin() argument
241 return Begin(KeyPurpose::VERIFY, in_params, out_params); in VerifyBegin()
244 optional<OperationHandle> Begin(KeyPurpose operation, const AuthorizationSet& in_params, in Begin() argument
248 ->begin(operation, key_blob_, in_params.hidl_data(), HardwareAuthToken(), in Begin()
[all …]
/hardware/libhardware/include/hardware/
Dkeymaster2.h334 const keymaster_key_param_set_t* in_params,
378 const keymaster_key_param_set_t* in_params,
407 const keymaster_key_param_set_t* in_params,
/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.h133 ErrorCode Begin(KeyPurpose purpose, const HidlBuf& key_blob, const AuthorizationSet& in_params,
135 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params,
137 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params);
139 ErrorCode Update(OperationHandle op_handle, const AuthorizationSet& in_params,
144 ErrorCode Finish(OperationHandle op_handle, const AuthorizationSet& in_params,
161 const AuthorizationSet& in_params, AuthorizationSet* out_params);
185 const AuthorizationSet& in_params, AuthorizationSet* out_params);
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp227 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params, in Begin() argument
231 result = keymint_->begin(purpose, key_blob_, in_params.vector_data(), std::nullopt, &out); in Begin()
425 auto in_params = keymintTest->getOperationParams(transform, true); in sign() local
431 ErrorCode error = keymintTest->Begin(KeyPurpose::SIGN, in_params, &out_params); in sign()
454 auto in_params = keymintTest->getOperationParams(transform, true); in verify() local
456 ErrorCode error = keymintTest->Begin(KeyPurpose::SIGN, in_params, &out_params); in verify()
469 in_params = keymintTest->getOperationParams(transform, false); in verify()
473 error = keymintTest->Begin(KeyPurpose::VERIFY, in_params, &out_params); in verify()
544 auto in_params = keymintTest->getOperationParams(transform); in encrypt() local
550 auto error = keymintTest->Begin(KeyPurpose::ENCRYPT, in_params, &out_params); in encrypt()
[all …]
/hardware/interfaces/keymaster/4.1/vts/functional/
DKeymaster4_1HidlTest.cpp29 const string& message, const AuthorizationSet& in_params) in ProcessMessage() argument
32 V4_0::ErrorCode result = Begin(operation, key_blob, in_params, &begin_out_params, &op_handle_); in ProcessMessage()
DKeymaster4_1HidlTest.h108 const AuthorizationSet& in_params);
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.h136 const AuthorizationSet& in_params, AuthorizationSet* out_params,
139 const AuthorizationSet& in_params, AuthorizationSet* out_params);
140 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params,
142 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params);
158 const string& message, const AuthorizationSet& in_params,
162 const AuthorizationSet& in_params);
188 const AuthorizationSet& in_params, AuthorizationSet* out_params);
DKeyMintAidlTestBase.cpp450 const AuthorizationSet& in_params, in Begin() argument
456 result = keymint_->begin(purpose, key_blob, in_params.vector_data(), std::nullopt, &out); in Begin()
468 const AuthorizationSet& in_params, in Begin() argument
474 result = keymint_->begin(purpose, key_blob, in_params.vector_data(), std::nullopt, &out); in Begin()
485 ErrorCode KeyMintAidlTestBase::Begin(KeyPurpose purpose, const AuthorizationSet& in_params, in Begin() argument
489 return Begin(purpose, key_blob_, in_params, out_params); in Begin()
492 ErrorCode KeyMintAidlTestBase::Begin(KeyPurpose purpose, const AuthorizationSet& in_params) { in Begin() argument
495 ErrorCode result = Begin(purpose, in_params, &out_params); in Begin()
569 const string& message, const AuthorizationSet& in_params) in ProcessMessage() argument
572 ErrorCode result = Begin(operation, key_blob, in_params, &begin_out_params); in ProcessMessage()
[all …]
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp575 ErrorCode Begin(KeyPurpose purpose, const HidlBuf& key_blob, const AuthorizationSet& in_params, in Begin() argument
582 ->begin(purpose, key_blob, in_params.hidl_data(), in Begin()
597 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params, in Begin() argument
601 return Begin(purpose, key_blob_, in_params, out_params, &op_handle_); in Begin()
604 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params) { in Begin() argument
607 ErrorCode error = Begin(purpose, in_params, &out_params); in Begin()
612 ErrorCode Update(OperationHandle op_handle, const AuthorizationSet& in_params, in Update() argument
618 ->update(op_handle, in_params.hidl_data(), HidlBuf(input), in Update()
640 ErrorCode Finish(OperationHandle op_handle, const AuthorizationSet& in_params, in Finish() argument
647 ->finish(op_handle, in_params.hidl_data(), HidlBuf(input), HidlBuf(signature), in Finish()
[all …]