Searched refs:s_alloc (Results 1 – 3 of 3) sorted by relevance
213 static mp_digit *s_alloc(mp_size num);397 z->digits = s_alloc(prec); in mp_int_init_size()689 if ((out = s_alloc(p)) == NULL) return MP_MEMORY; in mp_int_mul()748 if ((out = s_alloc(p)) == NULL) return MP_MEMORY; in mp_int_sqr()1690 static mp_digit *s_alloc(mp_size num) { in s_alloc() function1702 mp_digit *new = s_alloc(nsize); in s_realloc()1723 if ((tmp = s_alloc(nsize)) == NULL) return false; in s_pad()1903 if ((t1 = s_alloc(4 * buf_size)) == NULL) return 0; in s_kmul()1979 if ((t1 = s_alloc(4 * buf_size)) == NULL) return 0; in s_ksqr()
336 integer, the digit allocators (`s_alloc`, `s_realloc`) fill all new buffers
282 version of s_alloc() and s_free() for your application.