Lines Matching refs:ipp_ff
151 finitefield_ptr->ipp_ff = ipp_finitefield_ctx; in NewFiniteField()
179 } else if (degree < 2 || !ground_field->ipp_ff || in NewFiniteFieldViaBinomalExtension()
186 sts = ippsGFpxGetSize(ground_field->ipp_ff, degree, &state_size_in_bytes); in NewFiniteFieldViaBinomalExtension()
205 ground_field->ipp_ff, degree, ground_element->ipp_ff_elem, in NewFiniteFieldViaBinomalExtension()
260 finitefield_ptr->ipp_ff = ipp_finitefield_ctx; in NewFiniteFieldViaBinomalExtension()
294 !ground_field->ipp_ff) { in NewFiniteFieldViaPolynomialExtension()
300 sts = ippsGFpxGetSize(ground_field->ipp_ff, degree, &state_size_in_bytes); in NewFiniteFieldViaPolynomialExtension()
343 sts = ippsGFpxInit(ground_field->ipp_ff, degree, in NewFiniteFieldViaPolynomialExtension()
379 finitefield_ptr->ipp_ff = ipp_finitefield_ctx; in NewFiniteFieldViaPolynomialExtension()
403 SAFE_FREE((*ff)->ipp_ff); in DeleteFiniteField()
422 } else if (!ff->ipp_ff) { in NewFfElement()
427 sts = ippsGFpElementGetSize(ff->ipp_ff, (int*)&ctxsize); in NewFfElement()
440 sts = ippsGFpElementInit(&zero, 1, ipp_ff_elem, ff->ipp_ff); in NewFfElement()
555 ff_elem->ipp_ff_elem, ff->ipp_ff); in SetFfElementOctString()
558 ff_elem->ipp_ff_elem, ff->ipp_ff); in SetFfElementOctString()
583 if (!ff_elem->ipp_ff_elem || !ff->ipp_ff) { in ReadFfElement()
637 if (!ff->ipp_ff) { in GetFiniteFieldPrime()
657 if (!ff_elem->ipp_ff_elem || !ff->ipp_ff) { in InitFfElementFromBn()
712 if (!ff_elem->ipp_ff_elem || !ff->ipp_ff) { in WriteFfElement()
738 ff->ipp_ff); in WriteFfElement()
754 } else if (!ff->ipp_ff || !a->ipp_ff_elem || !r->ipp_ff_elem) { in FfNeg()
760 sts = ippsGFpNeg(a->ipp_ff_elem, r->ipp_ff_elem, ff->ipp_ff); in FfNeg()
776 } else if (!ff->ipp_ff || !a->ipp_ff_elem || !r->ipp_ff_elem) { in FfInv()
783 sts = ippsGFpInv(a->ipp_ff_elem, r->ipp_ff_elem, ff->ipp_ff); in FfInv()
801 } else if (!ff->ipp_ff || !a->ipp_ff_elem || !b->ipp_ff_elem || in FfAdd()
810 sts = ippsGFpAdd(a->ipp_ff_elem, b->ipp_ff_elem, r->ipp_ff_elem, ff->ipp_ff); in FfAdd()
824 } else if (!ff->ipp_ff || !a->ipp_ff_elem || !b->ipp_ff_elem || in FfSub()
834 sts = ippsGFpSub(a->ipp_ff_elem, b->ipp_ff_elem, r->ipp_ff_elem, ff->ipp_ff); in FfSub()
849 } else if (!ff->ipp_ff || !a->ipp_ff_elem || !b->ipp_ff_elem || in FfMul()
857 ff->ipp_ff); in FfMul()
865 ippsGFpMul(a->ipp_ff_elem, b->ipp_ff_elem, r->ipp_ff_elem, ff->ipp_ff); in FfMul()
883 } else if (!ff->ipp_ff || !a->ipp_ff_elem) { in FfIsZero()
890 sts = ippsGFpIsZeroElement(a->ipp_ff_elem, &ipp_result, ff->ipp_ff); in FfIsZero()
919 } else if (!ff->ipp_ff || !a->ipp_ff_elem || !r->ipp_ff_elem) { in FfExp()
934 sts = ippsGFpScratchBufferSize(1, exp_bit_size, ff->ipp_ff, &element_size); in FfExp()
946 sts = ippsGFpExp(a->ipp_ff_elem, b->ipp_bn, r->ipp_ff_elem, ff->ipp_ff, in FfExp()
975 } else if (!ff->ipp_ff || !r->ipp_ff_elem || m <= 0) { in FfMultiExp()
1039 sts = ippsGFpScratchBufferSize(ipp_m, exp_bit_size, ff->ipp_ff, in FfMultiExp()
1054 r->ipp_ff_elem, ff->ipp_ff, scratch_buffer); in FfMultiExp()
1091 } else if (!ff->ipp_ff || !r->ipp_ff_elem || m <= 0) { in FfMultiExpBn()
1145 sts = ippsGFpScratchBufferSize(ipp_m, exp_bit_size, ff->ipp_ff, in FfMultiExpBn()
1160 r->ipp_ff_elem, ff->ipp_ff, scratch_buffer); in FfMultiExpBn()
1193 if (!ff->ipp_ff || !a->ipp_ff_elem || !b->ipp_ff_elem) { in FfIsEqual()
1200 sts = ippsGFpCmpElement(a->ipp_ff_elem, b->ipp_ff_elem, &result, ff->ipp_ff); in FfIsEqual()
1223 } else if (!ff->ipp_ff || !r->ipp_ff_elem || msg_len <= 0) { in FfHash()
1251 sts = ippsGFpSetElementHash(msg, ipp_msg_len, r->ipp_ff_elem, ff->ipp_ff, in FfHash()
1279 if (!ff->ipp_ff || !r->ipp_ff_elem) { in FfGetRandom()
1297 sts = ippsGFpSetElementRandom(r->ipp_ff_elem, ff->ipp_ff, in FfGetRandom()
1304 ff->ipp_ff); in FfGetRandom()