Lines Matching refs:cofactor
331 BigNum* cofactor = NULL; in NewG1() local
388 result = NewBigNum(sizeof(BigNumStr), &cofactor); in NewG1()
393 result = ReadBigNum(&h1, sizeof(h1), cofactor); in NewG1()
397 result = NewEcGroup(Fq, fq_a, fq_b, g1_x, g1_y, order, cofactor, &ec); in NewG1()
405 DeleteBigNum(&cofactor); in NewG1()
424 BigNum* cofactor = NULL; in NewG2() local
476 result = NewBigNum(2 * sizeof(param->q), &cofactor); in NewG2()
480 result = BigNumAdd(q, q, cofactor); in NewG2()
484 result = BigNumSub(cofactor, p, cofactor); in NewG2()
493 result = BigNumMul(p, cofactor, order); in NewG2()
503 result = NewEcGroup(Fq2, a, b, x, y, order, cofactor, &ec); in NewG2()
511 DeleteBigNum(&cofactor); in NewG2()