Lines Matching refs:sig
60 NativeBasicSignature* sig) { in EpidSignBasic() argument
83 if (!EFqHash(&sig->B, (const unsigned char*)basename, basename_len, in EpidSignBasic()
89 if (!EFqRand(&sig->B, ctx->rnd_func, ctx->rnd_param)) { in EpidSignBasic()
95 EFqAffineExp(&sig->K, &sig->B, &ctx->f); in EpidSignBasic()
96 EFqCp(&sig->T, &presig.T); in EpidSignBasic()
101 if (!EFqAffineExp(&presig.R1, &sig->B, &presig.rf)) { in EpidSignBasic()
121 EFqSerialize(&g1_str, &sig->B); in EpidSignBasic()
123 EFqSerialize(&g1_str, &sig->K); in EpidSignBasic()
125 EFqSerialize(&g1_str, &sig->T); in EpidSignBasic()
132 FpFromHash(&sig->c, digest.digest, tinysha_digest_size(&sha_state)); in EpidSignBasic()
136 FpSerialize(&fp_str, &sig->c); in EpidSignBasic()
141 FpFromHash(&sig->c, digest.digest, tinysha_digest_size(&sha_state)); in EpidSignBasic()
146 FpMul(&sig->sx, &sig->c, &x); in EpidSignBasic()
147 FpMul(&sig->sf, &sig->c, &ctx->f); in EpidSignBasic()
148 FpMul(&sig->sa, &sig->c, &presig.a); in EpidSignBasic()
149 FpMul(&sig->sb, &sig->c, &presig.b); in EpidSignBasic()
150 FpAdd(&sig->sx, &sig->sx, &presig.rx); in EpidSignBasic()
151 FpAdd(&sig->sf, &sig->sf, &presig.rf); in EpidSignBasic()
152 FpAdd(&sig->sa, &sig->sa, &presig.ra); in EpidSignBasic()
153 FpAdd(&sig->sb, &sig->sb, &presig.rb); in EpidSignBasic()