Lines Matching refs:update_params
2598 AuthorizationSet update_params; in TEST_P() local
2604 ProcessMessage(KM_PURPOSE_ENCRYPT, message, input_params, update_params, &output_params); in TEST_P()
2607 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P()
2616 plaintext = ProcessMessage(KM_PURPOSE_DECRYPT, ciphertext2, input_params, update_params, in TEST_P()
2641 AuthorizationSet update_params; in TEST_P() local
2726 AuthorizationSet update_params; in TEST_P() local
2727 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2735 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
2747 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
2769 AuthorizationSet update_params; in TEST_P() local
2770 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2792 AuthorizationSet update_params; in TEST_P() local
2793 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2801 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
2891 AuthorizationSet update_params; in TEST_P() local
2892 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
2900 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, empty_message, &update_out_params, in TEST_P()
2912 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
2932 AuthorizationSet update_params; in TEST_P() local
2933 update_params.push_back(TAG_ASSOCIATED_DATA, "b", 1); in TEST_P()
2944 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, "", &update_out_params, &ciphertext, in TEST_P()
2973 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, "", &update_out_params, &plaintext, in TEST_P()
3004 AuthorizationSet update_params; in TEST_P() local
3005 update_params.push_back(TAG_ASSOCIATED_DATA, "foo", 3); in TEST_P()
3013 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, "" /* message */, &update_out_params, in TEST_P()
3018 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3028 update_params.Clear(); in TEST_P()
3029 update_params.push_back(TAG_ASSOCIATED_DATA, "foofoo", 6); in TEST_P()
3033 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3054 AuthorizationSet update_params; in TEST_P() local
3055 update_params.push_back(TAG_ASSOCIATED_DATA, "foobar", 6); in TEST_P()
3066 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3075 update_params.Clear(); in TEST_P()
3076 update_params.push_back(TAG_ASSOCIATED_DATA, "barfoo" /* Wrong AAD */, 6); in TEST_P()
3081 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3101 AuthorizationSet update_params; in TEST_P() local
3102 update_params.push_back(TAG_ASSOCIATED_DATA, "foobar", 6); in TEST_P()
3110 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3120 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()
3144 AuthorizationSet update_params; in TEST_P() local
3145 update_params.push_back(TAG_ASSOCIATED_DATA, aad.data(), aad.size()); in TEST_P()
3152 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, message, &update_out_params, &ciphertext, in TEST_P()
3167 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(update_params, ciphertext, &update_out_params, in TEST_P()