Lines Matching refs:BigNumStr
69 EpidStatus NewFiniteField(BigNumStr const* prime, FiniteField** ff) { in NewFiniteField()
77 Ipp32u bnu[sizeof(BigNumStr) / sizeof(Ipp32u)]; in NewFiniteField()
79 int bit_size = CHAR_BIT * sizeof(BigNumStr); in NewFiniteField()
117 status = NewBigNum(sizeof(BigNumStr), &prime_bn); in NewFiniteField()
123 status = ReadBigNum(prime, sizeof(BigNumStr), prime_bn); in NewFiniteField()
276 BigNumStr const* irr_polynomial, in NewFiniteFieldViaPolynomialExtension()
293 if (degree < 1 || degree > (int)(INT_MAX / sizeof(BigNumStr)) || in NewFiniteFieldViaPolynomialExtension()
335 sizeof(BigNumStr), ff_elems[i]); in NewFiniteFieldViaPolynomialExtension()
962 EpidStatus FfMultiExp(FiniteField* ff, FfElement const** p, BigNumStr const** b, in FfMultiExp()
1004 const int exp_bit_size = CHAR_BIT * sizeof(BigNumStr); in FfMultiExp()
1030 result = NewBigNum(sizeof(BigNumStr), &bignums[i]); in FfMultiExp()
1032 result = ReadBigNum(b[i], sizeof(BigNumStr), bignums[i]); in FfMultiExp()
1179 BigNumStr const** b, size_t m, FfElement* r) { in FfSscmMultiExp()
1268 EpidStatus FfGetRandom(FiniteField* ff, BigNumStr const* low_bound, in FfGetRandom()
1357 BigNumStr qm1_str; in FfSqrt()
1358 const BigNumStr zero_str = {0}; in FfSqrt()
1364 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &qm1); in FfSqrt()
1368 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &one); in FfSqrt()
1376 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &two); in FfSqrt()
1380 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &qm1d2); in FfSqrt()
1384 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &remainder); in FfSqrt()
1396 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &t); in FfSqrt()
1400 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &e); in FfSqrt()
1404 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &j); in FfSqrt()
1408 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &qm1dj); in FfSqrt()
1428 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &ed2); in FfSqrt()
1436 result = NewBigNum(sizeof(BigNumStr) * CHAR_BIT, &tp1d2); in FfSqrt()