Lines Matching refs:mp_size
157 void s_mp_setz(mp_digit *dp, mp_size count); /* zero digits */
158 void s_mp_copy(const mp_digit *sp, mp_digit *dp, mp_size count); /* copy */
160 void s_mp_free(void *ptr, mp_size); /* general free function */
187 mp_err s_mp_grow(mp_int *mp, mp_size min); /* increase allocated size */
188 mp_err s_mp_pad(mp_int *mp, mp_size min); /* left pad with zeroes */
194 { mp_size used = MP_USED(mp); \
202 mp_err s_mp_lshd(mp_int *mp, mp_size p); /* left-shift by p digits */
203 void s_mp_rshd(mp_int *mp, mp_size p); /* right-shift by p digits */
222 mp_err s_mp_add_offset(mp_int *a, mp_int *b, mp_size offset);
243 mp_err s_mp_invmod_2d( const mp_int *a, mp_size k, mp_int *c);
271 mp_digit MPI_ASM_DECL s_mpv_mul_set_vec64(mp_digit*, mp_digit *, mp_size, mp_digit);
272 mp_digit MPI_ASM_DECL s_mpv_mul_add_vec64(mp_digit*, const mp_digit*, mp_size, mp_digit);
284 void MPI_ASM_DECL s_mpv_mul_d(const mp_digit *a, mp_size a_len,
286 void MPI_ASM_DECL s_mpv_mul_d_add(const mp_digit *a, mp_size a_len,
292 mp_size a_len, mp_digit b,
295 mp_size a_len,
308 mp_size b; /* R == 2 ** b, also b = # significant bits in N */