Lines Matching refs:update_params
2801 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
2973 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2995 AuthorizationSet update_params; in TEST_P() local
2996 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3004 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3094 AuthorizationSet update_params; in TEST_P() local
3095 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3103 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, empty_message, &update_out_params, in TEST_P()
3115 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3135 AuthorizationSet update_params; in TEST_P() local
3136 update_params.push_back(TAG_ASSOCIATED_DATA, "b", 1); in TEST_P()
3147 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, "", &update_out_params, &ciphertext, in TEST_P()
3176 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, "", &update_out_params, &plaintext, in TEST_P()
3207 AuthorizationSet update_params; in TEST_P() local
3208 update_params.push_back(TAG_ASSOCIATED_DATA, "foo", 3); in TEST_P()
3216 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, "" /* message */, &update_out_params, in TEST_P()
3221 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3231 update_params.Clear(); in TEST_P()
3232 update_params.push_back(TAG_ASSOCIATED_DATA, "foofoo", 6); in TEST_P()
3236 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3257 AuthorizationSet update_params; in TEST_P() local
3258 update_params.push_back(TAG_ASSOCIATED_DATA, "foobar", 6); in TEST_P()
3269 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3278 update_params.Clear(); in TEST_P()
3279 update_params.push_back(TAG_ASSOCIATED_DATA, "barfoo" /* Wrong AAD */, 6); in TEST_P()
3284 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3304 AuthorizationSet update_params; in TEST_P() local
3305 update_params.push_back(TAG_ASSOCIATED_DATA, "foobar", 6); in TEST_P()
3313 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3323 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3347 AuthorizationSet update_params; in TEST_P() local
3348 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3355 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3370 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3693 AuthorizationSet update_params; in TEST_P() local
3699 ProcessMessage(KM_PURPOSE_ENCRYPT, message, input_params, update_params, &output_params); in TEST_P()
3702 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P()
3711 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P()
3734 AuthorizationSet update_params; in TEST_P() local