Lines Matching refs:ff_elem
413 FfElement* ff_elem = NULL; in NewFfElement() local
446 ff_elem = (FfElement*)SAFE_ALLOC(sizeof(FfElement)); in NewFfElement()
447 if (!ff_elem) { in NewFfElement()
452 ff_elem->ipp_ff_elem = ipp_ff_elem; in NewFfElement()
453 ff_elem->element_len = ff->element_len; in NewFfElement()
454 ff_elem->degree = ff->ground_degree; in NewFfElement()
456 *new_ff_elem = ff_elem; in NewFfElement()
462 SAFE_FREE(ff_elem); in NewFfElement()
467 void DeleteFfElement(FfElement** ff_elem) { in DeleteFfElement() argument
468 if (ff_elem) { in DeleteFfElement()
469 if (*ff_elem) { in DeleteFfElement()
470 SAFE_FREE((*ff_elem)->ipp_ff_elem); in DeleteFfElement()
472 SAFE_FREE(*ff_elem); in DeleteFfElement()
529 FfElement* ff_elem, FiniteField* ff) { in SetFfElementOctString() argument
532 if (!ff || !ff_elem || !ff_elem_str) { in SetFfElementOctString()
555 ff_elem->ipp_ff_elem, ff->ipp_ff); in SetFfElementOctString()
558 ff_elem->ipp_ff_elem, ff->ipp_ff); in SetFfElementOctString()
574 size_t strlen, FfElement* ff_elem) { in ReadFfElement() argument
580 if (!ff || !ff_elem_str || !ff_elem) { in ReadFfElement()
583 if (!ff_elem->ipp_ff_elem || !ff->ipp_ff) { in ReadFfElement()
587 if (ff->element_len != ff_elem->element_len) { in ReadFfElement()
614 result = SetFfElementOctString(str, ipp_str_size, ff_elem, ff); in ReadFfElement()
648 FfElement* ff_elem) { in InitFfElementFromBn() argument
654 if (!ff || !bn || !ff_elem) { in InitFfElementFromBn()
657 if (!ff_elem->ipp_ff_elem || !ff->ipp_ff) { in InitFfElementFromBn()
663 if (ff->element_len != ff_elem->element_len) { in InitFfElementFromBn()
690 result = ReadFfElement(ff, mod_str, elem_size, ff_elem); in InitFfElementFromBn()
702 EpidStatus WriteFfElement(FiniteField* ff, FfElement const* ff_elem, in WriteFfElement() argument
709 if (!ff || !ff_elem_str || !ff_elem) { in WriteFfElement()
712 if (!ff_elem->ipp_ff_elem || !ff->ipp_ff) { in WriteFfElement()
718 if (ff->element_len != ff_elem->element_len) { in WriteFfElement()
737 sts = ippsGFpGetElementOctString(ff_elem->ipp_ff_elem, str, (int)strlen, in WriteFfElement()