Home
last modified time | relevance | path

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

/external/epid-sdk/epid/member/tiny/math/unittests/
Dfq6-test.cc314 FqElem fq_b = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
317 Fq6Elem b = {fq_b, fq_b, fq_b, fq_b, fq_b, fq_b}; in TEST()
324 FqElem fq_b = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
327 Fq6Elem b = {fq_b, fq_b, fq_b, fq_b, fq_b, fq_b}; in TEST()
Dfq2-test.cc302 FqElem fq_b = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
305 Fq2Elem b = {fq_b, fq_b}; in TEST()
312 FqElem fq_b = {{0xAED33012, 0xD3292DDB, 0x12980A82, 0x0CDC65FB, 0xEE71A49F, in TEST() local
315 Fq2Elem b = {fq_b, fq_b}; in TEST()
/external/epid-sdk/epid/common/math/unittests/
Dffelement-test.cc139 fq_b = FfElementObj(&fq, &bn_b_str, sizeof(bn_b_str)); in SetUp()
176 FfElementObj fq_b; member in __anon7a8ed96c0111::FfElementTest
1575 FfIsEqual(this->fq12, this->fq_a, this->fq_b, &result)); in TEST_F()
1577 FfIsEqual(this->fq, this->fq12_g, this->fq_b, &result)); in TEST_F()
1600 EXPECT_EQ(kEpidNoErr, FfIsEqual(this->fq, this->fq_a, this->fq_b, &result)); in TEST_F()
1749 FfMul(nullptr, this->fq_a, this->fq_b, this->fq_result)); in TEST_F()
1751 FfMul(this->fq, nullptr, this->fq_b, this->fq_result)); in TEST_F()
1754 EXPECT_EQ(kEpidBadArgErr, FfMul(this->fq, this->fq_a, this->fq_b, nullptr)); in TEST_F()
1759 FfMul(this->fq12, this->fq_a, this->fq_b, this->fq_result)); in TEST_F()
1761 FfMul(this->fq, this->fq12_g, this->fq_b, this->fq_result)); in TEST_F()
[all …]
Decgroup-test.cc194 fq_b = FfElementObj(&fq, b1); in SetUp()
201 efq = EcGroupObj(&fq, fq_a, fq_b, g1_x, g1_y, bn_p, bn_h); in SetUp()
238 FfElementObj fq_b; member in __anon4a5873cb0111::EcGroupTest
602 EXPECT_EQ(kEpidBadArgErr, NewEcGroup(fq2, this->fq_a, this->fq_b, this->g1_x, in TEST_F()
605 EXPECT_EQ(kEpidBadArgErr, NewEcGroup(this->fq, fq2_a, this->fq_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()
622 sts = NewEcGroup(this->fq, nullptr, this->fq_b, 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.c244 FfElement* fq_b = NULL; in NewG1() local
262 result = NewFfElement(Fq, &fq_b); in NewG1()
264 result = ReadFfElement(Fq, &params->b, sizeof(params->b), fq_b); in NewG1()
287 result = NewEcGroup(Fq, fq_a, fq_b, g1_x, g1_y, order, h, &ec); in NewG1()
297 DeleteFfElement(&fq_b); in NewG1()
308 FfElement* fq_b = NULL; in NewG3() local
327 result = NewFfElement(Fq_dash, &fq_b); in NewG3()
330 ReadFfElement(Fq_dash, &params->b_tick, sizeof(params->b_tick), fq_b); in NewG3()
353 result = NewEcGroup(Fq_dash, fq_a, fq_b, g3_x, g3_y, order, h_tick, &ec); in NewG3()
363 DeleteFfElement(&fq_b); in NewG3()
/external/epid-sdk/epid/member/tiny/math/src/
Defq.c134 FqElem fq_b; in EFqDbl() local
139 FqAdd(&fq_b, &fq_a, &fq_a); in EFqDbl()
140 FqAdd(&fq_b, &fq_b, &fq_a); in EFqDbl()
147 FqSquare(&(result->X), &fq_b); in EFqDbl()
151 FqMul(&fq_a, &fq_a, &fq_b); in EFqDbl()
/external/epid-sdk/epid/common/src/
Depid2params.c327 FfElement* fq_b = NULL; in NewG1() local
352 result = NewFfElement(Fq, &fq_b); in NewG1()
356 result = ReadFfElement(Fq, &param->b, sizeof(param->b), fq_b); in NewG1()
397 result = NewEcGroup(Fq, fq_a, fq_b, g1_x, g1_y, order, cofactor, &ec); in NewG1()
409 DeleteFfElement(&fq_b); in NewG1()