/external/epid-sdk/epid/member/tiny/unittests/ |
D | member-testhelper.cc | 56 const GroupPubKey EpidMemberTest::kGroupPublicKey = { 85 const PrivKey EpidMemberTest::kMemberPrivateKey = { 102 const MemberPrecomp EpidMemberTest::kMemberPrecomp = { 241 const NativeBasicSignature EpidMemberTest::kBasicSig = { 273 const std::vector<uint8_t> EpidMemberTest::kGroupPublicKeyDataIkgf = { 276 const std::vector<uint8_t> EpidMemberTest::kMemberPrivateKeyDataIkgf = { 280 const std::vector<uint8_t> EpidMemberTest::kGrp01Member0SigTest1Sha256 = { 283 const std::vector<uint8_t> EpidMemberTest::kGrp01Member0SigTest1Sha384 = { 286 const std::vector<uint8_t> EpidMemberTest::kGrp01Member0SigTest1Sha512 = { 289 const std::vector<uint8_t> EpidMemberTest::kTest1Msg = {'t', 'e', 's', 't', [all …]
|
D | context-test.cc | 48 TEST_F(EpidMemberTest, DeinitWorksGivenNullMemberCtx) { in TEST_F() argument 54 TEST_F(EpidMemberTest, GetSizeFailsGivenNullParams) { in TEST_F() argument 64 TEST_F(EpidMemberTest, GetSizeWorksGivenValidParams) { in TEST_F() argument 74 TEST_F(EpidMemberTest, InitFailsGivenNullParameters) { in TEST_F() argument 90 TEST_F(EpidMemberTest, InitFailsGivenInvalidParameters) { in TEST_F() argument 109 TEST_F(EpidMemberTest, InitSucceedsGivenValidParameters) { in TEST_F() argument 129 TEST_F(EpidMemberTest, InitSucceedsGivenValidParametersWithNoF) { in TEST_F() argument 146 TEST_F(EpidMemberTest, CreateIsNotImplemented) { in TEST_F() argument 157 TEST_F(EpidMemberTest, StartupFailsGivenNullParameters) { in TEST_F() argument 161 TEST_F(EpidMemberTest, StartupSucceedsGivenValidParameters) { in TEST_F() argument [all …]
|
D | presig-test.cc | 44 TEST_F(EpidMemberTest, DISABLED_AddPreSigsFailsGivenNullPointer) { in TEST_F() argument 52 TEST_F(EpidMemberTest, DISABLED_AddPreSigsFailsGivenHugeNumberOfPreSigs) { in TEST_F() argument 61 TEST_F(EpidMemberTest, in TEST_F() argument 74 TEST_F(EpidMemberTest, in TEST_F() argument 94 TEST_F(EpidMemberTest, DISABLED_GetNumPreSigsReturnsZeroGivenNullptr) { in TEST_F() argument 98 TEST_F(EpidMemberTest, DISABLED_NumPreSigsForNewleyCreatedContextIsZero) { in TEST_F() argument 106 TEST_F(EpidMemberTest, DISABLED_GetNumPreSigsReturnsNumberOfAddedPresigs) { in TEST_F() argument
|
D | sign-test.cc | 43 TEST_F(EpidMemberTest, SignFailsGivenNullParameters) { in TEST_F() argument 67 TEST_F(EpidMemberTest, SignFailsGivenNonZeroMessageLenWithNullMessage) { in TEST_F() argument 83 TEST_F(EpidMemberTest, SignFailsGivenNonZeroBasenameLenWithNullBasename) { in TEST_F() argument 98 TEST_F(EpidMemberTest, SignFailsGivenWrongSigLen) { in TEST_F() argument 122 TEST_F(EpidMemberTest, SignFailsGivenUnregisteredBasename) { in TEST_F() argument 139 TEST_F(EpidMemberTest, SignsFailsIfNotProvisioned) { in TEST_F() argument 152 TEST_F(EpidMemberTest, SignaturesOfSameMessageAreDifferent) { in TEST_F() argument 199 TEST_F(EpidMemberTest, SignaturesOfSameMessageWithSameBasenameAreDifferent) { in TEST_F() argument 257 TEST_F(EpidMemberTest, SignsMessageUsingRandomBaseNoSigRl) { in TEST_F() argument 271 TEST_F(EpidMemberTest, SignsMessageUsingRandomBaseWithSigRl) { in TEST_F() argument [all …]
|
D | decompress_privkey-test.cc | 36 TEST_F(EpidMemberTest, DISABLED_DecompressPrivKeyFailsGivenNullParameters) { in TEST_F() argument 48 TEST_F(EpidMemberTest, DISABLED_CanDecompressPrivKeyGivenValidCompressedKey) { in TEST_F() argument 58 TEST_F(EpidMemberTest, DISABLED_DecompressPrivKeyFailsGivenKeysMissmatch) { in TEST_F() argument 66 TEST_F(EpidMemberTest, DISABLED_DecompressPrivKeyFailsGivenInvalidGroupKey) { in TEST_F() argument 83 TEST_F(EpidMemberTest, in TEST_F() argument
|
D | join_request-test.cc | 123 TEST_F(EpidMemberTest, CreateJoinRequestFailsGivenNullParameters) { in TEST_F() argument 141 TEST_F(EpidMemberTest, CreateJoinRequestFailsGivenNoF) { in TEST_F() argument 154 TEST_F(EpidMemberTest, CreateJoinRequestFailsGivenInvalidGroupKey) { in TEST_F() argument 181 TEST_F(EpidMemberTest, CreateJoinRequestFailsGivenInvalidFValue) { in TEST_F() argument 221 TEST_F(EpidMemberTest, CreateJoinRequestWorksUsingSha512) { in TEST_F() argument 245 TEST_F(EpidMemberTest, CreateJoinRequestWorksUsingSha256) { in TEST_F() argument 269 TEST_F(EpidMemberTest, in TEST_F() argument 300 TEST_F(EpidMemberTest, in TEST_F() argument 344 TEST_F(EpidMemberTest, in TEST_F() argument
|
D | provision_credential-test.cc | 51 TEST_F(EpidMemberTest, ProvisionCredentialFailsGivenNullParameters) { in TEST_F() argument 80 TEST_F(EpidMemberTest, ProvisionCredentialRejectsInvalidCredential) { in TEST_F() argument 119 TEST_F(EpidMemberTest, ProvisionCredentialRejectsInvalidGroupKey) { in TEST_F() argument 192 TEST_F(EpidMemberTest, ProvisionCredentialRejectsCredentialNotInGroup) { in TEST_F() argument 217 TEST_F(EpidMemberTest, CanProvisionUsingMembershipCredentialPrecomp) { in TEST_F() argument 236 TEST_F(EpidMemberTest, CanProvisionUsingMembershipCredentialNoPrecomp) { in TEST_F() argument 252 TEST_F(EpidMemberTest, CanProvisionUsingIKGFMembershipCredentialPrecomp) { in TEST_F() argument 274 TEST_F(EpidMemberTest, CanProvisionUsingIKGFMembershipCredentialNoPrecomp) { in TEST_F() argument 292 TEST_F(EpidMemberTest, in TEST_F() argument
|
D | provision_key-test.cc | 50 TEST_F(EpidMemberTest, ProvisionBulkFailsGivenNullParameters) { in TEST_F() argument 72 TEST_F(EpidMemberTest, ProvisionBulkSucceedsGivenValidParameters) { in TEST_F() argument 86 TEST_F(EpidMemberTest, ProvisionBulkSucceedsGivenValidParametersUsingIKGFData) { in TEST_F() argument 106 TEST_F(EpidMemberTest, ProvisionBulkFailsForInvalidGroupPubKey) { in TEST_F() argument 174 TEST_F(EpidMemberTest, ProvisionBulkFailsForInvalidF) { in TEST_F() argument 196 TEST_F(EpidMemberTest, ProvisionBulkFailsForInvalidPrivateKey) { in TEST_F() argument 221 TEST_F(EpidMemberTest, DISABLED_ProvisionBulkCanStoreMembershipCredential) { in TEST_F() argument
|
/external/epid-sdk/epid/member/unittests/ |
D | member-testhelper.cc | 55 const GroupPubKey EpidMemberTest::kGroupPublicKey = { 84 const PrivKey EpidMemberTest::kMemberPrivateKey = { 101 const MemberPrecomp EpidMemberTest::kMemberPrecomp = { 241 const std::vector<uint8_t> EpidMemberTest::kGroupPublicKeyDataIkgf = { 244 const std::vector<uint8_t> EpidMemberTest::kMemberPrivateKeyDataIkgf = { 248 const std::vector<uint8_t> EpidMemberTest::kGrp01Member0SigTest1Sha256 = { 251 const std::vector<uint8_t> EpidMemberTest::kGrp01Member0SigTest1Sha384 = { 254 const std::vector<uint8_t> EpidMemberTest::kGrp01Member0SigTest1Sha512 = { 257 const std::vector<uint8_t> EpidMemberTest::kTest1Msg = {'t', 'e', 's', 't', 259 std::vector<uint8_t> EpidMemberTest::kSigRlData = { [all …]
|
D | context-test.cc | 53 TEST_F(EpidMemberTest, DeinitWorksGivenNullMemberCtx) { in TEST_F() argument 59 TEST_F(EpidMemberTest, GetSizeFailsGivenNullParams) { in TEST_F() argument 69 TEST_F(EpidMemberTest, GetSizeWorksGivenValidParams) { in TEST_F() argument 79 TEST_F(EpidMemberTest, InitFailsGivenNullParameters) { in TEST_F() argument 95 TEST_F(EpidMemberTest, InitFailsGivenInvalidParameters) { in TEST_F() argument 114 TEST_F(EpidMemberTest, InitSucceedsGivenValidParameters) { in TEST_F() argument 134 TEST_F(EpidMemberTest, InitSucceedsGivenValidParametersWithNoF) { in TEST_F() argument 151 TEST_F(EpidMemberTest, DeleteWorksGivenNullMemberCtx) { in TEST_F() argument 156 TEST_F(EpidMemberTest, DeleteNullsMemberCtx) { in TEST_F() argument 169 TEST_F(EpidMemberTest, CreateFailsGivenNullParameters) { in TEST_F() argument [all …]
|
D | presig-test.cc | 44 TEST_F(EpidMemberTest, AddPreSigsFailsGivenNullPointer) { in TEST_F() argument 52 TEST_F(EpidMemberTest, AddPreSigsFailsGivenHugeNumberOfPreSigs) { in TEST_F() argument 61 TEST_F(EpidMemberTest, in TEST_F() argument 74 TEST_F(EpidMemberTest, AddPreSigsAddsCorrectNumberOfPresigsGivenValidInput) { in TEST_F() argument 93 TEST_F(EpidMemberTest, GetNumPreSigsReturnsZeroGivenNullptr) { in TEST_F() argument 97 TEST_F(EpidMemberTest, NumPreSigsForNewleyCreatedContextIsZero) { in TEST_F() argument 105 TEST_F(EpidMemberTest, GetNumPreSigsReturnsNumberOfAddedPresigs) { in TEST_F() argument
|
D | signbasic-test.cc | 44 TEST_F(EpidMemberTest, SignBasicFailsGivenNullParameters) { in TEST_F() argument 64 TEST_F(EpidMemberTest, SignBasicFailsGivenNullBasenameAndNullRandomBasename) { in TEST_F() argument 73 TEST_F(EpidMemberTest, SignBasicDoesNotComputeRandomBasenameGivenBasename) { in TEST_F() argument 93 TEST_F(EpidMemberTest, SignBasicFailsForBasenameWithoutRegisteredBasenames) { in TEST_F() argument 104 TEST_F(EpidMemberTest, SignBasicFailsForUnregisteredBasename) { in TEST_F() argument 119 TEST_F(EpidMemberTest, BasicSignaturesOfSameMessageAreDifferent) { in TEST_F() argument 133 TEST_F(EpidMemberTest, in TEST_F() argument 153 TEST_F(EpidMemberTest, SignBasicSucceedsUsingRandomBase) { in TEST_F() argument 169 TEST_F(EpidMemberTest, in TEST_F() argument 189 TEST_F(EpidMemberTest, SignBasicSucceedsUsingBasename) { in TEST_F() argument [all …]
|
D | sign-test.cc | 44 TEST_F(EpidMemberTest, SignFailsGivenNullParameters) { in TEST_F() argument 68 TEST_F(EpidMemberTest, SignFailsGivenWrongSigLen) { in TEST_F() argument 92 TEST_F(EpidMemberTest, SignFailsGivenUnregisteredBasename) { in TEST_F() argument 109 TEST_F(EpidMemberTest, SignsFailsIfNotProvisioned) { in TEST_F() argument 123 TEST_F(EpidMemberTest, SignaturesOfSameMessageAreDifferent) { in TEST_F() argument 170 TEST_F(EpidMemberTest, SignaturesOfSameMessageWithSameBasenameAreDifferent) { in TEST_F() argument 228 TEST_F(EpidMemberTest, SignsMessageUsingRandomBaseNoSigRl) { in TEST_F() argument 242 TEST_F(EpidMemberTest, SignsMessageUsingRandomBaseWithSigRl) { in TEST_F() argument 262 TEST_F(EpidMemberTest, SignsMessageUsingBasenameNoSigRl) { in TEST_F() argument 281 TEST_F(EpidMemberTest, SignsMessageUsingBasenameWithSigRl) { in TEST_F() argument [all …]
|
D | decompress_privkey-test.cc | 36 TEST_F(EpidMemberTest, DecompressPrivKeyFailsGivenNullParameters) { in TEST_F() argument 48 TEST_F(EpidMemberTest, CanDecompressPrivKeyGivenValidCompressedKey) { in TEST_F() argument 58 TEST_F(EpidMemberTest, DecompressPrivKeyFailsGivenKeysMissmatch) { in TEST_F() argument 66 TEST_F(EpidMemberTest, DecompressPrivKeyFailsGivenInvalidGroupKey) { in TEST_F() argument 83 TEST_F(EpidMemberTest, DecompressPrivKeyFailsGivenInvalidCompressedKey) { in TEST_F() argument
|
D | nr_prove-test.cc | 34 TEST_F(EpidMemberTest, NrProveFailsGivenNullParameters) { in TEST_F() argument 71 TEST_F(EpidMemberTest, NrProveFailsGivenInvalidSigRlEntry) { in TEST_F() argument 98 TEST_F(EpidMemberTest, in TEST_F() argument 128 TEST_F(EpidMemberTest, NrProveFailsGivenInvalidBasicSig) { in TEST_F() argument 151 TEST_F(EpidMemberTest, in TEST_F() argument 177 TEST_F(EpidMemberTest, GeneratesNrProofForEmptyMessage) { in TEST_F() argument 201 TEST_F(EpidMemberTest, GeneratesNrProofForMsgContainingAllPossibleBytes) { in TEST_F() argument 227 TEST_F(EpidMemberTest, GeneratesNrProof) { in TEST_F() argument 252 TEST_F(EpidMemberTest, PROTECTED_GeneratesNrProofWithCredential_EPS0) { in TEST_F() argument 279 TEST_F(EpidMemberTest, GeneratesNrProofUsingDefaultHashAlgUsingIKGFData) { in TEST_F() argument [all …]
|
D | join_request-test.cc | 124 TEST_F(EpidMemberTest, CreateJoinRequestFailsGivenNullParameters) { in TEST_F() argument 142 TEST_F(EpidMemberTest, CreateJoinRequestFailsGivenInvalidGroupKey) { in TEST_F() argument 169 TEST_F(EpidMemberTest, CreateJoinRequestFailsGivenInvalidFValue) { in TEST_F() argument 209 TEST_F(EpidMemberTest, CreateJoinRequestWorksGivenValidParameters) { in TEST_F() argument 233 TEST_F(EpidMemberTest, in TEST_F() argument 253 TEST_F(EpidMemberTest, in TEST_F() argument 285 EpidMemberTest, in TEST_F() argument 311 TEST_F(EpidMemberTest, in TEST_F() argument 355 TEST_F(EpidMemberTest, in TEST_F() argument
|
D | provision_credential-test.cc | 53 TEST_F(EpidMemberTest, ProvisionCredentialFailsGivenNullParameters) { in TEST_F() argument 82 TEST_F(EpidMemberTest, ProvisionCredentialRejectsInvalidCredential) { in TEST_F() argument 121 TEST_F(EpidMemberTest, ProvisionCredentialRejectsInvalidGroupKey) { in TEST_F() argument 194 TEST_F(EpidMemberTest, ProvisionCredentialRejectsCredentialNotInGroup) { in TEST_F() argument 219 TEST_F(EpidMemberTest, CanProvisionUsingMembershipCredentialPrecomp) { in TEST_F() argument 238 TEST_F(EpidMemberTest, CanProvisionUsingMembershipCredentialNoPrecomp) { in TEST_F() argument 254 TEST_F(EpidMemberTest, CanProvisionUsingIKGFMembershipCredentialPrecomp) { in TEST_F() argument 276 TEST_F(EpidMemberTest, CanProvisionUsingIKGFMembershipCredentialNoPrecomp) { in TEST_F() argument 294 TEST_F(EpidMemberTest, in TEST_F() argument
|
D | provision_key-test.cc | 52 TEST_F(EpidMemberTest, ProvisionBulkFailsGivenNullParameters) { in TEST_F() argument 74 TEST_F(EpidMemberTest, ProvisionBulkSucceedsGivenValidParameters) { in TEST_F() argument 88 TEST_F(EpidMemberTest, ProvisionBulkSucceedsGivenValidParametersUsingIKGFData) { in TEST_F() argument 108 TEST_F(EpidMemberTest, ProvisionBulkFailsForInvalidGroupPubKey) { in TEST_F() argument 176 TEST_F(EpidMemberTest, ProvisionBulkFailsForInvalidF) { in TEST_F() argument 198 TEST_F(EpidMemberTest, ProvisionBulkFailsForInvalidPrivateKey) { in TEST_F() argument 223 TEST_F(EpidMemberTest, ProvisionBulkCanStoreMembershipCredential) { in TEST_F() argument
|
D | storage-test.cc | 39 TEST_F(EpidMemberTest, NvWriteMembershipCredentialFailsGivenNullPointer) { in TEST_F() argument 60 TEST_F(EpidMemberTest, NvReadMembershipCredentialFailsGivenNoCredentials) { in TEST_F() argument 75 TEST_F(EpidMemberTest, NvReadMembershipCredentialFailsGivenNullPointer) { in TEST_F() argument 100 TEST_F(EpidMemberTest, WrittenMembershipCredentialCanBeRead) { in TEST_F() argument
|
D | privateexp-test.cc | 35 TEST_F(EpidMemberTest, EpidPrivateExpFailsGivenNullPointer) { in TEST_F() argument 53 TEST_F(EpidMemberTest, EpidPrivateExpFailsArgumentsMismatch) { in TEST_F() argument 72 TEST_F(EpidMemberTest, EpidPrivateExpSucceedsGivenValidParametersForSha256) { in TEST_F() argument 100 TEST_F(EpidMemberTest, EpidPrivateExpSucceedsGivenValidParametersForSha384) { in TEST_F() argument 128 TEST_F(EpidMemberTest, in TEST_F() argument
|
D | get_sigsize-test.cc | 33 TEST_F(EpidMemberTest, GetSigSizeReturnsSizeofBasicSigGivenNullPointer) { in TEST_F() argument 38 TEST_F(EpidMemberTest, GetSigSizeReturnsCorrectValueGivenValidSigRl) { in TEST_F() argument 84 TEST_F(EpidMemberTest, in TEST_F() argument
|
/external/epid-sdk/epid/member/tiny/unittests/internal/ |
D | validate-test.cc | 43 TEST_F(EpidMemberTest, GroupPubKeyIsInRangePasses) { in TEST_F() argument 66 TEST_F(EpidMemberTest, GroupPubKeyIsInRangeFails) { in TEST_F() argument 91 TEST_F(EpidMemberTest, MembershipCredentialIsInRangePasses) { in TEST_F() argument 105 TEST_F(EpidMemberTest, MembershipCredentialIsInRangeFails) { in TEST_F() argument 121 TEST_F(EpidMemberTest, MembershipCredentialIsInGroupPasses) { in TEST_F() argument 159 TEST_F(EpidMemberTest, MembershipCredentialIsInGroupFails) { in TEST_F() argument 199 TEST_F(EpidMemberTest, PrivKeyIsInRangePasses) { in TEST_F() argument 217 TEST_F(EpidMemberTest, PrivKeyIsInRangeRangeFails) { in TEST_F() argument 237 TEST_F(EpidMemberTest, PrivKeyIsInGroupPasses) { in TEST_F() argument 276 TEST_F(EpidMemberTest, PrivKeyIsInGroupFails) { in TEST_F() argument
|
D | nr_prove-test.cc | 36 TEST_F(EpidMemberTest, NrProveFailsGivenInvalidSigRlEntry) { in TEST_F() argument 60 TEST_F(EpidMemberTest, NrProveFailsGivenInvalidBasicSig) { in TEST_F() argument 80 TEST_F(EpidMemberTest, GeneratesNrProofForEmptyMessage) { in TEST_F() argument 100 TEST_F(EpidMemberTest, GeneratesNrProofForMsgContainingAllPossibleBytes) { in TEST_F() argument 120 TEST_F(EpidMemberTest, GeneratesNrProof) { in TEST_F() argument 140 TEST_F(EpidMemberTest, GeneratesNrProofUsingSha512) { in TEST_F() argument 160 TEST_F(EpidMemberTest, GeneratesNrProofUsingSha256) { in TEST_F() argument
|
D | serialize-test.cc | 230 TEST_F(EpidMemberTest, GroupPubKeySerializeWorks) { in TEST_F() argument 285 TEST_F(EpidMemberTest, GroupPubKeyDeserializeWorks) { in TEST_F() argument 340 TEST_F(EpidMemberTest, PrivKeyDeserializeWorks) { in TEST_F() argument 378 TEST_F(EpidMemberTest, MembershipCredentialDeserializeWorks) { in TEST_F() argument
|
D | signbasic-test.cc | 42 TEST_F(EpidMemberTest, BasicSignaturesOfSameMessageAreDifferent) { in TEST_F() argument 56 TEST_F(EpidMemberTest, SignBasicSucceedsUsingRandomBase) { in TEST_F() argument 72 TEST_F(EpidMemberTest, SignBasicSucceedsUsingSha512) { in TEST_F() argument 90 TEST_F(EpidMemberTest, SignBasicSucceedsUsingSha256) { in TEST_F() argument
|