Home
last modified time | relevance | path

Searched refs:MemberCtx (Results 1 – 25 of 52) sorted by relevance

123

/external/epid-sdk/epid/member/
Dapi.h32 typedef struct MemberCtx MemberCtx; typedef
66 MemberCtx** ctx);
94 EpidStatus EPID_API EpidMemberInit(MemberParams const* params, MemberCtx* ctx);
112 EpidStatus EPID_API EpidCreateJoinRequest(MemberCtx* ctx,
131 MemberCtx* ctx, GroupPubKey const* pub_key,
148 EpidProvisionCompressed(MemberCtx* ctx, GroupPubKey const* pub_key,
165 EpidStatus EPID_API EpidProvisionKey(MemberCtx* ctx, GroupPubKey const* pub_key,
176 EpidStatus EPID_API EpidMemberStartup(MemberCtx* ctx);
193 void EPID_API EpidMemberDeinit(MemberCtx* ctx);
214 void EPID_API EpidMemberDelete(MemberCtx** ctx);
[all …]
/external/epid-sdk/epid/common-testhelper/
Dmember_wrapper-testhelper.h69 MemberCtx* ctx() const;
71 operator MemberCtx*() const;
73 operator const MemberCtx*() const;
77 MemberCtx* CreateMember(MemberParams const* params) const;
79 void DeleteMember(MemberCtx** ctx) const;
81 MemberCtx* ctx_;
Dmember_wrapper-testhelper.cc246 MemberCtx* MemberCtxObj::ctx() const { return ctx_; } in ctx()
248 MemberCtxObj::operator MemberCtx*() const { return ctx_; } in operator MemberCtx*()
250 MemberCtxObj::operator const MemberCtx*() const { return ctx_; } in operator const MemberCtx*()
252 MemberCtx* MemberCtxObj::CreateMember(MemberParams const* params) const { in CreateMember()
255 MemberCtx* member_ctx = NULL; in CreateMember()
265 member_ctx = (MemberCtx*)new (std::nothrow) uint8_t[context_size](); in CreateMember()
284 void MemberCtxObj::DeleteMember(MemberCtx** ctx) const { in DeleteMember()
/external/epid-sdk/epid/member/tiny/src/
Dinit.c36 sizeof(MemberCtx) - sizeof(((MemberCtx*)0)->heap); in EpidMemberGetSize()
45 EpidStatus EPID_API EpidMemberInit(MemberParams const* params, MemberCtx* ctx) { in EpidMemberInit()
82 void EPID_API EpidMemberDeinit(MemberCtx* ctx) { in EpidMemberDeinit()
88 MemberCtx** ctx) { in EpidMemberCreate()
94 void EPID_API EpidMemberDelete(MemberCtx** ctx) { (void)ctx; } in EpidMemberDelete()
Dsignbasic.h28 typedef struct MemberCtx MemberCtx; typedef
33 EpidStatus EpidSignBasic(MemberCtx const* ctx, void const* msg, size_t msg_len,
Dnrprove.h25 typedef struct MemberCtx MemberCtx; typedef
62 EpidStatus EpidNrProve(MemberCtx const* ctx, void const* msg, size_t msg_len,
Dpresig_compute.h28 typedef struct MemberCtx MemberCtx; typedef
48 EpidStatus EpidMemberComputePreSig(MemberCtx const* ctx,
Dpresig.c22 EpidStatus EPID_API EpidAddPreSigs(MemberCtx* ctx, size_t number_presigs) { in EpidAddPreSigs()
28 size_t EPID_API EpidGetNumPreSigs(MemberCtx const* ctx) { in EpidGetNumPreSigs()
Dregisterbasename.c24 EpidStatus EPID_API EpidRegisterBasename(MemberCtx* ctx, void const* basename, in EpidRegisterBasename()
41 EpidStatus EPID_API EpidClearRegisteredBasenames(MemberCtx* ctx) { in EpidClearRegisteredBasenames()
Dcontext.h59 typedef struct MemberCtx { struct
73 } MemberCtx; argument
Dstartup.c22 EpidStatus EPID_API EpidMemberStartup(MemberCtx* ctx) { in EpidMemberStartup()
/external/epid-sdk/epid/member/unittests/
Dcontext-test.cc81 MemberCtx* ctx = nullptr; in TEST_F()
88 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
102 MemberCtx* ctx = nullptr; in TEST_F()
109 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
121 MemberCtx* ctx = nullptr; in TEST_F()
128 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
136 MemberCtx* ctx = nullptr; in TEST_F()
143 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
153 MemberCtx* member_ctx = nullptr; in TEST_F()
157 MemberCtx* ctx = nullptr; in TEST_F()
[all …]
/external/epid-sdk/epid/member/src/
Dcontext.c50 *context_size = sizeof(MemberCtx); in EpidMemberGetSize()
54 EpidStatus EpidMemberInit(MemberParams const* params, MemberCtx* ctx) { in EpidMemberInit()
129 void EpidMemberDeinit(MemberCtx* ctx) { in EpidMemberDeinit()
160 EpidStatus EpidMemberCreate(MemberParams const* params, MemberCtx** ctx) { in EpidMemberCreate()
163 MemberCtx* member_ctx = NULL; in EpidMemberCreate()
185 EpidStatus EpidMemberInitialProvision(MemberCtx* ctx) { in EpidMemberInitialProvision()
213 void EpidMemberDelete(MemberCtx** ctx) { in EpidMemberDelete()
222 EpidStatus EpidMemberSetHashAlg(MemberCtx* ctx, HashAlg hash_alg) { in EpidMemberSetHashAlg()
236 EpidStatus EpidMemberSetSigRl(MemberCtx* ctx, SigRl const* sig_rl, in EpidMemberSetSigRl()
262 EpidStatus EpidRegisterBasename(MemberCtx* ctx, void const* basename, in EpidRegisterBasename()
[all …]
Dpresig-internal.h25 typedef struct MemberCtx MemberCtx; typedef
49 EpidStatus MemberGetPreSig(MemberCtx* ctx, PreComputedSignature* presig);
Dwrite_precomp.h24 typedef struct MemberCtx MemberCtx; typedef
44 EpidStatus EpidMemberWritePrecomp(MemberCtx const* ctx, MemberPrecomp* precomp);
Dprivateexp.h25 typedef struct MemberCtx MemberCtx; typedef
40 EpidStatus EpidPrivateExp(MemberCtx* ctx, EcPoint const* a, EcPoint* r);
Dvalidatekey.h26 typedef struct MemberCtx MemberCtx; typedef
60 bool EpidMemberIsKeyValid(MemberCtx* ctx, G1ElemStr const* A_str,
Dsignbasic.h25 typedef struct MemberCtx MemberCtx; typedef
66 EpidStatus EpidSignBasic(MemberCtx const* ctx, void const* msg, size_t msg_len,
Dnrprove.h25 typedef struct MemberCtx MemberCtx; typedef
66 EpidStatus EpidNrProve(MemberCtx const* ctx, void const* msg, size_t msg_len,
Dpresig.c44 static EpidStatus MemberComputePreSig(MemberCtx const* ctx,
47 EpidStatus EpidAddPreSigs(MemberCtx* ctx, size_t number_presigs) { in EpidAddPreSigs()
70 size_t EpidGetNumPreSigs(MemberCtx const* ctx) { in EpidGetNumPreSigs()
74 EpidStatus MemberGetPreSig(MemberCtx* ctx, PreComputedSignature* presig) { in MemberGetPreSig()
91 EpidStatus MemberComputePreSig(MemberCtx const* ctx, in MemberComputePreSig()
Dstartup.c38 static EpidStatus MemberReadPrecomputation(MemberCtx* ctx,
41 EpidStatus EpidMemberStartup(MemberCtx* ctx) { in EpidMemberStartup()
96 static EpidStatus MemberReadPrecomputation(MemberCtx* ctx, in MemberReadPrecomputation()
Dcontext.h41 struct MemberCtx { struct
97 EpidStatus EpidMemberInitialProvision(MemberCtx* ctx);
Dwrite_precomp.c25 EpidStatus EpidMemberWritePrecomp(MemberCtx const* ctx, in EpidMemberWritePrecomp()
/external/epid-sdk/epid/member/tiny/unittests/
Dcontext-test.cc76 MemberCtx* ctx = nullptr; in TEST_F()
83 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
97 MemberCtx* ctx = nullptr; in TEST_F()
104 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
116 MemberCtx* ctx = nullptr; in TEST_F()
123 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
131 MemberCtx* ctx = nullptr; in TEST_F()
138 ctx = (MemberCtx*)&ctx_buf[0]; in TEST_F()
147 MemberCtx* ctx = nullptr; in TEST_F()
/external/epid-sdk/example/signmsg/src/
Dsignmsg.c44 MemberCtx* member = NULL; in SignMsg()
94 member = (MemberCtx*)calloc(1, member_size); in SignMsg()

123