Home
last modified time | relevance | path

Searched refs:FqAdd (Results 1 – 6 of 6) sorted by relevance

/external/epid-sdk/epid/member/tiny/math/src/
Dfq2.c40 FqAdd(&(result->x0), &(left->x0), &(right->x0)); in Fq2Add()
41 FqAdd(&(result->x1), &(left->x1), &(right->x1)); in Fq2Add()
74 FqAdd(a, &left->x0, &left->x1); in Fq2Mul()
75 FqAdd(b, &right->x0, &right->x1); in Fq2Mul()
82 FqAdd(&result->x0, &result->x0, b); in Fq2Mul()
92 FqAdd(temp, temp, temp2); in Fq2Inv()
114 FqAdd(temp_a, &in->x0, &in->x1); in Fq2Square()
118 FqAdd(&result->x1, temp_b, temp_b); in Fq2Square()
141 FqAdd(temp, &in->x0, &in->x0); in Fq2MulXi()
143 FqAdd(&result->x1, &in->x1, &in->x1); in Fq2MulXi()
[all …]
Defq.c33 FqAdd(&fq_sqrt, &fq_sqrt, &fq_tmp); in EFqMakePoint()
136 FqAdd(&(result->Z), &(in->Z), &(in->Z)); in EFqDbl()
139 FqAdd(&fq_b, &fq_a, &fq_a); in EFqDbl()
140 FqAdd(&fq_b, &fq_b, &fq_a); in EFqDbl()
142 FqAdd(&fq_a, &fq_a, &fq_a); in EFqDbl()
144 FqAdd(&(result->Y), &(result->Y), &(result->Y)); in EFqDbl()
145 FqAdd(&fq_a, &fq_a, &fq_a); in EFqDbl()
201 FqAdd(&fq1, &fq0, &fq1); in EFqAdd()
322 FqAdd(&tmp, &tmp, &three); in EFqHash()
390 FqAdd(&fq1, &fq2, &fq2); in EFqJOnCurve()
[all …]
Dfq.c39 void FqAdd(FqElem* result, FqElem const* left, FqElem const* right) { in FqAdd() function
Dpairing.c47 FqAdd(&state->g[1][i].x0, &state->g[1][i].x0, &state->g[1][i].x1); in PairingInit()
/external/epid-sdk/epid/member/tiny/math/unittests/
Dfq-test.cc56 FqAdd(&result, &left, &right); in TEST()
63 FqAdd(&result, &q_minus_one, &right); in TEST()
/external/epid-sdk/epid/member/tiny/math/
Dfq.h45 void FqAdd(FqElem* result, FqElem const* left, FqElem const* right);