/external/epid-sdk/epid/member/ |
D | api.h | 32 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/ |
D | member_wrapper-testhelper.h | 69 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_;
|
D | member_wrapper-testhelper.cc | 246 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/ |
D | init.c | 36 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()
|
D | signbasic.h | 28 typedef struct MemberCtx MemberCtx; typedef 33 EpidStatus EpidSignBasic(MemberCtx const* ctx, void const* msg, size_t msg_len,
|
D | nrprove.h | 25 typedef struct MemberCtx MemberCtx; typedef 62 EpidStatus EpidNrProve(MemberCtx const* ctx, void const* msg, size_t msg_len,
|
D | presig_compute.h | 28 typedef struct MemberCtx MemberCtx; typedef 48 EpidStatus EpidMemberComputePreSig(MemberCtx const* ctx,
|
D | presig.c | 22 EpidStatus EPID_API EpidAddPreSigs(MemberCtx* ctx, size_t number_presigs) { in EpidAddPreSigs() 28 size_t EPID_API EpidGetNumPreSigs(MemberCtx const* ctx) { in EpidGetNumPreSigs()
|
D | registerbasename.c | 24 EpidStatus EPID_API EpidRegisterBasename(MemberCtx* ctx, void const* basename, in EpidRegisterBasename() 41 EpidStatus EPID_API EpidClearRegisteredBasenames(MemberCtx* ctx) { in EpidClearRegisteredBasenames()
|
D | context.h | 59 typedef struct MemberCtx { struct 73 } MemberCtx; argument
|
D | startup.c | 22 EpidStatus EPID_API EpidMemberStartup(MemberCtx* ctx) { in EpidMemberStartup()
|
/external/epid-sdk/epid/member/unittests/ |
D | context-test.cc | 81 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/ |
D | context.c | 50 *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 …]
|
D | presig-internal.h | 25 typedef struct MemberCtx MemberCtx; typedef 49 EpidStatus MemberGetPreSig(MemberCtx* ctx, PreComputedSignature* presig);
|
D | write_precomp.h | 24 typedef struct MemberCtx MemberCtx; typedef 44 EpidStatus EpidMemberWritePrecomp(MemberCtx const* ctx, MemberPrecomp* precomp);
|
D | privateexp.h | 25 typedef struct MemberCtx MemberCtx; typedef 40 EpidStatus EpidPrivateExp(MemberCtx* ctx, EcPoint const* a, EcPoint* r);
|
D | validatekey.h | 26 typedef struct MemberCtx MemberCtx; typedef 60 bool EpidMemberIsKeyValid(MemberCtx* ctx, G1ElemStr const* A_str,
|
D | signbasic.h | 25 typedef struct MemberCtx MemberCtx; typedef 66 EpidStatus EpidSignBasic(MemberCtx const* ctx, void const* msg, size_t msg_len,
|
D | nrprove.h | 25 typedef struct MemberCtx MemberCtx; typedef 66 EpidStatus EpidNrProve(MemberCtx const* ctx, void const* msg, size_t msg_len,
|
D | presig.c | 44 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()
|
D | startup.c | 38 static EpidStatus MemberReadPrecomputation(MemberCtx* ctx, 41 EpidStatus EpidMemberStartup(MemberCtx* ctx) { in EpidMemberStartup() 96 static EpidStatus MemberReadPrecomputation(MemberCtx* ctx, in MemberReadPrecomputation()
|
D | context.h | 41 struct MemberCtx { struct 97 EpidStatus EpidMemberInitialProvision(MemberCtx* ctx);
|
D | write_precomp.c | 25 EpidStatus EpidMemberWritePrecomp(MemberCtx const* ctx, in EpidMemberWritePrecomp()
|
/external/epid-sdk/epid/member/tiny/unittests/ |
D | context-test.cc | 76 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/ |
D | signmsg.c | 44 MemberCtx* member = NULL; in SignMsg() 94 member = (MemberCtx*)calloc(1, member_size); in SignMsg()
|