/external/epid-sdk/epid/common/math/unittests/ |
D | ecdsa_verify-test.cc | 65 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 …]
|
D | ecdsa_sign-test.cc | 69 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/ |
D | nrverify-test.cc | 48 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 …]
|
D | verify-test.cc | 39 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 …]
|
D | verifybasic-test.cc | 40 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()
|
D | verifier-testhelper.h | 43 static const std::vector<uint8_t> kMsg0; variable
|
D | verifier-testhelper.cc | 199 const std::vector<uint8_t> Epid11VerifierTest::kMsg0 = { member in Epid11VerifierTest
|
/external/epid-sdk/epid/verifier/unittests/ |
D | verify-test.cc | 160 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 …]
|
D | nrverify-test.cc | 195 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()
|
D | context-test.cc | 843 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()
|
D | verifybasic-test.cc | 105 auto& msg = this->kMsg0; in TEST_F()
|
D | verifier-testhelper.h | 117 static const std::vector<uint8_t> kMsg0; variable
|
D | verifier-testhelper.cc | 597 const std::vector<uint8_t> EpidVerifierTest::kMsg0 = {'m', 's', 'g', '0'}; member in EpidVerifierTest
|
/external/epid-sdk/epid/member/unittests/ |
D | signbasic-test.cc | 48 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 …]
|
D | sign-test.cc | 48 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 …]
|
D | member-testhelper.h | 72 static const std::vector<uint8_t> kMsg0; variable
|
D | member-testhelper.cc | 329 const std::vector<uint8_t> EpidMemberTest::kMsg0 = {'m', 's', 'g', '0'}; member in EpidMemberTest
|
D | context-test.cc | 361 auto& msg = this->kMsg0; in TEST_F() 524 auto& msg = this->kMsg0; in TEST_F()
|
/external/epid-sdk/epid/member/tiny/unittests/ |
D | sign-test.cc | 47 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 …]
|
D | member-testhelper.h | 76 static const std::vector<uint8_t> kMsg0; variable
|
D | member-testhelper.cc | 361 const std::vector<uint8_t> EpidMemberTest::kMsg0 = {'m', 's', 'g', '0'}; member in EpidMemberTest
|
D | context-test.cc | 318 auto& msg = this->kMsg0; in TEST_F() 472 auto& msg = this->kMsg0; in TEST_F()
|
/external/epid-sdk/epid/member/tiny/unittests/internal/ |
D | signbasic-test.cc | 46 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()
|