Home
last modified time | relevance | path

Searched refs:update_params (Results 1 – 8 of 8) sorted by relevance

/aosp12/system/keymaster/tests/
H A Dandroid_keymaster_test_utils.cpp404 AuthorizationSet update_params; in SignMessage() local
417 AuthorizationSet update_params; in SignMessage() local
428 AuthorizationSet update_params; in MacMessage() local
440 AuthorizationSet update_params; in VerifyMessage() local
452 AuthorizationSet update_params; in VerifyMessage() local
468 AuthorizationSet update_params; in EncryptMessage() local
483 AuthorizationSet update_params; in EncryptMessage() local
490 AuthorizationSet update_params; in EncryptMessage() local
496 AuthorizationSet update_params; in EncryptMessage() local
570 AuthorizationSet update_params; in DecryptMessage() local
[all …]
H A Dandroid_keymaster_test_utils.h226 const AuthorizationSet& update_params,
230 const AuthorizationSet& update_params,
255 std::string EncryptMessage(const AuthorizationSet& update_params, const std::string& message,
258 std::string EncryptMessage(const AuthorizationSet& update_params, const std::string& message,
261 std::string EncryptMessage(const AuthorizationSet& update_params, const std::string& message,
266 const AuthorizationSet& update_params,
280 std::string DecryptMessage(const AuthorizationSet& update_params, const std::string& ciphertext,
283 std::string DecryptMessage(const AuthorizationSet& update_params, const std::string& ciphertext,
288 const AuthorizationSet& update_params,
H A Dandroid_keymaster_test.cpp2541 AuthorizationSet update_params; in TEST_P() local
2582 AuthorizationSet update_params; in TEST_P() local
2661 AuthorizationSet update_params; in TEST_P() local
2703 AuthorizationSet update_params; in TEST_P() local
2724 AuthorizationSet update_params; in TEST_P() local
2819 AuthorizationSet update_params; in TEST_P() local
2859 AuthorizationSet update_params; in TEST_P() local
2929 AuthorizationSet update_params; in TEST_P() local
2953 update_params.Clear(); in TEST_P()
2978 AuthorizationSet update_params; in TEST_P() local
[all …]
/aosp12/hardware/interfaces/keymaster/4.1/vts/functional/
H A DKeymaster4_1HidlTest.cpp40 AuthorizationSet update_params; in ProcessMessage() local
42 result = Update(op_handle_, update_params, message, &update_out_params, &output, &consumed); in ProcessMessage()
/aosp12/system/keymaster/contexts/
H A Dpure_soft_keymaster_context.cpp522 auto update_params = AuthorizationSetBuilder() in UnwrapKey() local
526 if (update_params.is_valid() != AuthorizationSet::Error::OK) { in UnwrapKey()
527 return TranslateAuthorizationSetError(update_params.is_valid()); in UnwrapKey()
530 error = aes_operation->Update(update_params, encrypted_key, &update_outparams, &plaintext, in UnwrapKey()
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/
H A DKeymasterHidlTest.cpp408 AuthorizationSet update_params; in ProcessMessage() local
411 Update(op_handle_, update_params, message, &update_out_params, &output, &consumed)); in ProcessMessage()
510 AuthorizationSet update_params; in VerifyMessage() local
514 Update(op_handle_, update_params, message, &update_out_params, &output, &consumed)); in VerifyMessage()
H A Dkeymaster_hidl_hal_test.cpp3260 auto update_params = in TEST_P() local
3270 Finish(op_handle_, update_params, message, "", &update_out_params, &ciphertext)); in TEST_P()
3281 ASSERT_EQ(ErrorCode::OK, Update(op_handle_, update_params, ciphertext, &update_out_params, in TEST_P()
3311 auto update_params = in TEST_P() local
3334 ASSERT_EQ(ErrorCode::OK, Update(op_handle_, update_params, ciphertext, &update_out_params, in TEST_P()
3557 auto update_params = in TEST_P() local
3573 EXPECT_EQ(ErrorCode::OK, Update(op_handle_, update_params, message, &update_out_params, in TEST_P()
3586 update_params = in TEST_P()
3591 EXPECT_EQ(ErrorCode::OK, Finish(op_handle_, update_params, ciphertext, "" /* signature */, in TEST_P()
3617 auto update_params = in TEST_P() local
[all …]
/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dkeymaster_hidl_hal_test.cpp3394 auto update_params = in TEST_P() local
3404 Finish(op_handle_, update_params, message, "", &update_out_params, &ciphertext)); in TEST_P()
3413 ASSERT_EQ(ErrorCode::OK, Update(op_handle_, update_params, ciphertext, &update_out_params, in TEST_P()
3603 auto update_params = in TEST_P() local
3612 EXPECT_EQ(ErrorCode::OK, Update(op_handle_, update_params, "" /* input */, &update_out_params, in TEST_P()
3619 EXPECT_EQ(ErrorCode::OK, Update(op_handle_, update_params, message, &update_out_params, in TEST_P()
3631 update_params = in TEST_P()
3636 EXPECT_EQ(ErrorCode::OK, Finish(op_handle_, update_params, ciphertext, "" /* signature */, in TEST_P()
3662 auto update_params = in TEST_P() local
3678 EXPECT_EQ(ErrorCode::OK, Update(op_handle_, update_params, message, &update_out_params, in TEST_P()
[all …]