summaryrefslogtreecommitdiff
path: root/libtommath/bn_mp_mod_d.c
blob: 0b6c12a9ef4bdc8203985c8684e934879c628221 (plain)
1
2
3
4
5
6
7
8
9
10
#include "tommath_private.h"
#ifdef BN_MP_MOD_D_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */

mp_err mp_mod_d(const mp_int *a, mp_digit b, mp_digit *c)
{
   return mp_div_d(a, b, NULL, c);
}
#endif