Lines Matching refs:sig_len

145   size_t sig_len = sig_data.size() * sizeof(uint8_t);  in TEST_F()  local
147 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
264 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
266 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
269 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
281 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
284 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
288 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
300 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
302 bsn.size(), sig, sig_len)); in TEST_F()
307 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
322 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
325 bsn.size(), sig, sig_len)); in TEST_F()
330 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
342 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
344 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
347 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
361 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
364 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
368 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
378 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
380 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
383 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
396 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
399 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
403 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
419 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
421 bsn.size(), sig, sig_len)); in TEST_F()
426 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
443 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
446 bsn.size(), sig, sig_len)); in TEST_F()
460 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
463 bsn.size(), sig, sig_len)); in TEST_F()
467 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
480 size_t sig_len = EpidGetSigSize(nullptr); in TEST_F() local
481 std::vector<uint8_t> newsig(sig_len); in TEST_F()
485 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
489 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
499 size_t sig_len = EpidGetSigSize(nullptr); in TEST_F() local
500 std::vector<uint8_t> newsig(sig_len); in TEST_F()
506 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
510 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
533 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
536 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
540 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
561 size_t sig_len = sig_data_ikgf.size() * sizeof(uint8_t); in TEST_F() local
564 0, sig_ikgf, sig_len)); in TEST_F()
568 EpidVerify(ctx_ikgf, sig_ikgf, sig_len, msg.data(), msg.size())); in TEST_F()
612 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
615 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
619 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
669 size_t sig_len = sig_data_ikgf.size() * sizeof(uint8_t); in TEST_F() local
672 0, sig_ikgf, sig_len)); in TEST_F()
676 EpidVerify(ctx_ikgf, sig_ikgf, sig_len, msg.data(), msg.size())); in TEST_F()
695 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
698 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
704 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
726 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
729 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
735 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
748 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
750 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
755 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
765 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
767 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
772 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
782 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
784 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
789 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
800 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
802 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
807 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
821 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
823 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
838 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
841 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
853 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
855 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
859 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
874 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
877 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
882 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
892 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
895 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
899 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
912 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
916 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
921 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()
935 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
938 sig, sig_len)); in TEST_F()
941 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), 0)); in TEST_F()
954 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
957 EpidSign(member, msg.data(), 0, nullptr, 0, sig, sig_len)); in TEST_F()
961 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), 0)); in TEST_F()
972 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
983 EpidSign(member, msg.data(), length, nullptr, 0, sig, sig_len)) in TEST_F()
985 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), length)) in TEST_F()
1001 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1015 EpidSign(member, msg.data(), length, nullptr, 0, sig, sig_len)) in TEST_F()
1017 EXPECT_EQ(kEpidSigValid, EpidVerify(ctx, sig, sig_len, msg.data(), length)) in TEST_F()
1028 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1035 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)) in TEST_F()
1038 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())) in TEST_F()
1051 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1060 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)) in TEST_F()
1063 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())) in TEST_F()
1073 size_t sig_len = sig_data.size() * sizeof(uint8_t); in TEST_F() local
1077 EpidSign(member, msg.data(), msg.size(), nullptr, 0, sig, sig_len)); in TEST_F()
1079 EpidVerify(ctx, sig, sig_len, msg.data(), msg.size())); in TEST_F()