Home
last modified time | relevance | path

Searched refs:kMsg0 (Results 1 – 23 of 23) sorted by relevance

/external/epid-sdk/epid/common/math/unittests/
Decdsa_verify-test.cc65 static const std::vector<uint8_t> kMsg0; member in __anon74cfd7ea0111::EcdsaVerifyBufferTest
114 const std::vector<uint8_t> EcdsaVerifyBufferTest::kMsg0 = {'m', 's', 'g', '0'}; member in __anon74cfd7ea0111::EcdsaVerifyBufferTest
189 EcdsaVerifyBuffer(kMsg0.data(), kMsg0.size(), &kPubkey0, nullptr)); in TEST_F()
190 EXPECT_EQ(kEpidBadArgErr, EcdsaVerifyBuffer(kMsg0.data(), kMsg0.size(), in TEST_F()
201 EcdsaVerifyBuffer(kMsg0.data(), 0, &kPubkey0, &kSig_emptymsg_key0)); in TEST_F()
203 EcdsaVerifyBuffer(kMsg0.data(), 0, &kPubkey1, &kSig_emptymsg_key1)); in TEST_F()
212 EXPECT_EQ(kEpidSigValid, EcdsaVerifyBuffer(kMsg0.data(), kMsg0.size(), in TEST_F()
214 EXPECT_EQ(kEpidSigValid, EcdsaVerifyBuffer(kMsg0.data(), kMsg0.size(), in TEST_F()
232 EXPECT_EQ(kEpidSigInvalid, EcdsaVerifyBuffer(kMsg0.data(), kMsg0.size(), in TEST_F()
234 EXPECT_EQ(kEpidSigInvalid, EcdsaVerifyBuffer(kMsg0.data(), kMsg0.size(), in TEST_F()
[all …]
Decdsa_sign-test.cc69 static const std::vector<uint8_t> kMsg0; member in __anon99b346460111::EcdsaSignBufferTest
102 const std::vector<uint8_t> EcdsaSignBufferTest::kMsg0 = {'a', 'b', 'c'}; member in __anon99b346460111::EcdsaSignBufferTest
187 EcdsaSignBuffer(this->kMsg0.data(), this->kMsg0.size(), &this->kPrivkey0, in TEST_F()
196 EcdsaSignBuffer(this->kMsg0.data(), this->kMsg0.size(), in TEST_F()
/external/epid-sdk/epid/verifier/1.1/unittests/
Dnrverify-test.cc48 Epid11NrVerify(nullptr, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
49 this->kMsg0.size(), &sig_rl->bk[0], in TEST_F()
54 Epid11NrVerify(verifier, nullptr, this->kMsg0.data(), this->kMsg0.size(), in TEST_F()
59 this->kMsg0.size(), &sig_rl->bk[0], in TEST_F()
64 Epid11NrVerify(verifier, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
65 this->kMsg0.size(), nullptr, &epid_signature->sigma[0])); in TEST_F()
69 Epid11NrVerify(verifier, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
70 this->kMsg0.size(), &sig_rl->bk[0], nullptr)); in TEST_F()
87 this->kMsg0.data(), 0xffffffff, in TEST_F()
91 this->kMsg0.data(), 0x100000001, in TEST_F()
[all …]
Dverify-test.cc39 auto msg = this->kMsg0; in TEST_F()
54 auto msg = this->kMsg0; in TEST_F()
73 auto msg = this->kMsg0; in TEST_F()
88 auto msg = this->kMsg0; in TEST_F()
106 auto msg = this->kMsg0; in TEST_F()
153 auto& msg = this->kMsg0; in TEST_F()
169 auto& msg = this->kMsg0; in TEST_F()
185 auto& msg = this->kMsg0; in TEST_F()
201 auto& msg = this->kMsg0; in TEST_F()
227 auto msg = this->kMsg0; in TEST_F()
[all …]
Dverifybasic-test.cc40 auto& msg = this->kMsg0; in TEST_F()
56 auto& msg = this->kMsg0; in TEST_F()
68 auto& msg = this->kMsg0; in TEST_F()
81 auto msg = this->kMsg0; in TEST_F()
92 auto& msg = this->kMsg0; in TEST_F()
Dverifier-testhelper.h43 static const std::vector<uint8_t> kMsg0; variable
Dverifier-testhelper.cc199 const std::vector<uint8_t> Epid11VerifierTest::kMsg0 = { member in Epid11VerifierTest
/external/epid-sdk/epid/verifier/unittests/
Dverify-test.cc160 auto& msg = this->kMsg0; in TEST_F()
177 auto& msg = this->kMsg0; in TEST_F()
194 auto& msg = this->kMsg0; in TEST_F()
361 auto msg = this->kMsg0; in TEST_F()
378 auto msg = this->kMsg0; in TEST_F()
409 auto& msg = this->kMsg0; in TEST_F()
430 auto& msg = this->kMsg0; in TEST_F()
449 auto& msg = this->kMsg0; in TEST_F()
470 auto& msg = this->kMsg0; in TEST_F()
491 auto& msg = this->kMsg0; in TEST_F()
[all …]
Dnrverify-test.cc195 this->kMsg0.data(), this->kMsg0.size(), &sig_rl->bk[0], in TEST_F()
200 this->kMsg0.data(), this->kMsg0.size(), &sig_rl->bk[0], in TEST_F()
205 this->kMsg0.data(), this->kMsg0.size(), &sig_rl->bk[0], in TEST_F()
236 EpidNrVerify(verifier, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
237 this->kMsg0.size(), &sig_rl->bk[2], in TEST_F()
274 EpidNrVerify(verifier, &epid_signature->sigma0, this->kMsg0.data(), in TEST_F()
275 this->kMsg0.size(), &sig_rl->bk[0], in TEST_F()
Dcontext-test.cc843 auto msg = this->kMsg0; in TEST_F()
859 auto msg = this->kMsg0; in TEST_F()
886 auto msg = this->kMsg0; in TEST_F()
897 auto msg = this->kMsg0; in TEST_F()
908 auto msg = this->kMsg0; in TEST_F()
922 auto msg = this->kMsg0; in TEST_F()
936 auto msg = this->kMsg0; in TEST_F()
950 auto msg = this->kMsg0; in TEST_F()
973 auto msg = this->kMsg0; in TEST_F()
Dverifybasic-test.cc105 auto& msg = this->kMsg0; in TEST_F()
Dverifier-testhelper.h117 static const std::vector<uint8_t> kMsg0; variable
Dverifier-testhelper.cc597 const std::vector<uint8_t> EpidVerifierTest::kMsg0 = {'m', 's', 'g', '0'}; member in EpidVerifierTest
/external/epid-sdk/epid/member/unittests/
Dsignbasic-test.cc48 auto& msg = this->kMsg0; in TEST_F()
68 auto& msg = this->kMsg0; in TEST_F()
77 auto& msg = this->kMsg0; in TEST_F()
97 auto& msg = this->kMsg0; in TEST_F()
108 auto& msg = this->kMsg0; in TEST_F()
123 auto& msg = this->kMsg0; in TEST_F()
138 auto& msg = this->kMsg0; in TEST_F()
157 auto& msg = this->kMsg0; in TEST_F()
176 auto& msg = this->kMsg0; in TEST_F()
193 auto& msg = this->kMsg0; in TEST_F()
[all …]
Dsign-test.cc48 auto& msg = this->kMsg0; in TEST_F()
72 auto& msg = this->kMsg0; in TEST_F()
96 auto& msg = this->kMsg0; in TEST_F()
112 auto& msg = this->kMsg0; in TEST_F()
127 auto& msg = this->kMsg0; in TEST_F()
174 auto& msg = this->kMsg0; in TEST_F()
232 auto& msg = this->kMsg0; in TEST_F()
246 auto& msg = this->kMsg0; in TEST_F()
266 auto& msg = this->kMsg0; in TEST_F()
285 auto& msg = this->kMsg0; in TEST_F()
[all …]
Dmember-testhelper.h72 static const std::vector<uint8_t> kMsg0; variable
Dmember-testhelper.cc329 const std::vector<uint8_t> EpidMemberTest::kMsg0 = {'m', 's', 'g', '0'}; member in EpidMemberTest
Dcontext-test.cc361 auto& msg = this->kMsg0; in TEST_F()
524 auto& msg = this->kMsg0; in TEST_F()
/external/epid-sdk/epid/member/tiny/unittests/
Dsign-test.cc47 auto& msg = this->kMsg0; in TEST_F()
71 auto& msg = this->kMsg0; in TEST_F()
87 auto& msg = this->kMsg0; in TEST_F()
102 auto& msg = this->kMsg0; in TEST_F()
126 auto& msg = this->kMsg0; in TEST_F()
142 auto& msg = this->kMsg0; in TEST_F()
156 auto& msg = this->kMsg0; in TEST_F()
203 auto& msg = this->kMsg0; in TEST_F()
261 auto& msg = this->kMsg0; in TEST_F()
275 auto& msg = this->kMsg0; in TEST_F()
[all …]
Dmember-testhelper.h76 static const std::vector<uint8_t> kMsg0; variable
Dmember-testhelper.cc361 const std::vector<uint8_t> EpidMemberTest::kMsg0 = {'m', 's', 'g', '0'}; member in EpidMemberTest
Dcontext-test.cc318 auto& msg = this->kMsg0; in TEST_F()
472 auto& msg = this->kMsg0; in TEST_F()
/external/epid-sdk/epid/member/tiny/unittests/internal/
Dsignbasic-test.cc46 auto& msg = this->kMsg0; in TEST_F()
60 auto& msg = this->kMsg0; in TEST_F()
76 auto& msg = this->kMsg0; in TEST_F()
94 auto& msg = this->kMsg0; in TEST_F()