Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp371 const AuthorizationSet& update_params, in ProcessMessage() argument
376 EXPECT_EQ(KM_ERROR_OK, FinishOperation(update_params, message, "" /* signature */, &result)); in ProcessMessage()
382 const AuthorizationSet& update_params, in ProcessMessage() argument
387 EXPECT_EQ(KM_ERROR_OK, FinishOperation(update_params, message, signature, &result)); in ProcessMessage()
405 AuthorizationSet update_params; in SignMessage() local
408 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in SignMessage()
418 AuthorizationSet update_params; in SignMessage() local
421 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in SignMessage()
429 AuthorizationSet update_params; in MacMessage() local
432 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in MacMessage()
[all …]
Dandroid_keymaster_test_utils.h231 const AuthorizationSet& update_params,
235 const AuthorizationSet& update_params,
257 std::string EncryptMessage(const AuthorizationSet& update_params, const std::string& message,
260 std::string EncryptMessage(const AuthorizationSet& update_params, const std::string& message,
265 const AuthorizationSet& update_params,
277 std::string DecryptMessage(const AuthorizationSet& update_params, const std::string& ciphertext,
280 std::string DecryptMessage(const AuthorizationSet& update_params, const std::string& ciphertext,
285 const AuthorizationSet& update_params,
Dandroid_keymaster_test.cpp2801 AuthorizationSet update_params; in TEST_P() local
2807 ProcessMessage(KM_PURPOSE_ENCRYPT, message, input_params, update_params, &output_params); in TEST_P()
2810 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P()
2819 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P()
2844 AuthorizationSet update_params; in TEST_P() local
2929 AuthorizationSet update_params; in TEST_P() local
2930 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2938 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
2950 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
2972 AuthorizationSet update_params; in TEST_P() local
[all …]
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp421 auto update_params = AuthorizationSetBuilder() in UnwrapKey() local
425 if (update_params.is_valid() != AuthorizationSet::Error::OK) { in UnwrapKey()
429 error = aes_operation->Update(update_params, encrypted_key, &update_outparams, &plaintext, in UnwrapKey()