Home
last modified time | relevance | path

Searched refs:FfGetRandom (Results 1 – 9 of 9) sorted by relevance

/external/epid-sdk/epid/member/tpm2/unittests/
Dcommit-simulator-test.cc66 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F()
111 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F()
156 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F()
201 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F()
244 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F()
281 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F()
Dsign-simulator-test.cc61 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r1)); in TEST_F()
/external/epid-sdk/epid/member/src/
Dpresig.c193 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()
Dnrprove.c153 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/common/math/unittests/
Dffelement-test.cc2802 FfGetRandom(this->fq12, &this->bn_1_str, &Prng::Generate, &my_prng, in TEST_F()
2805 FfGetRandom(this->fq, &this->bn_1_str, &Prng::Generate, &my_prng, in TEST_F()
2812 EXPECT_EQ(kEpidBadArgErr, FfGetRandom(nullptr, &this->bn_1_str, in TEST_F()
2815 FfGetRandom(this->fq, nullptr, &Prng::Generate, &my_prng, r)); in TEST_F()
2817 FfGetRandom(this->fq, &this->bn_1_str, nullptr, &my_prng, r)); in TEST_F()
2818 EXPECT_EQ(kEpidBadArgErr, FfGetRandom(this->fq, &this->bn_1_str, in TEST_F()
2824 EXPECT_EQ(kEpidNoErr, FfGetRandom(this->fq2, &this->bn_1_str, &Prng::Generate, in TEST_F()
2830 EXPECT_EQ(kEpidNoErr, FfGetRandom(this->fq6, &this->bn_1_str, &Prng::Generate, in TEST_F()
2836 EXPECT_EQ(kEpidNoErr, FfGetRandom(this->fq12, &this->bn_1_str, in TEST_F()
2845 EXPECT_EQ(kEpidNoErr, FfGetRandom(this->fq, &this->bn_1_str, &Prng::Generate, in TEST_F()
[all …]
/external/epid-sdk/epid/member/tpm2/src/
Dcreateprimary.c48 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, ff_elem); in Tpm2CreatePrimary()
Dcommit.c130 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, r); in Tpm2Commit()
/external/epid-sdk/epid/common/math/
Dfinitefield.h490 EpidStatus FfGetRandom(FiniteField* ff, BigNumStr const* low_bound,
/external/epid-sdk/epid/common/math/src/
Dfinitefield.c1268 EpidStatus FfGetRandom(FiniteField* ff, BigNumStr const* low_bound, in FfGetRandom() function