Lines Matching refs:ok
203 bool ok;
207 ok = verifier.VerifyInit(signature_algorithm,
211 EXPECT_TRUE(ok);
213 ok = verifier.VerifyFinal();
214 EXPECT_TRUE(ok);
218 ok = verifier.VerifyInit(signature_algorithm,
222 EXPECT_TRUE(ok);
226 ok = verifier.VerifyFinal();
227 EXPECT_TRUE(ok);
233 ok = verifier.VerifyInit(signature_algorithm,
237 EXPECT_TRUE(ok);
239 ok = verifier.VerifyFinal();
240 EXPECT_FALSE(ok);
246 ok = verifier.VerifyInit(signature_algorithm,
252 // and cause VerifyInit to return false, so it is fine for 'ok' to be false.
253 if (ok) {
255 ok = verifier.VerifyFinal();
256 EXPECT_FALSE(ok);
263 ok = verifier.VerifyInit(signature_algorithm,
267 EXPECT_FALSE(ok);
273 ok = verifier.VerifyInit(signature_algorithm,
277 EXPECT_FALSE(ok);
1107 bool ok;
1110 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1,
1116 ASSERT_TRUE(ok);
1118 ok = verifier.VerifyFinal();
1119 EXPECT_TRUE(ok);
1122 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1,
1128 ASSERT_TRUE(ok);
1132 ok = verifier.VerifyFinal();
1133 EXPECT_FALSE(ok);
1137 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1,
1143 ASSERT_TRUE(ok);
1145 ok = verifier.VerifyFinal();
1146 EXPECT_FALSE(ok);
1150 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1,
1157 ASSERT_TRUE(ok);
1159 ok = verifier.VerifyFinal();
1160 EXPECT_FALSE(ok);