Lines Matching refs:sig
38 auto sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
42 Epid11Verify(nullptr, (Epid11Signature const*)sig.data(), in TEST_F()
43 sig.size(), msg.data(), msg.size())); in TEST_F()
44 EXPECT_EQ(kEpidBadArgErr, Epid11Verify(verifier, nullptr, sig.size(), in TEST_F()
47 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
48 sig.size(), nullptr, msg.size())); in TEST_F()
53 auto sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
57 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), 0, in TEST_F()
60 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
69 auto sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
71 sig.resize(sizeof(Epid11Signature) + in TEST_F()
76 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
77 sig.size(), msg.data(), msg.size())); in TEST_F()
84 auto sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
86 sig.resize(sizeof(Epid11Signature) + in TEST_F()
91 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
92 sig.size(), msg.data(), msg.size())); in TEST_F()
100 auto sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
103 Epid11Signature* sig_struct = (Epid11Signature*)sig.data(); in TEST_F()
105 sig.resize(sizeof(Epid11Signature) + (n2 - 1) * sizeof(Epid11NrProof)); in TEST_F()
109 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
110 sig.size(), msg.data(), msg.size())); in TEST_F()
156 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
163 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
164 sig.size(), msg.data(), msg.size())); in TEST_F()
172 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
179 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
180 sig.size(), msg.data(), msg.size())); in TEST_F()
188 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
195 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
196 sig.size(), msg.data(), msg.size())); in TEST_F()
204 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
211 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
212 sig.size(), msg.data(), msg.size())); in TEST_F()
231 auto sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
237 EXPECT_EQ(kEpidErr, Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
238 sig.size(), msg.data(), msg.size())); in TEST_F()
251 Epid11Signature* sig = (Epid11Signature*)sig_raw.data(); in TEST_F() local
252 sig->rl_ver = sig_rl->version; in TEST_F()
255 EXPECT_EQ(kEpidBadArgErr, Epid11Verify(verifier, sig, sig_raw.size(), in TEST_F()
263 auto sig = this->kSigGrpXMember0Sha256Bsn0Msg0ThreeEntry; in TEST_F() local
266 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
267 sig.size(), msg.data(), msg.size())); in TEST_F()
276 Epid11Signature sig = {0}; in TEST_F() local
277 sig.sigma0 = in TEST_F()
282 memset(&sig.sigma0.B, 0, sizeof(sig.sigma0.B)); in TEST_F()
287 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
296 Epid11Signature sig = {0}; in TEST_F() local
297 sig.sigma0 = in TEST_F()
301 sig.sigma0.B.x.data.data[0] = 0xEE; in TEST_F()
305 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
314 Epid11Signature sig = {0}; in TEST_F() local
315 sig.sigma0 = in TEST_F()
325 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
334 Epid11Signature sig = {0}; in TEST_F() local
335 sig.sigma0 = in TEST_F()
339 sig.sigma0.K.x.data.data[0] = 0xEE; in TEST_F()
343 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
352 Epid11Signature sig = {0}; in TEST_F() local
353 sig.sigma0 = in TEST_F()
357 sig.sigma0.T1.x.data.data[0] = 0xEE; in TEST_F()
361 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
370 Epid11Signature sig = {0}; in TEST_F() local
371 sig.sigma0 = in TEST_F()
375 sig.sigma0.T2.x.data.data[0] = 0xEE; in TEST_F()
379 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
389 Epid11Signature sig = {0}; in TEST_F() local
390 sig.sigma0 = in TEST_F()
394 sig.sigma0.sx.data.data[0] = 0xEE; in TEST_F()
398 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
403 Epid11Signature sig = {0}; in TEST_F() local
404 sig.sigma0 = in TEST_F()
408 sig.sigma0.sy.data.data[0] = 0xEE; in TEST_F()
412 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
417 Epid11Signature sig = {0}; in TEST_F() local
418 sig.sigma0 = in TEST_F()
422 sig.sigma0.sa.data.data[0] = 0xEE; in TEST_F()
426 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
431 Epid11Signature sig = {0}; in TEST_F() local
432 sig.sigma0 = in TEST_F()
436 sig.sigma0.sb.data.data[0] = 0xEE; in TEST_F()
440 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
445 Epid11Signature sig = {0}; in TEST_F() local
446 sig.sigma0 = in TEST_F()
450 sig.sigma0.salpha.data.data[0] = 0xEE; in TEST_F()
454 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
459 Epid11Signature sig = {0}; in TEST_F() local
460 sig.sigma0 = in TEST_F()
464 sig.sigma0.sbeta.data.data[0] = 0xEE; in TEST_F()
468 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
478 Epid11Signature sig = {0}; in TEST_F() local
479 sig.sigma0 = in TEST_F()
483 memset(&sig.sigma0.sf, 0, sizeof(sig.sigma0.sf)); in TEST_F()
484 sig.sigma0.sf.data[593 / CHAR_BIT] = 1 << ((593 % CHAR_BIT) - 1); in TEST_F()
488 Epid11Verify(verifier, &sig, sig_len, msg.data(), msg.size())); in TEST_F()
522 auto& sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
529 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), sig_len, in TEST_F()
544 auto& sig = this->kSigGrpXRevokedPrivKey000Sha256Bsn0Msg0; in TEST_F() local
550 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
551 sig.size(), msg.data(), msg.size())); in TEST_F()
559 auto& sig = this->kSigGrpXRevokedPrivKey000Sha256Bsn0Msg0; in TEST_F() local
565 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
566 sig.size(), msg.data(), msg.size())); in TEST_F()
574 auto& sig = this->kSigGrpXRevokedPrivKey001Sha256Bsn0Msg0; in TEST_F() local
580 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
581 sig.size(), msg.data(), msg.size())); in TEST_F()
589 auto& sig = this->kSigGrpXRevokedPrivKey002Sha256Bsn0Msg0; in TEST_F() local
595 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
596 sig.size(), msg.data(), msg.size())); in TEST_F()
604 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
610 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
611 sig.size(), msg.data(), msg.size())); in TEST_F()
625 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0SingleEntry; in TEST_F() local
631 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
632 sig.size(), msg.data(), msg.size())); in TEST_F()
639 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0ThreeEntry; in TEST_F() local
645 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
646 sig.size(), msg.data(), msg.size())); in TEST_F()
653 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0ThreeEntry; in TEST_F() local
659 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
660 sig.size(), msg.data(), msg.size())); in TEST_F()
667 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0ThreeEntry; in TEST_F() local
673 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
674 sig.size(), msg.data(), msg.size())); in TEST_F()
686 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
693 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
694 sig.size(), msg.data(), msg.size())); in TEST_F()
704 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
716 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
717 sig.size(), msg.data(), msg.size())); in TEST_F()
722 auto& sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
727 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
728 sig.size(), msg.data(), msg.size())); in TEST_F()
737 auto& sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
747 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
748 sig.size(), msg.data(), msg.size())); in TEST_F()
756 auto& sig = this->kSigGrp01Member0Sha256kBsn0Data_0_255; in TEST_F() local
768 Epid11Verify(verifier, (Epid11Signature const*)sig.data(), in TEST_F()
769 sig.size(), msg.data(), msg.size())); in TEST_F()