Lines Matching refs:mp_grow
174 static int mp_grow(mp_int * a, int size);
240 if ((res = mp_grow (c, max + 1)) != MP_OKAY) { in s_mp_add()
318 if ((res = mp_grow (c, max)) != MP_OKAY) { in s_mp_sub()
968 if ((res = mp_grow(a, 2)) != MP_OKAY) { in mp_read_unsigned_bin()
1140 if ((res = mp_grow (b, a->used)) != MP_OKAY) { in mp_copy()
1264 static int mp_grow (mp_int * a, int size) in mp_grow() function
1341 if ((res = mp_grow (b, a->used)) != MP_OKAY) { in mp_div_2()
1397 if ((res = mp_grow (c, c->used + b / DIGIT_BIT + 1)) != MP_OKAY) { in mp_mul_2d()
1513 if ((res = mp_grow (a, a->used + b)) != MP_OKAY) { in mp_lshd()
2226 if ((res = mp_grow (a, b / DIGIT_BIT + 1)) != MP_OKAY) { in mp_2expt()
2434 if ((res = mp_grow (c, digs)) != MP_OKAY) { in fast_s_mp_mul_digs()
2710 if ((res = mp_grow (x, n->used + 1)) != MP_OKAY) { in fast_mp_montgomery_reduce()
2853 if ((res = mp_grow (b, a->used + 1)) != MP_OKAY) { in mp_mul_2()
3266 if ((res = mp_grow (b, pa)) != MP_OKAY) { in fast_s_mp_sqr()
3353 if ((res = mp_grow (c, a->used + 1)) != MP_OKAY) { in mp_mul_d()