bn_mp_mod_d.c 265 B

12345678910
  1. #include "tommath_private.h"
  2. #ifdef BN_MP_MOD_D_C
  3. /* LibTomMath, multiple-precision integer library -- Tom St Denis */
  4. /* SPDX-License-Identifier: Unlicense */
  5. mp_err mp_mod_d(const mp_int *a, mp_digit b, mp_digit *c)
  6. {
  7. return mp_div_d(a, b, NULL, c);
  8. }
  9. #endif