Lines Matching refs:eg12
169 result = NewFfElement(verifier_ctx->epid2_params->GT, &verifier_ctx->eg12); in EpidVerifierCreate()
195 DeleteFfElement(&verifier_ctx->eg12); in EpidVerifierCreate()
208 DeleteFfElement(&(*ctx)->eg12); in EpidVerifierDelete()
231 FfElement* eg12 = NULL; // an element in GT in EpidVerifierWritePrecomp() local
239 if (!ctx->e12 || !ctx->e22 || !ctx->e2w || !ctx->eg12 || !ctx->epid2_params || in EpidVerifierWritePrecomp()
246 eg12 = ctx->eg12; in EpidVerifierWritePrecomp()
261 result = WriteFfElement(GT, eg12, &(precomp->eg12), sizeof(precomp->eg12)); in EpidVerifierWritePrecomp()
600 FfElement* eg12 = NULL; in DoPrecomputation() local
609 !ctx->e22 || !ctx->e2w || !ctx->eg12) { in DoPrecomputation()
617 eg12 = ctx->eg12; in DoPrecomputation()
636 result = Pairing(ps_ctx, params->g1, params->g2, eg12); in DoPrecomputation()
648 FfElement* eg12 = NULL; in ReadPrecomputation() local
655 !ctx->e2w || !ctx->eg12 || !ctx->pub_key) { in ReadPrecomputation()
667 eg12 = ctx->eg12; in ReadPrecomputation()
682 ReadFfElement(GT, &precomp_str->eg12, sizeof(precomp_str->eg12), eg12); in ReadPrecomputation()