Lines Matching refs:sig_len

115   size_t sig_len = sig_data.size() * sizeof(uint8_t);  in TEST_F()  local
117 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
235 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
237 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
240 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
252 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
255 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
259 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
271 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
273 bsn.size(), sig, sig_len)); in TEST_F()
278 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
293 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
296 bsn.size(), sig, sig_len)); in TEST_F()
301 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
313 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
315 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
318 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
332 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
335 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
339 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
349 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
351 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
354 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
367 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
370 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
374 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
390 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
392 bsn.size(), sig, sig_len)); in TEST_F()
397 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
414 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
417 bsn.size(), sig, sig_len)); in TEST_F()
431 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
434 bsn.size(), sig, sig_len)); in TEST_F()
438 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
451 size_t sig_len = EpidGetSigSize(nullptr); in TEST_F() local
452 std::vector<uint8_t> newsig(sig_len); in TEST_F()
456 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
460 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
470 size_t sig_len = EpidGetSigSize(nullptr); in TEST_F() local
471 std::vector<uint8_t> newsig(sig_len); in TEST_F()
477 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
481 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
504 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
507 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
511 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
532 size_t sig_len = sig_data_ikgf.size() * sizeof(uint8_t); in TEST_F() local
535 0, sig_ikgf, sig_len)); in TEST_F()
539 EpidVerify(ctx_ikgf, sig_ikgf, sig_len, msg.data(), msg.size())); in TEST_F()
583 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
586 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
590 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
640 size_t sig_len = sig_data_ikgf.size() * sizeof(uint8_t); in TEST_F() local
643 0, sig_ikgf, sig_len)); in TEST_F()
647 EpidVerify(ctx_ikgf, sig_ikgf, sig_len, msg.data(), msg.size())); in TEST_F()
666 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
669 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
675 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
697 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
700 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
706 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
740 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
743 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
749 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
762 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
764 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
769 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
779 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
781 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
786 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
796 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
798 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
803 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
814 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
816 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
821 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
837 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
839 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
844 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
857 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
860 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
865 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
878 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
881 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
886 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
900 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
902 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
917 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
920 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
932 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
934 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
938 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
952 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
955 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
960 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
970 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
973 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
977 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
990 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
994 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
999 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
1013 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1016 sig, sig_len)); in TEST_F()
1019 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), 0)); in TEST_F()
1032 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1035 EpidSign(member, msg.data(), 0, nullptr, 0, sig, sig_len)); in TEST_F()
1039 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), 0)); in TEST_F()
1050 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1061 EpidSign(member, msg.data(), length, nullptr, 0, sig, sig_len)) in TEST_F()
1063 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), length)) in TEST_F()
1079 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1093 EpidSign(member, msg.data(), length, nullptr, 0, sig, sig_len)) in TEST_F()
1095 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), length)) in TEST_F()
1106 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1113 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)) in TEST_F()
1116 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())) in TEST_F()
1129 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1138 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)) in TEST_F()
1141 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())) in TEST_F()
1151 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1155 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
1157 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()