/external/epid-sdk/epid/common/math/ |
D | ecgroup.h | 97 typedef struct EcPoint EcPoint; typedef 118 EpidStatus NewEcPoint(EcGroup const* g, EcPoint** p); 130 void DeleteEcPoint(EcPoint** p); 148 EcPoint* p); 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, 238 EcPoint* r); 264 EpidStatus EcMultiExp(EcGroup* g, EcPoint const** a, BigNumStr const** b, [all …]
|
/external/epid-sdk/epid/common-testhelper/unittests/ |
D | ecpoint_wrapper-test.cc | 63 EXPECT_NE(nullptr, (EcPoint*)point); in TEST_F() 69 EXPECT_NE((EcPoint*)point1, (EcPoint*)point2); in TEST_F() 71 EXPECT_NE((EcPoint*)point1, (EcPoint*)point2); in TEST_F() 77 EXPECT_NE((EcPoint*)point1, (EcPoint*)point2); in TEST_F() 82 EcPoint const* point_ptr = point; in TEST_F() 88 EcPoint const* point_ptr = point.getc(); in TEST_F() 112 EcPoint const* point_ptr = point; in TEST_F() 118 EcPoint const* point_ptr = point.getc(); in TEST_F() 124 EcPoint* point_ptr = point; in TEST_F() 130 EcPoint* point_ptr = point.get(); in TEST_F()
|
/external/epid-sdk/epid/member/tpm2/ |
D | commit.h | 30 typedef struct EcPoint EcPoint; typedef 66 EpidStatus Tpm2Commit(Tpm2Ctx* ctx, EcPoint const* p1, void const* s2, 67 size_t s2_len, FfElement const* y2, EcPoint* k, 68 EcPoint* l, EcPoint* e, uint16_t* counter);
|
/external/epid-sdk/epid/common-testhelper/ |
D | ecpoint_wrapper-testhelper.cc | 29 void operator()(EcPoint* ptr) { in operator ()() 44 std::shared_ptr<EcPoint> point_; 51 std::shared_ptr<EcPoint> point; in write() 52 EcPoint* point_ptr; in write() 112 EcPointObj::operator EcPoint*() { return state_->point_.get(); } in operator EcPoint*() 114 EcPointObj::operator const EcPoint*() const { return state_->point_.get(); } in operator const EcPoint*() 116 EcPoint* EcPointObj::get() { return state_->point_.get(); } in get() 118 EcPoint const* EcPointObj::getc() const { return state_->point_.get(); } in getc()
|
D | ecpoint_wrapper-testhelper.h | 62 operator EcPoint*(); 64 operator const EcPoint*() const; 66 EcPoint* get(); 68 EcPoint const* getc() const;
|
/external/epid-sdk/epid/member/src/ |
D | context.h | 36 typedef struct EcPoint EcPoint; typedef 56 EcPoint const* h1; ///< Group public key h1 value 57 EcPoint const* h2; ///< Group group public key h2 value 58 EcPoint const* A; ///< Membership Credential A value 60 EcPoint const* w; ///< Group group public key w value
|
D | startup.c | 52 EcPoint* A = (EcPoint*)ctx->A; in EpidMemberStartup() 54 EcPoint* h1 = (EcPoint*)ctx->h1; in EpidMemberStartup() 55 EcPoint* h2 = (EcPoint*)ctx->h2; in EpidMemberStartup() 56 EcPoint* w = (EcPoint*)ctx->w; in EpidMemberStartup()
|
D | privateexp.c | 36 EpidStatus EpidPrivateExp(MemberCtx* ctx, EcPoint const* a, EcPoint* r) { in EpidPrivateExp() 42 EcPoint* k_pt = NULL; in EpidPrivateExp() 43 EcPoint* l_pt = NULL; in EpidPrivateExp() 44 EcPoint* e_pt = NULL; in EpidPrivateExp() 45 EcPoint* t1 = NULL; in EpidPrivateExp() 46 EcPoint* h = NULL; in EpidPrivateExp()
|
D | validatekey.c | 42 EcPoint* t1 = NULL; in EpidMemberIsKeyValid() 43 EcPoint* t2 = NULL; in EpidMemberIsKeyValid() 46 EcPoint* A = NULL; in EpidMemberIsKeyValid() 47 EcPoint* h1 = NULL; in EpidMemberIsKeyValid() 48 EcPoint* w = NULL; in EpidMemberIsKeyValid() 59 EcPoint* g1 = ctx->epid2_params->g1; in EpidMemberIsKeyValid() 60 EcPoint* g2 = ctx->epid2_params->g2; in EpidMemberIsKeyValid()
|
D | privateexp.h | 24 typedef struct EcPoint EcPoint; typedef 40 EpidStatus EpidPrivateExp(MemberCtx* ctx, EcPoint const* a, EcPoint* r);
|
D | nrprove.c | 63 EcPoint* B = NULL; in EpidNrProve() 64 EcPoint* K = NULL; in EpidNrProve() 65 EcPoint* rlB = NULL; in EpidNrProve() 66 EcPoint* rlK = NULL; in EpidNrProve() 67 EcPoint* t = NULL; // temp value in G1 either T, R1, R2 in EpidNrProve() 68 EcPoint* k_tpm = NULL; in EpidNrProve() 69 EcPoint* l_tpm = NULL; in EpidNrProve() 70 EcPoint* e_tpm = NULL; in EpidNrProve() 71 EcPoint* D = NULL; in EpidNrProve() 168 EcPoint const* points[2]; in EpidNrProve()
|
D | context.c | 96 sts = NewEcPoint(ctx->epid2_params->G1, (EcPoint**)&ctx->A); in EpidMemberInit() 101 sts = NewEcPoint(ctx->epid2_params->G1, (EcPoint**)&ctx->h1); in EpidMemberInit() 103 sts = NewEcPoint(ctx->epid2_params->G1, (EcPoint**)&ctx->h2); in EpidMemberInit() 105 sts = NewEcPoint(ctx->epid2_params->G2, (EcPoint**)&ctx->w); in EpidMemberInit() 146 DeleteEcPoint((EcPoint**)&(ctx->h1)); in EpidMemberDeinit() 147 DeleteEcPoint((EcPoint**)&(ctx->h2)); in EpidMemberDeinit() 148 DeleteEcPoint((EcPoint**)&(ctx->A)); in EpidMemberDeinit() 150 DeleteEcPoint((EcPoint**)&(ctx->w)); in EpidMemberDeinit()
|
D | join.c | 44 EcPoint* t = NULL; // temporary used for F and R in EpidCreateJoinRequest() 45 EcPoint* h1 = NULL; in EpidCreateJoinRequest() 46 EcPoint* K = NULL; in EpidCreateJoinRequest() 47 EcPoint* l = NULL; in EpidCreateJoinRequest() 48 EcPoint* e = NULL; in EpidCreateJoinRequest()
|
D | decompress_privkey.c | 44 EcPoint* A; ///< an element in G1 61 EcPoint* t1 = 0; in EpidDecompressPrivKey() 62 EcPoint* t2 = 0; in EpidDecompressPrivKey() 67 EcPoint* h1 = 0; in EpidDecompressPrivKey() 68 EcPoint* w = 0; in EpidDecompressPrivKey() 89 EcPoint* g1 = epid2_params->g1; in EpidDecompressPrivKey() 90 EcPoint* g2 = epid2_params->g2; in EpidDecompressPrivKey()
|
/external/epid-sdk/epid/verifier/1.1/src/ |
D | verifybasic.c | 50 EcPoint* T1 = NULL; in Epid11VerifyBasicSig() 51 EcPoint* T2 = NULL; in Epid11VerifyBasicSig() 52 EcPoint* R1 = NULL; in Epid11VerifyBasicSig() 53 EcPoint* R2 = NULL; in Epid11VerifyBasicSig() 54 EcPoint* t1 = NULL; in Epid11VerifyBasicSig() 55 EcPoint* t2 = NULL; in Epid11VerifyBasicSig() 62 EcPoint* B = NULL; in Epid11VerifyBasicSig() 63 EcPoint* K = NULL; in Epid11VerifyBasicSig() 64 EcPoint* R3 = NULL; in Epid11VerifyBasicSig() 65 EcPoint* t5 = NULL; in Epid11VerifyBasicSig() [all …]
|
D | nrverify.c | 61 EcPoint* T = NULL; in Epid11NrVerify() 62 EcPoint* R1 = NULL; in Epid11NrVerify() 63 EcPoint* R2 = NULL; in Epid11NrVerify() 65 EcPoint* K = NULL; in Epid11NrVerify() 66 EcPoint* B = NULL; in Epid11NrVerify() 67 EcPoint* K_tick = NULL; in Epid11NrVerify() 68 EcPoint* B_tick = NULL; in Epid11NrVerify() 179 EcPoint const* points[2]; in Epid11NrVerify() 200 EcPoint const* points[3]; in Epid11NrVerify()
|
/external/epid-sdk/epid/common/math/src/ |
D | ecgroup.c | 184 EpidStatus NewEcPoint(EcGroup const* g, EcPoint** p) { in NewEcPoint() 187 EcPoint* ecpoint = NULL; in NewEcPoint() 223 ecpoint = SAFE_ALLOC(sizeof(EcPoint)); in NewEcPoint() 244 void DeleteEcPoint(EcPoint** p) { in DeleteEcPoint() 278 EpidStatus eccontains(EcGroup* g, ConstOctStr p_str, size_t strlen, EcPoint* p, in eccontains() 382 EcPoint* p) { 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() 564 EpidStatus EcSscmExp(EcGroup* g, EcPoint const* a, BigNumStr const* b, in EcSscmExp() [all …]
|
/external/epid-sdk/epid/verifier/src/ |
D | verifybasic.c | 39 EcPoint* B = NULL; in EpidVerifyBasicSig() 40 EcPoint* K = NULL; in EpidVerifyBasicSig() 41 EcPoint* T = NULL; in EpidVerifyBasicSig() 42 EcPoint* R1 = NULL; in EpidVerifyBasicSig() 43 EcPoint* t4 = NULL; in EpidVerifyBasicSig() 45 EcPoint* t1 = NULL; in EpidVerifyBasicSig() 79 EcPoint* g1 = ctx->epid2_params->g1; in EpidVerifyBasicSig() 80 EcPoint* g2 = ctx->epid2_params->g2; in EpidVerifyBasicSig() 81 EcPoint* w = ctx->pub_key->w; in EpidVerifyBasicSig() 83 EcPoint* basename_hash = ctx->basename_hash; in EpidVerifyBasicSig() [all …]
|
D | nrverify.c | 55 EcPoint* t_pt = NULL; in EpidNrVerify() 56 EcPoint* k_pt = NULL; in EpidNrVerify() 57 EcPoint* b_pt = NULL; in EpidNrVerify() 58 EcPoint* kp_pt = NULL; in EpidNrVerify() 59 EcPoint* bp_pt = NULL; in EpidNrVerify() 60 EcPoint* r1_pt = NULL; in EpidNrVerify() 61 EcPoint* r2_pt = NULL; in EpidNrVerify() 86 EcPoint const* r1p[2]; in EpidNrVerify() 88 EcPoint const* r2p[3]; in EpidNrVerify()
|
/external/epid-sdk/epid/common/math/unittests/ |
D | ecgroup-test.cc | 692 EcPoint* point = nullptr; in TEST_F() 697 EcPoint* point = nullptr; in TEST_F() 703 EcPoint* point = nullptr; in TEST_F() 709 EcPoint* point = nullptr; in TEST_F() 727 EcPoint* point = nullptr; in TEST_F() 734 EcPoint* point = nullptr; in TEST_F() 1030 EcPoint const* pts_ec1[] = {this->efq_a, this->efq_b}; in TEST_F() 1031 EcPoint const* pts_ec2[] = {this->efq2_a, this->efq2_b}; in TEST_F() 1032 EcPoint const* pts_ec1_ec2[] = {this->efq_a, this->efq2_b}; in TEST_F() 1051 EcPoint const* pts[] = {this->efq_a, this->efq_b}; in TEST_F() [all …]
|
/external/epid-sdk/epid/member/tpm2/src/ |
D | commit.c | 57 EpidStatus Tpm2Commit(Tpm2Ctx* ctx, EcPoint const* p1, void const* s2, in Tpm2Commit() 58 size_t s2_len, FfElement const* y2, EcPoint* k, in Tpm2Commit() 59 EcPoint* l, EcPoint* e, uint16_t* counter) { in Tpm2Commit() 66 EcPoint* point = NULL; in Tpm2Commit() 67 EcPoint* infinity = NULL; in Tpm2Commit()
|
/external/epid-sdk/epid/common/1.1/src/ |
D | grouppubkey.h | 31 EcPoint* h1; ///< an element in G1 32 EcPoint* h2; ///< an element in G1 33 EcPoint* w; ///< an element in G2
|
D | epid11params.h | 34 EcPoint* g1; ///< a generator (an element) of G1 35 EcPoint* g2; ///< a generator (an element) of G2 36 EcPoint* g3; ///< a generator (an element) of G3
|
/external/epid-sdk/epid/common/src/ |
D | grouppubkey.h | 31 EcPoint* h1; ///< an element in G1 32 EcPoint* h2; ///< an element in G1 33 EcPoint* w; ///< an element in G2
|
D | commitment.h | 30 typedef struct EcPoint EcPoint; typedef 93 G1ElemStr const* T, EcPoint const* R1,
|