/external/epid-sdk/epid/verifier/1.1/unittests/ |
D | verifier-testhelper.cc | 23 const Epid11G3ElemStr Epid11VerifierTest::kG3IdentityStr = {0}; 24 const Epid11GroupPubKey Epid11VerifierTest::kPubKeyStr = { 62 const Epid11GroupPubKey Epid11VerifierTest::kPubKeyStrForMsg0_255 = { 100 const Epid11Params Epid11VerifierTest::kParamsStr = { 103 const std::vector<uint8_t> Epid11VerifierTest::kGrpXPrivRl = { 106 const std::vector<uint8_t> Epid11VerifierTest::kGrpXCorruptedPrivRl = { 109 const std::vector<uint8_t> Epid11VerifierTest::kGrpXPrivRlSingleEntry = { 113 const Epid11VerifierPrecomp Epid11VerifierTest::kVerifierPrecompStr = { 116 const std::vector<uint8_t> Epid11VerifierTest::kSigRl = { 149 const std::vector<uint8_t> Epid11VerifierTest::kSigRlForMsg0_255 = { [all …]
|
D | context-test.cc | 42 TEST_F(Epid11VerifierTest, CreateFailsGivenNullPointer) { in TEST_F() argument 52 TEST_F(Epid11VerifierTest, CreateSucceedsGivenNullPrecomp) { in TEST_F() argument 57 TEST_F(Epid11VerifierTest, CreateSucceedsGivenValidPrecomp) { in TEST_F() argument 63 TEST_F(Epid11VerifierTest, CreateFailsGivenInvalidPubkey) { in TEST_F() argument 81 TEST_F(Epid11VerifierTest, CreateFailsGivenBadGroupIdInPrecomp) { in TEST_F() argument 91 TEST_F(Epid11VerifierTest, DeleteNullsVerifierCtx) { in TEST_F() argument 97 TEST_F(Epid11VerifierTest, DeleteWorksGivenNullVerifierCtx) { in TEST_F() argument 105 TEST_F(Epid11VerifierTest, WritePrecompFailsGivenNullPointer) { in TEST_F() argument 112 TEST_F(Epid11VerifierTest, WritePrecompSucceedGivenValidArgument) { in TEST_F() argument 128 TEST_F(Epid11VerifierTest, SetPrivRlFailsGivenNullPointer) { in TEST_F() argument [all …]
|
D | verify-test.cc | 36 TEST_F(Epid11VerifierTest, VerifyFailsGivenNullParameters) { in TEST_F() argument 51 TEST_F(Epid11VerifierTest, VerifyFailsGivenTooShortSigLen) { in TEST_F() argument 65 TEST_F(Epid11VerifierTest, VerifyFailsGivenSigLenTooShortForRlCount) { in TEST_F() argument 80 TEST_F(Epid11VerifierTest, VerifyFailsGivenSigLenTooLongForRlCount) { in TEST_F() argument 96 TEST_F(Epid11VerifierTest, VerifyFailsGivenRlCountTooBig) { in TEST_F() argument 151 TEST_F(Epid11VerifierTest, VerifyRejectsFromGroupRlSingleEntry) { in TEST_F() argument 167 TEST_F(Epid11VerifierTest, VerifyRejectsFromGroupRlFirstEntry) { in TEST_F() argument 183 TEST_F(Epid11VerifierTest, VerifyRejectsFromGroupRlMiddleEntry) { in TEST_F() argument 199 TEST_F(Epid11VerifierTest, VerifyRejectsFromGroupRlLastEntry) { in TEST_F() argument 223 TEST_F(Epid11VerifierTest, VerifyFailsOnSigRlverNotMatchSigRlRlver) { in TEST_F() argument [all …]
|
D | nrverify-test.cc | 40 TEST_F(Epid11VerifierTest, NrVerifyFailsGivenNullParameters) { in TEST_F() argument 75 TEST_F(Epid11VerifierTest, NrVerifyRejectsTotalMsgSizeOutOfRangeOfInt) { in TEST_F() argument 95 TEST_F(Epid11VerifierTest, NrVerifyRejectsSigWithTNotInG3) { in TEST_F() argument 111 TEST_F(Epid11VerifierTest, NrVerifyRejectsSigWithTIdentityOfG3) { in TEST_F() argument 127 TEST_F(Epid11VerifierTest, NrVerifyRejectsSigWithSmuNotInRange) { in TEST_F() argument 143 TEST_F(Epid11VerifierTest, NrVerifyRejectsSigWithSnuNotInRange) { in TEST_F() argument 169 TEST_F(Epid11VerifierTest, NrVerifyRejectsSigWithInvalidCommitment) { in TEST_F() argument 186 TEST_F(Epid11VerifierTest, NrVerifyRejectsSigWithMismatchCommitmentSize) { in TEST_F() argument 207 TEST_F(Epid11VerifierTest, NrVerifyAcceptsSigWithRandomBaseName) { in TEST_F() argument 220 TEST_F(Epid11VerifierTest, NrVerifyAcceptsMsgContainingAllPossibleBytes) { in TEST_F() argument
|
D | sigs_linked-test.cc | 33 TEST_F(Epid11VerifierTest, AreSigsLinkedReturnsFalseGivenNullParameters) { in TEST_F() argument 42 TEST_F(Epid11VerifierTest, SigsBySameMemberWithRandomBaseAreNotLinkable) { in TEST_F() argument 49 TEST_F(Epid11VerifierTest, SigsBySameMemberWithSameBasenameAreLinkable) { in TEST_F() argument 56 TEST_F(Epid11VerifierTest, in TEST_F() argument 64 TEST_F(Epid11VerifierTest, in TEST_F() argument
|
D | verifybasic-test.cc | 35 TEST_F(Epid11VerifierTest, VerifyBasicSigFailsGivenNullPtr) { in TEST_F() argument 50 TEST_F(Epid11VerifierTest, in TEST_F() argument 62 TEST_F(Epid11VerifierTest, in TEST_F() argument 75 TEST_F(Epid11VerifierTest, in TEST_F() argument 87 TEST_F(Epid11VerifierTest, VerifyBasicSigCanVerifyWithBasename) { in TEST_F() argument 100 TEST_F(Epid11VerifierTest, in TEST_F() argument
|
D | check_privrl_entry-test.cc | 34 TEST_F(Epid11VerifierTest, CheckPrivRlEntryFailsGivenNullPtr) { in TEST_F() argument 52 TEST_F(Epid11VerifierTest, CheckPrivRlEntryFailsGivenRevokedPrivKey) { in TEST_F() argument 69 TEST_F(Epid11VerifierTest, CheckPrivRlEntrySucceedsGivenUnRevokedPrivKey) { in TEST_F() argument
|
D | verifier-testhelper.h | 34 class Epid11VerifierTest : public ::testing::Test {
|