/external/epid-sdk/epid/member/tiny/math/unittests/ |
D | fq6-test.cc | 314 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()
|
D | fq2-test.cc | 302 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/ |
D | ffelement-test.cc | 139 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 …]
|
D | ecgroup-test.cc | 194 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/ |
D | epid11params.c | 244 FfElement* fq_b = NULL; in NewG1() local 262 result = NewFfElement(Fq, &fq_b); in NewG1() 264 result = ReadFfElement(Fq, ¶ms->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, ¶ms->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/ |
D | efq.c | 134 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/ |
D | epid2params.c | 327 FfElement* fq_b = NULL; in NewG1() local 352 result = NewFfElement(Fq, &fq_b); in NewG1() 356 result = ReadFfElement(Fq, ¶m->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()
|