Lines Matching defs:input_consumed
599 size_t input_consumed;
600 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
636 size_t input_consumed;
637 EXPECT_EQ(KM_ERROR_INVALID_INPUT_LENGTH, UpdateOperation(message, &result, &input_consumed));
758 size_t input_consumed;
759 EXPECT_EQ(KM_ERROR_INVALID_INPUT_LENGTH, UpdateOperation(message, &result, &input_consumed));
1207 size_t input_consumed;
1208 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
1209 EXPECT_EQ(message.size(), input_consumed);
1233 size_t input_consumed;
1234 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
1235 EXPECT_EQ(message.size(), input_consumed);
1272 size_t input_consumed;
1273 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
1274 EXPECT_EQ(message.size(), input_consumed);
1298 size_t input_consumed;
1299 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
1300 EXPECT_EQ(message.size(), input_consumed);
1441 size_t input_consumed;
1442 EXPECT_EQ(KM_ERROR_INVALID_INPUT_LENGTH, UpdateOperation(message, &output, &input_consumed));
1484 size_t input_consumed;
1485 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
1486 EXPECT_EQ(message.size(), input_consumed);
1548 size_t input_consumed;
1549 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
1914 size_t input_consumed;
1915 EXPECT_EQ(KM_ERROR_INVALID_INPUT_LENGTH, UpdateOperation(message, &result, &input_consumed));
1946 size_t input_consumed;
1947 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
1957 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
2046 size_t input_consumed;
2051 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(ciphertext, &result, &input_consumed));
2066 size_t input_consumed;
2072 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
2094 size_t input_consumed;
2099 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(ciphertext, &result, &input_consumed));
2143 size_t input_consumed;
2148 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &result, &input_consumed));
2184 size_t input_consumed;
2188 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(ciphertext, &result, &input_consumed));
2280 size_t input_consumed;
2281 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(message, &ciphertext, &input_consumed));
2282 EXPECT_EQ(message.size(), input_consumed);
2341 size_t input_consumed;
2342 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(ciphertext, &plaintext, &input_consumed));
2343 EXPECT_EQ(ciphertext.size(), input_consumed);
2390 size_t input_consumed;
2393 UpdateOperation(message.substr(i, increment), &ciphertext, &input_consumed));
2408 UpdateOperation(ciphertext.substr(i, increment), &plaintext, &input_consumed));
2608 size_t input_consumed;
2611 UpdateOperation(message.substr(i, increment), &ciphertext, &input_consumed));
2626 UpdateOperation(ciphertext.substr(i, increment), &plaintext, &input_consumed));
2673 size_t input_consumed;
2676 &input_consumed));
2677 EXPECT_EQ(message.size(), input_consumed);
2688 &plaintext, &input_consumed));
2689 EXPECT_EQ(ciphertext.size(), input_consumed);
2739 size_t input_consumed;
2742 &input_consumed));
2743 EXPECT_EQ(message.size(), input_consumed);
2780 size_t input_consumed;
2796 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(ciphertext_str, &plaintext, &input_consumed));
2812 EXPECT_EQ(KM_ERROR_OK, UpdateOperation(ciphertext_str, &plaintext, &input_consumed));
2838 size_t input_consumed;
2841 &ciphertext, &input_consumed));
2842 EXPECT_EQ(0U, input_consumed);
2853 &plaintext, &input_consumed));
2854 EXPECT_EQ(ciphertext.size(), input_consumed);
2879 size_t input_consumed;
2885 &input_consumed));
2886 EXPECT_EQ(0U, input_consumed);
2894 &input_consumed));
2895 EXPECT_EQ(1U, input_consumed);
2914 &input_consumed));
2915 EXPECT_EQ(0U, input_consumed);
2922 &update_out_params, &plaintext, &input_consumed));
2923 EXPECT_EQ(1U, input_consumed);
2951 size_t input_consumed;
2954 &ciphertext, &input_consumed));
2955 EXPECT_EQ(0U, input_consumed);
2959 &input_consumed));
2960 EXPECT_EQ(message.size(), input_consumed);
2974 &plaintext, &input_consumed));
2975 EXPECT_EQ(ciphertext.size(), input_consumed);
3005 size_t input_consumed;
3007 &input_consumed));
3008 EXPECT_EQ(message.size(), input_consumed);
3022 &plaintext, &input_consumed));
3023 EXPECT_EQ(ciphertext.size(), input_consumed);
3049 size_t input_consumed;
3051 &input_consumed));
3052 EXPECT_EQ(message.size(), input_consumed);
3061 &plaintext, &input_consumed));
3062 EXPECT_EQ(ciphertext.size(), input_consumed);
3091 size_t input_consumed;
3093 &input_consumed));
3094 EXPECT_EQ(message.size(), input_consumed);
3108 &plaintext, &input_consumed));
3109 EXPECT_EQ(ciphertext.size(), input_consumed);