Home | History | Annotate | Download | only in evp

Lines Matching defs:output

175   std::vector<uint8_t> output = input;
176 if (t->HasAttribute("Output") &&
177 !t->GetBytes(&output, "Output")) {
180 EXPECT_EQ(Bytes(output), Bytes(der, der_len)) << "Re-encoding the key did not match.";
288 // For verify tests, the "output" is the signature. Read it now so that, for
291 std::vector<uint8_t> input, actual, output;
293 (is_verify && !t->GetBytes(&output, "Output"))) {
306 return !!EVP_DigestVerify(ctx.get(), output.data(), output.size(),
317 !t->GetBytes(&output, "Output")) {
321 EXPECT_EQ(Bytes(output), Bytes(actual));
335 return !!EVP_PKEY_verify(ctx.get(), output.data(), output.size(),
361 output.resize(plaintext_len);
362 if (!EVP_PKEY_decrypt(ctx.get(), output.data(), &plaintext_len,
367 output.resize(plaintext_len);
368 EXPECT_EQ(Bytes(input), Bytes(output)) << "Decrypted result mismatch.";
394 // By default, check by comparing the result against Output.
395 if (!t->GetBytes(&output, "Output")) {
399 EXPECT_EQ(Bytes(output), Bytes(actual));