Searched refs:update_params (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 370 const AuthorizationSet& update_params, in ProcessMessage() argument 375 EXPECT_EQ(KM_ERROR_OK, FinishOperation(update_params, message, "" /* signature */, &result)); in ProcessMessage() 381 const AuthorizationSet& update_params, in ProcessMessage() argument 386 EXPECT_EQ(KM_ERROR_OK, FinishOperation(update_params, message, signature, &result)); in ProcessMessage() 404 AuthorizationSet update_params; in SignMessage() local 407 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in SignMessage() 417 AuthorizationSet update_params; in SignMessage() local 420 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in SignMessage() 428 AuthorizationSet update_params; in MacMessage() local 431 ProcessMessage(KM_PURPOSE_SIGN, message, input_params, update_params, &output_params); in MacMessage() [all …]
|
D | android_keymaster_test_utils.h | 226 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,
|
D | android_keymaster_test.cpp | 2541 AuthorizationSet update_params; in TEST_P() local 2547 ProcessMessage(KM_PURPOSE_ENCRYPT, message, input_params, update_params, &output_params); in TEST_P() 2550 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P() 2559 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P() 2582 AuthorizationSet update_params; in TEST_P() local 2661 AuthorizationSet update_params; in TEST_P() local 2662 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P() 2670 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P() 2682 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P() 2703 AuthorizationSet update_params; in TEST_P() local [all …]
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 522 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()
|