Line | Count | Source |
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 | ||
6 | mp_err mp_mod_d(const mp_int *a, mp_digit b, mp_digit *c) | |
7 | 24.6k | { |
8 | return mp_div_d(a, b, NULL, c); | |
9 | 24.6k | } |
10 | #endif |