/external/epid-sdk/epid/common/math/src/ |
D | tatepairing.c | 150 result = NewFfElement(pairing_state_ctx->Fq3, in NewEpid11PairingState() 153 result = NewFfElement(pairing_state_ctx->Fq, &neg_qnr); in NewEpid11PairingState() 155 result = NewFfElement(pairing_state_ctx->Fq, &qnr); in NewEpid11PairingState() 157 result = NewFfElement(pairing_state_ctx->Fq, &inv_qnr); in NewEpid11PairingState() 178 result = NewFfElement(pairing_state_ctx->Fq3, in NewEpid11PairingState() 191 result = NewFfElement(pairing_state_ctx->Fq, &pairing_state_ctx->a); in NewEpid11PairingState() 235 result = NewFfElement(pairing_state_ctx->Fq3, in NewEpid11PairingState() 357 result = NewFfElement(ps->Fq3, &b0); in Epid11Pairing() 359 result = NewFfElement(ps->Fq3, &b1); in Epid11Pairing() 369 result = NewFfElement(ps->ff, &pQx); in Epid11Pairing() [all …]
|
D | pairing.c | 179 result = NewFfElement(Ffq2, &xi); in NewPairingState() 213 result = NewFfElement(Ffq2, &pairing_state_ctx->g[i][j]); in NewPairingState() 369 result = NewFfElement(ps->Fq, &ax); in Pairing() 371 result = NewFfElement(ps->Fq, &ay); in Pairing() 373 result = NewFfElement(ps->Fq2, &bx); in Pairing() 375 result = NewFfElement(ps->Fq2, &by); in Pairing() 377 result = NewFfElement(ps->Fq2, &x); in Pairing() 379 result = NewFfElement(ps->Fq2, &y); in Pairing() 381 result = NewFfElement(ps->Fq2, &z); in Pairing() 383 result = NewFfElement(ps->Fq2, &z2); in Pairing() [all …]
|
D | finitefield.c | 328 status = NewFfElement(ground_field, &ff_elems[i]); in NewFiniteFieldViaPolynomialExtension() 410 EpidStatus NewFfElement(FiniteField const* ff, FfElement** new_ff_elem) { in NewFfElement() function 1287 result = NewFfElement(ff, &low); in FfGetRandom() 1372 result = NewFfElement(ff, &qm1_ffe); in FfSqrt() 1388 result = NewFfElement(ff, &g); in FfSqrt() 1392 result = NewFfElement(ff, &gg); in FfSqrt() 1412 result = NewFfElement(ff, &ge); in FfSqrt() 1416 result = NewFfElement(ff, &h); in FfSqrt() 1420 result = NewFfElement(ff, &temp); in FfSqrt() 1424 result = NewFfElement(ff, &one_ffe); in FfSqrt() [all …]
|
D | ecgroup.c | 326 result = NewFfElement(fp, &fp_x); in eccontains() 332 result = NewFfElement(fp, &fp_y); in eccontains() 438 result = NewFfElement(fp, &fp_x); in WriteEcPoint() 444 result = NewFfElement(fp, &fp_y); in WriteEcPoint() 964 result = NewFfElement(ff, &a); in Epid11EcHash() 966 result = NewFfElement(ff, &b); in Epid11EcHash() 968 result = NewFfElement(ff, &rx); in Epid11EcHash() 970 result = NewFfElement(ff, &t1); in Epid11EcHash() 972 result = NewFfElement(ff, &t2); in Epid11EcHash()
|
/external/epid-sdk/epid/common/1.1/src/ |
D | epid11params.c | 206 result = NewFfElement(Fq, &qnr); in NewFqk() 212 result = NewFfElement(Fq, &neg_qnr); in NewFqk() 222 result = NewFfElement(Fqd, &ground_element); in NewFqk() 257 result = NewFfElement(Fq, &fq_a); in NewG1() 262 result = NewFfElement(Fq, &fq_b); in NewG1() 267 result = NewFfElement(Fq, &g1_x); in NewG1() 272 result = NewFfElement(Fq, &g1_y); in NewG1() 321 result = NewFfElement(Fq_dash, &fq_a); in NewG3() 327 result = NewFfElement(Fq_dash, &fq_b); in NewG3() 333 result = NewFfElement(Fq_dash, &g3_x); in NewG3() [all …]
|
/external/epid-sdk/epid/common/src/ |
D | epid2params.c | 114 result = NewFfElement(internal_param->Fq, &internal_param->b); in CreateEpid2Params() 123 result = NewFfElement(internal_param->Fq2, &internal_param->xi); in CreateEpid2Params() 265 result = NewFfElement(Fq, &beta); in NewFq2() 269 result = NewFfElement(Fq, &neg_beta); in NewFq2() 303 result = NewFfElement(Fq2, &neg_xi); in NewFq6() 347 result = NewFfElement(Fq, &fq_a); in NewG1() 352 result = NewFfElement(Fq, &fq_b); in NewG1() 361 result = NewFfElement(Fq, &g1_x); in NewG1() 370 result = NewFfElement(Fq, &g1_y); in NewG1() 433 result = NewFfElement(Fq2, &b); in NewG2() [all …]
|
/external/epid-sdk/epid/verifier/src/ |
D | verifybasic.c | 107 res = NewFfElement(GT, &R2); in EpidVerifyBasicSig() 109 res = NewFfElement(GT, &t2); in EpidVerifyBasicSig() 112 res = NewFfElement(Fp, &c); in EpidVerifyBasicSig() 114 res = NewFfElement(Fp, &sx); in EpidVerifyBasicSig() 116 res = NewFfElement(Fp, &sf); in EpidVerifyBasicSig() 118 res = NewFfElement(Fp, &sa); in EpidVerifyBasicSig() 120 res = NewFfElement(Fp, &sb); in EpidVerifyBasicSig() 122 res = NewFfElement(Fp, &nc); in EpidVerifyBasicSig() 124 res = NewFfElement(Fp, &nsx); in EpidVerifyBasicSig() 126 res = NewFfElement(Fp, &c_hash); in EpidVerifyBasicSig()
|
D | nrverify.c | 115 sts = NewFfElement(Fp, &c_el); in EpidNrVerify() 117 sts = NewFfElement(Fp, &nc_el); in EpidNrVerify() 119 sts = NewFfElement(Fp, &smu_el); in EpidNrVerify() 121 sts = NewFfElement(Fp, &snu_el); in EpidNrVerify() 123 sts = NewFfElement(Fp, &commit_hash); in EpidNrVerify()
|
D | context.c | 154 result = NewFfElement(verifier_ctx->epid2_params->GT, &verifier_ctx->e12); in EpidVerifierCreate() 159 result = NewFfElement(verifier_ctx->epid2_params->GT, &verifier_ctx->e22); in EpidVerifierCreate() 164 result = NewFfElement(verifier_ctx->epid2_params->GT, &verifier_ctx->e2w); in EpidVerifierCreate() 169 result = NewFfElement(verifier_ctx->epid2_params->GT, &verifier_ctx->eg12); in EpidVerifierCreate()
|
D | check_privrl_entry.c | 44 result = NewFfElement(Fp, &ff_elem); in EpidCheckPrivRlEntry()
|
/external/epid-sdk/epid/member/src/ |
D | signbasic.c | 124 sts = NewFfElement(GT, &R2); in EpidSignBasic() 126 sts = NewFfElement(Fq, &p2y); in EpidSignBasic() 128 sts = NewFfElement(Fp, &t1); in EpidSignBasic() 130 sts = NewFfElement(Fp, &t2); in EpidSignBasic() 138 sts = NewFfElement(Fp, &a); in EpidSignBasic() 140 sts = NewFfElement(Fp, &b); in EpidSignBasic() 142 sts = NewFfElement(Fp, &rx); in EpidSignBasic() 144 sts = NewFfElement(Fp, &ra); in EpidSignBasic() 146 sts = NewFfElement(Fp, &rb); in EpidSignBasic() 262 sts = NewFfElement(Fp, &t3); in EpidSignBasic() [all …]
|
D | presig.c | 138 sts = NewFfElement(Fq, &p2y); in MemberComputePreSig() 151 sts = NewFfElement(GT, &R2); in MemberComputePreSig() 153 sts = NewFfElement(Fp, &a); in MemberComputePreSig() 155 sts = NewFfElement(Fp, &rx); in MemberComputePreSig() 157 sts = NewFfElement(Fp, &rb); in MemberComputePreSig() 159 sts = NewFfElement(Fp, &t1); in MemberComputePreSig() 161 sts = NewFfElement(Fp, &t2); in MemberComputePreSig()
|
D | nrprove.c | 123 sts = NewFfElement(Fp, &y2); in EpidNrProve() 132 sts = NewFfElement(Fp, &mu); in EpidNrProve() 134 sts = NewFfElement(Fp, &nu); in EpidNrProve() 136 sts = NewFfElement(Fp, &rmu); in EpidNrProve() 228 sts = NewFfElement(Fp, &t2); in EpidNrProve() 231 sts = NewFfElement(Fp, &c); in EpidNrProve()
|
D | context.c | 98 sts = NewFfElement(ctx->epid2_params->Fp, (FfElement**)&ctx->x); in EpidMemberInit() 108 sts = NewFfElement(ctx->epid2_params->GT, (FfElement**)&ctx->e12); in EpidMemberInit() 110 sts = NewFfElement(ctx->epid2_params->GT, (FfElement**)&ctx->e22); in EpidMemberInit() 112 sts = NewFfElement(ctx->epid2_params->GT, (FfElement**)&ctx->e2w); in EpidMemberInit() 114 sts = NewFfElement(ctx->epid2_params->GT, (FfElement**)&ctx->ea2); in EpidMemberInit()
|
D | decompress_privkey.c | 104 result = NewFfElement(Fp, &priv_key_.x); in EpidDecompressPrivKey() 106 result = NewFfElement(Fp, &priv_key_.f); in EpidDecompressPrivKey() 109 result = NewFfElement(Fq, &Ax); in EpidDecompressPrivKey() 115 result = NewFfElement(GT, &t3); in EpidDecompressPrivKey() 117 result = NewFfElement(GT, &t4); in EpidDecompressPrivKey()
|
D | privateexp.c | 93 sts = NewFfElement(Fp, &k); in EpidPrivateExp() 95 sts = NewFfElement(Fp, &s); in EpidPrivateExp()
|
D | validatekey.c | 84 sts = NewFfElement(GT, &t3); in EpidMemberIsKeyValid() 108 sts = NewFfElement(GT, &t4); in EpidMemberIsKeyValid()
|
D | join.c | 122 sts = NewFfElement(Fp, &k); in EpidCreateJoinRequest() 124 sts = NewFfElement(Fp, &s); in EpidCreateJoinRequest()
|
D | sign_commitment.c | 53 sts = NewFfElement(Fp, &c); in HashSignCommitment()
|
D | join_commitment.c | 72 sts = NewFfElement(Fp, &c); in HashJoinCommitment()
|
D | nrprove_commitment.c | 95 sts = NewFfElement(Fp, &c); in HashNrProveCommitment()
|
/external/epid-sdk/epid/member/tpm2/src/ |
D | commit.c | 105 sts = NewFfElement(Fq, &x2); in Tpm2Commit() 128 sts = NewFfElement(Fp, &r); in Tpm2Commit()
|
D | load_external.c | 47 sts = NewFfElement(Fp, &ctx->f); in Tpm2LoadExternal()
|
D | createprimary.c | 46 sts = NewFfElement(Fp, &ff_elem); in Tpm2CreatePrimary()
|
/external/epid-sdk/epid/verifier/1.1/src/ |
D | context.c | 145 result = NewFfElement(verifier_ctx->epid11_params->GT, &verifier_ctx->e12); in Epid11VerifierCreate() 148 result = NewFfElement(verifier_ctx->epid11_params->GT, &verifier_ctx->e22); in Epid11VerifierCreate() 151 result = NewFfElement(verifier_ctx->epid11_params->GT, &verifier_ctx->e2w); in Epid11VerifierCreate()
|