/external/epid-sdk/epid/member/tpm2/unittests/ |
D | context-test.cc | 40 void* rnd_param = NULL; in TEST_F() local 47 &rnd_param, &f, &ctx)); in TEST_F() 49 &rnd_param, &f, &ctx)); in TEST_F() 51 &rnd_param, &f, &ctx)); in TEST_F() 55 Tpm2CreateContext(&mem_params, epid_params, &rnd_func, &rnd_param, in TEST_F() 58 Tpm2CreateContext(&mem_params, epid_params, &rnd_func, &rnd_param, in TEST_F() 66 void* rnd_param = NULL; in TEST_F() local 73 &rnd_param, &f, &ctx)); in TEST_F() 89 void* rnd_param = NULL; in TEST_F() local 94 Tpm2CreateContext(&mem_params, epid_params, &rnd_func, &rnd_param, &f, &ctx); in TEST_F()
|
D | tpm2_wrapper-testhelper.cc | 36 Tpm2CtxObj::Tpm2CtxObj(BitSupplier rnd_func, void* rnd_param, in Tpm2CtxObj() argument 44 SetMemberParams(rnd_func, rnd_param, f, &mem_params); in Tpm2CtxObj()
|
/external/epid-sdk/epid/common-testhelper/ |
D | member_wrapper-testhelper.h | 33 BitSupplier rnd_func, void* rnd_param); 37 void* rnd_param); 39 explicit MemberCtxObj(BitSupplier rnd_func, void* rnd_param); 45 void* rnd_param); 49 void* rnd_param); 53 BitSupplier rnd_func, void* rnd_param); 57 void* rnd_param); 60 HashAlg hash_alg, BitSupplier rnd_func, void* rnd_param);
|
D | member_wrapper-testhelper.cc | 45 BitSupplier rnd_func, void* rnd_param) in MemberCtxObj() argument 49 SetMemberParams(rnd_func, rnd_param, &priv_key.f, ¶ms); in MemberCtxObj() 69 BitSupplier rnd_func, void* rnd_param) in MemberCtxObj() argument 73 SetMemberParams(rnd_func, rnd_param, nullptr, ¶ms); in MemberCtxObj() 93 void* rnd_param) in MemberCtxObj() argument 97 SetMemberParams(rnd_func, rnd_param, &priv_key.f, ¶ms); in MemberCtxObj() 122 MemberCtxObj::MemberCtxObj(BitSupplier rnd_func, void* rnd_param) in MemberCtxObj() argument 125 SetMemberParams(rnd_func, rnd_param, nullptr, ¶ms); in MemberCtxObj() 135 void* rnd_param) in MemberCtxObj() argument 139 SetMemberParams(rnd_func, rnd_param, &priv_key.f, ¶ms); in MemberCtxObj() [all …]
|
D | mem_params-testhelper.cc | 24 void SetMemberParams(BitSupplier rnd_func, void* rnd_param, const FpElemStr* f, in SetMemberParams() argument 28 (void)rnd_param; in SetMemberParams() 32 params->rnd_param = rnd_param; in SetMemberParams()
|
D | mem_params-testhelper.h | 45 void SetMemberParams(BitSupplier rnd_func, void* rnd_param, const FpElemStr* f,
|
/external/epid-sdk/epid/member/tpm2/src/ |
D | context.c | 36 BitSupplier* rnd_func, void** rnd_param, in Tpm2CreateContext() argument 42 if (!params || !epid2_params || !rnd_func || !rnd_param || !f || !ctx) { in Tpm2CreateContext() 64 tpm_ctx->rnd_param = params->rnd_param; in Tpm2CreateContext() 67 *rnd_param = params->rnd_param; in Tpm2CreateContext() 92 (*ctx)->rnd_param = NULL; in Tpm2DeleteContext()
|
D | getrandom.c | 37 rand_ret = ctx->rnd_func(random_data, num_bits, ctx->rnd_param); in Tpm2GetRandom()
|
/external/epid-sdk/epid/common/math/unittests/ |
D | ecdsa_sign-test.cc | 152 void* rnd_param = &prng; in TEST_F() local 157 rnd_param, &signature)); in TEST_F() 159 rnd_param, &signature)); in TEST_F() 161 nullptr, rnd_param, &signature)); in TEST_F() 163 rnd_func, rnd_param, nullptr)); in TEST_F() 219 void* rnd_param = &prng; in TEST_F() local 226 rnd_func, rnd_param, &signature)); in TEST_F()
|
/external/epid-sdk/epid/member/tiny/src/ |
D | presig_compute.c | 52 if (!FpRandNonzero(&presig->a, ctx->rnd_func, ctx->rnd_param)) { in EpidMemberComputePreSig() 70 if (!FpRandNonzero(&presig->rx, ctx->rnd_func, ctx->rnd_param)) { in EpidMemberComputePreSig() 73 if (!FpRandNonzero(&presig->rf, ctx->rnd_func, ctx->rnd_param)) { in EpidMemberComputePreSig() 76 if (!FpRandNonzero(&presig->ra, ctx->rnd_func, ctx->rnd_param)) { in EpidMemberComputePreSig() 79 if (!FpRandNonzero(&presig->rb, ctx->rnd_func, ctx->rnd_param)) { in EpidMemberComputePreSig()
|
D | nrprove.c | 64 if (!FpRandNonzero(&mu, ctx->rnd_func, ctx->rnd_param)) { in EpidNrProve() 79 if (!FpRandNonzero(&rmu, ctx->rnd_func, ctx->rnd_param)) { in EpidNrProve() 83 if (!FpRandNonzero(&rnu, ctx->rnd_func, ctx->rnd_param)) { in EpidNrProve()
|
D | init.c | 77 ctx->rnd_param = params->rnd_param; in EpidMemberInit()
|
/external/epid-sdk/example/util/src/ |
D | convutil.c | 97 void SetMemberParams(BitSupplier rnd_func, void* rnd_param, FpElemStr* f, in SetMemberParams() argument 101 (void)rnd_param; in SetMemberParams() 105 params->rnd_param = rnd_param; in SetMemberParams()
|
/external/epid-sdk/epid/member/tiny/math/src/ |
D | fp.c | 72 int FpRand(FpElem* result, BitSupplier rnd_func, void* rnd_param) { in FpRand() argument 78 if (rnd_func(t, sizeof(FpElem) * CHAR_BIT + EPID_SLEN, rnd_param)) { in FpRand() 88 int FpRandNonzero(FpElem* result, BitSupplier rnd_func, void* rnd_param) { in FpRandNonzero() argument 93 if (rnd_func(t, sizeof(FpElem) * CHAR_BIT + EPID_SLEN, rnd_param)) { in FpRandNonzero()
|
D | fq.c | 102 int FqRand(FqElem* result, BitSupplier rnd_func, void* rnd_param) { in FqRand() argument 108 if (rnd_func(t, sizeof(FpElem) * CHAR_BIT + EPID_SLEN, rnd_param)) { in FqRand()
|
D | efq.c | 214 int EFqRand(EccPointFq* result, BitSupplier rnd_func, void* rnd_param) { in EFqRand() argument 217 if (!FqRand(&fq, rnd_func, rnd_param)) { in EFqRand() 401 int EFqJRand(EccPointJacobiFq* result, BitSupplier rnd_func, void* rnd_param) { in EFqJRand() argument 404 if (!FqRand(&fq, rnd_func, rnd_param)) { in EFqJRand()
|
/external/epid-sdk/epid/member/tpm2/ibm_tss/ |
D | context.c | 58 BitSupplier* rnd_func, void** rnd_param, in Tpm2CreateContext() argument 64 if (!params || !epid2_params || !rnd_func || !rnd_param || !f || !ctx) { in Tpm2CreateContext() 100 *rnd_param = *ctx; in Tpm2CreateContext()
|
/external/epid-sdk/epid/member/tiny/math/ |
D | fp.h | 102 int FpRand(FpElem* result, BitSupplier rnd_func, void* rnd_param); 112 int FpRandNonzero(FpElem* result, BitSupplier rnd_func, void* rnd_param);
|
D | efq.h | 127 int EFqRand(EccPointFq* result, BitSupplier rnd_func, void* rnd_param); 252 int EFqJRand(EccPointJacobiFq* result, BitSupplier rnd_func, void* rnd_param);
|
/external/epid-sdk/epid/member/src/ |
D | presig.c | 193 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, a); in MemberComputePreSig() 209 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, rx); in MemberComputePreSig() 211 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, rb); in MemberComputePreSig() 238 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, rb); in MemberComputePreSig()
|
D | nrprove.c | 100 void* rnd_param = ctx->rnd_param; in EpidNrProve() local 153 sts = FfGetRandom(Fp, &kOne, rnd_func, rnd_param, mu); in EpidNrProve() 180 sts = FfGetRandom(Fp, &kOne, rnd_func, rnd_param, rmu); in EpidNrProve()
|
/external/epid-sdk/epid/member/ |
D | software_member.h | 41 void* rnd_param; ///< User data that will be passed to the user_data member
|
/external/epid-sdk/epid/common/math/src/ |
D | ecdsa_sign.c | 34 void* rnd_param, EcdsaSignature* sig) { in EcdsaSignBuffer() argument 167 (IppBitSupplier)rnd_func, rnd_param); in EcdsaSignBuffer()
|
/external/epid-sdk/epid/common/math/ |
D | ecdsa.h | 108 void* rnd_param, EcdsaSignature* sig);
|
/external/epid-sdk/example/util/ |
D | convutil.h | 95 void SetMemberParams(BitSupplier rnd_func, void* rnd_param, FpElemStr* f,
|