Lines Matching refs:RSAVerifyBinary_f
142 TEST_EQ(RSAVerifyBinary_f(NULL, &key, buf, sizeof(buf), sig, 0),
143 1, "RSAVerifyBinary_f() success");
145 TEST_EQ(RSAVerifyBinary_f(keybuf, NULL, buf, sizeof(buf), sig, 0),
146 1, "RSAVerifyBinary_f() success with keyblob");
150 TEST_EQ(RSAVerifyBinary_f(NULL, &key, buf, sizeof(buf), sig, kNumAlgorithms),
151 0, "RSAVerifyBinary_f() invalid algorithm");
154 TEST_EQ(RSAVerifyBinary_f(NULL, NULL, buf, sizeof(buf), sig, kNumAlgorithms),
155 0, "RSAVerifyBinary_f() no key or key_blob");
158 TEST_EQ(RSAVerifyBinary_f(keybuf, NULL, buf, sizeof(buf), sig, 3),
159 0, "RSAVerifyBinary_f() wrong alg for key blob");
164 TEST_EQ(RSAVerifyBinary_f(NULL, &key, buf, sizeof(buf), sig, 0),
165 0, "RSAVerifyBinary_f() bad verify");