/external/epid-sdk/epid/common/math/ |
D | ecgroup.h | 47 typedef struct EcGroup EcGroup; typedef 83 BigNum const* cofactor, EcGroup** g); 94 void DeleteEcGroup(EcGroup** g); 118 EpidStatus NewEcPoint(EcGroup const* g, EcPoint** p); 147 EpidStatus ReadEcPoint(EcGroup* g, ConstOctStr p_str, size_t strlen, 165 EpidStatus WriteEcPoint(EcGroup* g, EcPoint const* p, OctStr p_str, 187 EpidStatus EcMul(EcGroup* g, EcPoint const* a, EcPoint const* b, EcPoint* r); 208 EpidStatus EcExp(EcGroup* g, EcPoint const* a, BigNumStr const* b, EcPoint* r); 237 EpidStatus EcSscmExp(EcGroup* g, EcPoint const* a, BigNumStr const* b, 264 EpidStatus EcMultiExp(EcGroup* g, EcPoint const** a, BigNumStr const** b, [all …]
|
D | tatepairing.h | 77 EpidStatus NewEpid11PairingState(EcGroup const* ga, EcGroup const* gb,
|
D | pairing.h | 70 EpidStatus NewPairingState(EcGroup const* ga, EcGroup const* gb,
|
/external/epid-sdk/epid/common-testhelper/unittests/ |
D | ecgroup_wrapper-test.cc | 74 EXPECT_NE(nullptr, (EcGroup*)group); in TEST_F() 80 EXPECT_NE((EcGroup*)group1, (EcGroup*)group2); in TEST_F() 82 EXPECT_EQ((EcGroup*)group1, (EcGroup*)group2); in TEST_F() 88 EXPECT_EQ((EcGroup*)group1, (EcGroup*)group2); in TEST_F() 102 EcGroup const* group_ptr = group; in TEST_F() 108 EcGroup const* group_ptr = group.getc(); in TEST_F() 132 EcGroup const* group_ptr = group; in TEST_F() 138 EcGroup const* group_ptr = group.getc(); in TEST_F() 144 EcGroup* group_ptr = group; in TEST_F() 150 EcGroup* group_ptr = group.get(); in TEST_F()
|
/external/epid-sdk/epid/common-testhelper/ |
D | ecgroup_wrapper-testhelper.cc | 31 void operator()(EcGroup* ptr) { in operator ()() 44 std::shared_ptr<EcGroup> group_; 84 EcGroup* temp = nullptr; in EcGroupObj() 108 EcGroup* temp = nullptr; in EcGroupObj() 116 EcGroupObj::operator EcGroup*() { return state_->group_.get(); } in operator EcGroup*() 118 EcGroupObj::operator const EcGroup*() const { return state_->group_.get(); } in operator const EcGroup*() 120 EcGroup* EcGroupObj::get() { return state_->group_.get(); } in get() 122 EcGroup const* EcGroupObj::getc() const { return state_->group_.get(); } in getc()
|
D | ecgroup_wrapper-testhelper.h | 53 operator EcGroup*(); 55 operator const EcGroup*() const; 57 EcGroup* get(); 59 EcGroup const* getc() const;
|
D | epid2params_wrapper-testhelper.h | 24 typedef struct EcGroup EcGroup; typedef 48 EcGroup* G1() const;
|
/external/epid-sdk/epid/common/math/src/ |
D | ecgroup.c | 55 BigNum const* cofactor, EcGroup** g) { in NewEcGroup() 59 EcGroup* grp = NULL; in NewEcGroup() 93 grp = (EcGroup*)SAFE_ALLOC(sizeof(EcGroup)); in NewEcGroup() 168 void DeleteEcGroup(EcGroup** g) { in DeleteEcGroup() 184 EpidStatus NewEcPoint(EcGroup const* g, EcPoint** p) { in NewEcPoint() 278 EpidStatus eccontains(EcGroup* g, ConstOctStr p_str, size_t strlen, EcPoint* p, in eccontains() 381 EpidStatus ReadEcPoint(EcGroup* g, ConstOctStr p_str, size_t strlen, in ReadEcPoint() 409 EpidStatus WriteEcPoint(EcGroup* g, EcPoint const* p, OctStr p_str, in WriteEcPoint() 498 EpidStatus EcMul(EcGroup* g, EcPoint const* a, EcPoint const* b, EcPoint* r) { in EcMul() 523 EpidStatus EcExp(EcGroup* g, EcPoint const* a, BigNumStr const* b, EcPoint* r) { in EcExp() [all …]
|
D | pairing-internal.h | 27 EcGroup* ga; ///< elliptic curve group G1 28 EcGroup* gb; ///< elliptic curve group G1
|
D | tatepairing-internal.h | 27 EcGroup* ga; ///< elliptic curve group G1 28 EcGroup* gb; ///< elliptic curve group G2
|
/external/epid-sdk/epid/member/src/ |
D | hash_basename.h | 27 typedef struct EcGroup EcGroup; typedef 55 EpidStatus HashBaseName(EcGroup* G1, HashAlg hash_alg, void const* basename,
|
D | precomp.c | 43 EcGroup* G1 = epid2_params->G1; in PrecomputeMemberPairing() 44 EcGroup* G2 = epid2_params->G2; in PrecomputeMemberPairing()
|
D | validatekey.c | 56 EcGroup* G1 = ctx->epid2_params->G1; in EpidMemberIsKeyValid() 57 EcGroup* G2 = ctx->epid2_params->G2; in EpidMemberIsKeyValid()
|
D | startup.c | 49 EcGroup* G1 = ctx->epid2_params->G1; in EpidMemberStartup() 50 EcGroup* G2 = ctx->epid2_params->G2; in EpidMemberStartup()
|
/external/epid-sdk/epid/common/1.1/src/ |
D | epid11params.h | 45 EcGroup* G1; ///< Elliptic curve group over finite field Fq 46 EcGroup* G2; ///< Elliptic curve group over finite field Fqd 47 EcGroup* G3; ///< Elliptic curve group over finite field Fq'
|
D | epid11params.c | 44 EcGroup** G1); 48 FiniteField* Fqd, EcGroup** G2); 52 EcGroup** G3); 240 EpidStatus NewG1(Epid11Params const* params, FiniteField* Fq, EcGroup** G1) { in NewG1() 242 EcGroup* ec = NULL; in NewG1() 304 EcGroup** G3) { in NewG3() 306 EcGroup* ec = NULL; in NewG3() 370 EcGroup** G2) { in NewG2() 372 EcGroup* ec = NULL; in NewG2()
|
D | grouppubkey.h | 54 EcGroup* G1, EcGroup* G2,
|
D | commitment.h | 106 EcPoint const* R2, EcPoint const* R3, FfElement const* R4, EcGroup* G1, 107 EcGroup* G3, FiniteField* GT, Epid11CommitValues* values);
|
D | grouppubkey.c | 32 EcGroup* G1, EcGroup* G2, in CreateEpid11GroupPubKey()
|
D | commitment.c | 51 EcPoint const* R2, EcPoint const* R3, FfElement const* R4, EcGroup* G1, in SetCalculatedEpid11CommitValues() 52 EcGroup* G3, FiniteField* GT, Epid11CommitValues* values) { in SetCalculatedEpid11CommitValues()
|
/external/epid-sdk/epid/common/src/ |
D | commitment.h | 31 typedef struct EcGroup EcGroup; typedef 94 EcGroup* G1, FfElement const* R2,
|
D | epid2params.c | 36 EcGroup** G1); 39 FiniteField* Fq, FiniteField* Fq2, EcGroup** G2); 54 static void DeleteG1(EcGroup** G1); 56 static void DeleteG2(EcGroup** G2); 323 EpidStatus NewG1(Epid2Params const* param, FiniteField* Fq, EcGroup** G1) { in NewG1() 325 EcGroup* ec = NULL; in NewG1() 415 FiniteField* Fq, FiniteField* Fq2, EcGroup** G2) { in NewG2() 417 EcGroup* ec = NULL; in NewG2() 584 static void DeleteG1(EcGroup** G1) { DeleteEcGroup(G1); } in DeleteG1() 585 static void DeleteG2(EcGroup** G2) { DeleteEcGroup(G2); } in DeleteG2()
|
D | grouppubkey.h | 53 EpidStatus CreateGroupPubKey(GroupPubKey const* pub_key_str, EcGroup* G1, 54 EcGroup* G2, GroupPubKey_** pub_key);
|
D | epid2params.h | 47 EcGroup* G1; ///< Elliptic curve group over finite field Fq 48 EcGroup* G2; ///< Elliptic curve group over finite field Fq2
|
D | grouppubkey.c | 24 EpidStatus CreateGroupPubKey(GroupPubKey const* pub_key_str, EcGroup* G1, in CreateGroupPubKey() 25 EcGroup* G2, GroupPubKey_** pub_key) { in CreateGroupPubKey()
|