Lines Matching refs:SAFE_ALLOC
111 ipp_finitefield_ctx = (IppsGFpState*)SAFE_ALLOC(state_size_in_bytes); in NewFiniteField()
139 finitefield_ptr = (FiniteField*)SAFE_ALLOC(sizeof(FiniteField)); in NewFiniteField()
197 ipp_finitefield_ctx = (IppsGFpState*)SAFE_ALLOC(state_size_in_bytes); in NewFiniteFieldViaBinomalExtension()
219 finitefield_ptr = (FiniteField*)SAFE_ALLOC(sizeof(FiniteField)); in NewFiniteFieldViaBinomalExtension()
227 (IppOctStr)SAFE_ALLOC(ground_field->element_len * sizeof(Ipp32u)); in NewFiniteFieldViaBinomalExtension()
311 ipp_finitefield_ctx = (IppsGFpState*)SAFE_ALLOC(state_size_in_bytes); in NewFiniteFieldViaPolynomialExtension()
316 ff_elems = (FfElement**)SAFE_ALLOC(sizeof(FfElement*) * degree); in NewFiniteFieldViaPolynomialExtension()
322 (IppsGFpElement**)SAFE_ALLOC(sizeof(IppsGFpElement*) * degree); in NewFiniteFieldViaPolynomialExtension()
363 finitefield_ptr = (FiniteField*)SAFE_ALLOC(sizeof(FiniteField)); in NewFiniteFieldViaPolynomialExtension()
433 ipp_ff_elem = (IppsGFpElement*)SAFE_ALLOC(ctxsize); in NewFfElement()
446 ff_elem = (FfElement*)SAFE_ALLOC(sizeof(FfElement)); in NewFfElement()
546 extended_ff_elem_str = (IppOctStr)SAFE_ALLOC(length); in SetFfElementOctString()
681 mod_str = (BNU)SAFE_ALLOC(elem_size); in InitFfElementFromBn()
940 scratch_buffer = (OctStr)SAFE_ALLOC(element_size); in FfExp()
1007 ipp_p = (IppsGFpElement**)SAFE_ALLOC(ipp_m * sizeof(IppsGFpElement*)); in FfMultiExp()
1018 bignums = (BigNum**)SAFE_ALLOC(ipp_m * sizeof(BigNum*)); in FfMultiExp()
1023 ipp_b = (IppsBigNumState**)SAFE_ALLOC(ipp_m * sizeof(IppsBigNumState*)); in FfMultiExp()
1046 scratch_buffer = (OctStr)SAFE_ALLOC(scratch_buffer_size); in FfMultiExp()
1125 ipp_p = (IppsGFpElement**)SAFE_ALLOC(m * sizeof(IppsGFpElement*)); in FfMultiExpBn()
1134 ipp_b = (IppsBigNumState**)SAFE_ALLOC(m * sizeof(IppsBigNumState*)); in FfMultiExpBn()
1152 scratch_buffer = (OctStr)SAFE_ALLOC(scratch_buffer_size); in FfMultiExpBn()