Home
last modified time | relevance | path

Searched refs:fq_a (Results 1 – 7 of 7) sorted by relevance

/external/epid-sdk/epid/member/tiny/math/unittests/
Dfq6-test.cc312 FqElem fq_a = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
316 Fq6Elem a = {fq_a, fq_a, fq_a, fq_a, fq_a, fq_a}; in TEST()
322 FqElem fq_a = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
326 Fq6Elem a = {fq_a, fq_a, fq_a, fq_a, fq_a, fq_a}; in TEST()
Dfq2-test.cc300 FqElem fq_a = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
304 Fq2Elem a = {fq_a, fq_a}; in TEST()
310 FqElem fq_a = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
314 Fq2Elem a = {fq_a, fq_a}; in TEST()
/external/epid-sdk/epid/member/tiny/math/src/
Defq.c133 FqElem fq_a; in EFqDbl() local
138 FqSquare(&fq_a, &(in->X)); in EFqDbl()
139 FqAdd(&fq_b, &fq_a, &fq_a); in EFqDbl()
140 FqAdd(&fq_b, &fq_b, &fq_a); in EFqDbl()
141 FqSquare(&fq_a, &(in->Y)); in EFqDbl()
142 FqAdd(&fq_a, &fq_a, &fq_a); in EFqDbl()
143 FqSquare(&(result->Y), &fq_a); in EFqDbl()
145 FqAdd(&fq_a, &fq_a, &fq_a); in EFqDbl()
146 FqMul(&fq_a, &fq_a, &(in->X)); in EFqDbl()
148 FqSub(&(result->X), &(result->X), &fq_a); in EFqDbl()
[all …]
/external/epid-sdk/epid/common/math/unittests/
Dffelement-test.cc116 fq_a = FfElementObj(&fq, &bn_a_str, sizeof(bn_a_str)); in SetUp()
138 fq_a = FfElementObj(&fq, &bn_a_str, sizeof(bn_a_str)); in SetUp()
175 FfElementObj fq_a; member in __anon7a8ed96c0111::FfElementTest
1464 ReadFfElement(this->fq12, buf, sizeof(Fq12ElemStr), this->fq_a)); in TEST_F()
1472 sizeof(ff_elem_str), this->fq_a)); in TEST_F()
1474 ReadFfElement(this->fq, nullptr, sizeof(ff_elem_str), this->fq_a)); in TEST_F()
1481 ReadFfElement(this->fq, &this->fq_qm1_str, 0, this->fq_a)); in TEST_F()
1484 std::numeric_limits<size_t>::max(), this->fq_a)); in TEST_F()
1490 sizeof(this->bn_q_str), this->fq_a)); in TEST_F()
1496 sizeof(this->fq_qm1_str), this->fq_a)); in TEST_F()
[all …]
Decgroup-test.cc193 fq_a = FfElementObj(&fq, a1); in SetUp()
201 efq = EcGroupObj(&fq, fq_a, fq_b, g1_x, g1_y, bn_p, bn_h); in SetUp()
237 FfElementObj fq_a; member in __anon4a5873cb0111::EcGroupTest
602 EXPECT_EQ(kEpidBadArgErr, NewEcGroup(fq2, this->fq_a, this->fq_b, this->g1_x, in TEST_F()
608 EXPECT_EQ(kEpidBadArgErr, NewEcGroup(this->fq, this->fq_a, fq2_b, this->g1_x, in TEST_F()
611 EXPECT_EQ(kEpidBadArgErr, NewEcGroup(this->fq, this->fq_a, this->fq_b, g2_x, in TEST_F()
615 NewEcGroup(this->fq, this->fq_a, this->fq_b, this->g1_x, g2_y, in TEST_F()
625 sts = NewEcGroup(this->fq, this->fq_a, nullptr, this->g1_x, this->g1_y, in TEST_F()
628 sts = NewEcGroup(this->fq, this->fq_a, this->fq_b, nullptr, this->g1_y, in TEST_F()
631 sts = NewEcGroup(this->fq, this->fq_a, this->fq_b, this->g1_x, nullptr, in TEST_F()
[all …]
/external/epid-sdk/epid/common/1.1/src/
Depid11params.c243 FfElement* fq_a = NULL; in NewG1() local
257 result = NewFfElement(Fq, &fq_a); in NewG1()
259 result = ReadFfElement(Fq, &params->a, sizeof(params->a), fq_a); in NewG1()
287 result = NewEcGroup(Fq, fq_a, fq_b, g1_x, g1_y, order, h, &ec); in NewG1()
298 DeleteFfElement(&fq_a); in NewG1()
307 FfElement* fq_a = NULL; in NewG3() local
321 result = NewFfElement(Fq_dash, &fq_a); in NewG3()
324 ReadFfElement(Fq_dash, &params->a_tick, sizeof(params->a_tick), fq_a); in NewG3()
353 result = NewEcGroup(Fq_dash, fq_a, fq_b, g3_x, g3_y, order, h_tick, &ec); in NewG3()
364 DeleteFfElement(&fq_a); in NewG3()
/external/epid-sdk/epid/common/src/
Depid2params.c326 FfElement* fq_a = NULL; in NewG1() local
347 result = NewFfElement(Fq, &fq_a); in NewG1()
397 result = NewEcGroup(Fq, fq_a, fq_b, g1_x, g1_y, order, cofactor, &ec); in NewG1()
410 DeleteFfElement(&fq_a); in NewG1()