Lines Matching refs:sig
41 auto& sig = this->kSigGrp01Member0Sha512RandombaseTest0; in TEST_F() local
45 EpidVerify(nullptr, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
48 EpidVerify(verifier, nullptr, sig.size(), msg.data(), msg.size())); in TEST_F()
50 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
56 auto& sig = this->kSigGrp01Member0Sha512RandombaseTest0; in TEST_F() local
60 EpidVerify(verifier, (EpidSignature const*)sig.data(), 0, in TEST_F()
63 EpidVerify(verifier, (EpidSignature const*)sig.data(), in TEST_F()
72 auto sig = this->kSigGrp01Member0Sha512RandombaseTest0; in TEST_F() local
74 sig.resize(sizeof(EpidSignature) + in TEST_F()
79 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
87 auto sig = this->kSigGrp01Member0Sha512RandombaseTest0; in TEST_F() local
89 sig.resize(sizeof(EpidSignature) + n2 * sizeof(((EpidSignature*)0)->sigma)); in TEST_F()
93 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
102 auto sig = this->kSigGrp01Member0Sha512RandombaseTest0; in TEST_F() local
105 EpidSignature* sig_struct = (EpidSignature*)sig.data(); in TEST_F()
107 sig.resize(sizeof(EpidSignature) + (n2 - 1) * sizeof(NrProof)); in TEST_F()
111 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
133 EpidSignature sig = *( in TEST_F() local
135 sig.sigma0.B.x.data.data[31]++; in TEST_F()
137 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
146 EpidSignature sig = *( in TEST_F() local
148 sig.sigma0.B = this->kG1IdentityStr; in TEST_F()
151 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
159 auto& sig = this->kSigGrpXMember0Sha512Bsn0Msg0; in TEST_F() local
167 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
176 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
184 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
193 auto& sig = this->kSigGrpXMember0Sha512HugeBsnMsg0; in TEST_F() local
208 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
218 EpidSignature sig = *( in TEST_F() local
220 sig.sigma0.K.x.data.data[31]++; in TEST_F()
223 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
232 EpidSignature sig = *( in TEST_F() local
234 sig.sigma0.T.x.data.data[31]++; in TEST_F()
237 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
246 EpidSignature sig = *( in TEST_F() local
248 sig.sigma0.c.data = this->kParamsStr.p.data; in TEST_F()
251 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
260 EpidSignature sig = *( in TEST_F() local
262 sig.sigma0.sx.data = this->kParamsStr.p.data; in TEST_F()
265 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
274 EpidSignature sig = *( in TEST_F() local
276 sig.sigma0.sf.data = this->kParamsStr.p.data; in TEST_F()
279 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
288 EpidSignature sig = *( in TEST_F() local
290 sig.sigma0.sa.data = this->kParamsStr.p.data; in TEST_F()
293 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
302 EpidSignature sig = *( in TEST_F() local
304 sig.sigma0.sb.data = this->kParamsStr.p.data; in TEST_F()
307 EpidVerify(verifier, &sig, size, msg.data(), msg.size())); in TEST_F()
342 auto& sig = this->kSigGrp01Member0Sha512RandombaseTest0; in TEST_F() local
347 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
358 EpidSignature* sig = (EpidSignature*)sig_data.data(); in TEST_F() local
360 sig->sigma0.B.x.data.data[0] += 1; in TEST_F()
365 EpidVerify(verifier, sig, sig_data.size(), msg.data(), msg.size())); in TEST_F()
375 EpidSignature* sig = (EpidSignature*)sig_data.data(); in TEST_F() local
377 sig->sigma0.T.x.data.data[0] += 1; in TEST_F()
380 EpidVerify(verifier, sig, sig_data.size(), msg.data(), msg.size())); in TEST_F()
388 auto& sig = this->kSigGrp01Member0Sha256RandombaseTest0; in TEST_F() local
392 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
412 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
421 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
433 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
442 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
452 auto& sig = this->kRevGroupSigMember0Sha256Bsn0Msg0Ikgf; in TEST_F() local
461 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
473 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
482 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
494 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
503 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
530 auto& sig = this->kSigGrpXRevokedPrivKey000Sha256Bsn0Msg0; in TEST_F() local
539 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
554 auto& sig = this->kSigGrpXRevokedPrivKey000Sha256Bsn0Msg0; in TEST_F() local
563 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
578 auto& sig = this->kSigRevokedPrivKeySha256Bsn0Msg0Ikgf; in TEST_F() local
587 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
602 auto& sig = this->kSigGrpXRevokedPrivKey001Sha256Bsn0Msg0; in TEST_F() local
611 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
626 auto& sig = this->kSigGrpXRevokedPrivKey002Sha256Bsn0Msg0; in TEST_F() local
635 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
644 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
653 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
662 auto& sig = this->kSigMember0Sha256Bsn0Msg0NoSigRlIkgf; in TEST_F() local
670 EXPECT_EQ(kEpidNoErr, EpidVerify(verifier, (EpidSignature const*)sig.data(), in TEST_F()
671 sig.size(), msg.data(), msg.size())); in TEST_F()
695 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
702 EXPECT_EQ(kEpidErr, EpidVerify(verifier, (EpidSignature const*)sig.data(), in TEST_F()
703 sig.size(), msg.data(), msg.size())); in TEST_F()
717 EpidSignature* sig = (EpidSignature*)sig_raw.data(); in TEST_F() local
718 sig->rl_ver = sig_rl->version; in TEST_F()
725 EpidVerify(verifier, sig, sig_raw.size(), msg.data(), msg.size())); in TEST_F()
737 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0SingleEntrySigRl; in TEST_F() local
745 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
758 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
766 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
775 auto& sig = this->kSigRevSigMember0Sha256Bsn0Msg0Ikgf; in TEST_F() local
783 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
796 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
804 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
817 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
825 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
835 auto& sig = this->kSigMember0Sha256Bsn0Msg0Ikgf; in TEST_F() local
842 EXPECT_EQ(kEpidErr, EpidVerify(verifier, (EpidSignature const*)sig.data(), in TEST_F()
843 sig.size(), msg.data(), msg.size())); in TEST_F()
851 auto& sig = this->kSigMember0Sha256Bsn0Msg0EmptySigRlIkgf; in TEST_F() local
858 EXPECT_EQ(kEpidNoErr, EpidVerify(verifier, (EpidSignature const*)sig.data(), in TEST_F()
859 sig.size(), msg.data(), msg.size())); in TEST_F()
891 auto& sig = this->kSigGrpXVerRevokedMember0Sha256Bsn0Msg0; in TEST_F() local
906 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
921 auto& sig = this->kSigGrpXVerRevokedMember0Sha256Bsn0Msg0; in TEST_F() local
936 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
951 auto& sig = this->kSigGrpXVerRevokedMember1Sha256Bsn0Msg0; in TEST_F() local
966 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
981 auto& sig = this->kSigGrpXVerRevokedMember2Sha256Bsn0Msg0; in TEST_F() local
996 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1011 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
1019 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1031 auto& sig = this->kSigGrpXMember0Sha256Bsn0Msg0; in TEST_F() local
1046 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1052 auto& sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
1058 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1068 auto& sig = this->kSigGrpXMember0Sha256RandbaseMsg0; in TEST_F() local
1080 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1091 auto& sig = this->kSigMember0Sha256RandbaseMsg0Ikgf; in TEST_F() local
1103 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1115 auto& sig = this->kSigGrpXMember0Sha384Bsn0Msg0; in TEST_F() local
1130 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1140 auto& sig = this->kSigGrpXMember0Sha384RandbaseMsg0; in TEST_F() local
1152 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1164 auto& sig = this->kSigGrpXMember0Sha512Bsn0Msg0; in TEST_F() local
1179 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1186 auto& sig = this->kSigGrpXMember0Sha512HugeBsnMsg0; in TEST_F() local
1198 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1208 auto& sig = this->kSigGrpXMember0Sha512RandbaseMsg0; in TEST_F() local
1220 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1232 auto& sig = this->kSigGrpXMember0Sha512256Bsn0Msg0; in TEST_F() local
1247 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1257 auto& sig = this->kSigGrpXMember0Sha512256RandbaseMsg0; in TEST_F() local
1269 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()
1300 auto& sig = this->kSigGrp01Member0Sha512kBsn0Data_0_255; in TEST_F() local
1313 EpidVerify(verifier, (EpidSignature const*)sig.data(), sig.size(), in TEST_F()