14 lines · c
1/* mpi-mod.c - Modular reduction2 * Copyright (C) 1998, 1999, 2001, 2002, 2003,3 * 2007 Free Software Foundation, Inc.4 *5 * This file is part of Libgcrypt.6 */7 8#include "mpi-internal.h"9 10int mpi_mod(MPI rem, MPI dividend, MPI divisor)11{12 return mpi_fdiv_r(rem, dividend, divisor);13}14