1 #include "tommath_private.h"
2 #ifdef S_MP_COPY_DIGS_C
3 /* LibTomMath, multiple-precision integer library -- Tom St Denis */
4 /* SPDX-License-Identifier: Unlicense */
10 void s_mp_copy_digs(mp_digit
*d
, const mp_digit
*s
, int digits
)
14 memcpy(d
, s
, (size_t)digits
* sizeof(mp_digit
));
17 while (digits
-- > 0) {