- 8341923461226EC55DE5B29209CC03051587DE11885CB49433FF4C0EBA2160798B7DC27573B9BC363EE0954A8FC08CBD21AF3F655A9C0BC8AA294A74F80EB2C9
+ 054BF70520A4B8936CE1E9A3176884AE01FA796177F57FEB9676BE0197E3D87F82A7074E19144553D603861B5AFE804808A10C0E59E6F649BE4435BF6055BA88
mpi/mpi-pow.c
(1 . 37)(1 . 34)
5132 /* mpi-pow.c - MPI functions
5133 * Copyright (C) 1994, 1996, 1998, 2000 Free Software Foundation, Inc.
5134 * Modified by No Such Labs. (C) 2015. See README.
5135 *
5136 * This file is part of GnuPG.
5137 * This file was originally part of Gnu Privacy Guard (GPG), ver. 1.4.10,
5138 * SHA256(gnupg-1.4.10.tar.gz):
5139 * 0bfd74660a2f6cedcf7d8256db4a63c996ffebbcdc2cf54397bfb72878c5a85a
5140 * (C) 1994-2005 Free Software Foundation, Inc.
5141 *
5142 * GnuPG is free software; you can redistribute it and/or modify
5143 * This program is free software: you can redistribute it and/or modify
5144 * it under the terms of the GNU General Public License as published by
5145 * the Free Software Foundation; either version 3 of the License, or
5146 * the Free Software Foundation, either version 3 of the License, or
5147 * (at your option) any later version.
5148 *
5149 * GnuPG is distributed in the hope that it will be useful,
5150 * This program is distributed in the hope that it will be useful,
5151 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5152 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5153 * GNU General Public License for more details.
5154 *
5155 * You should have received a copy of the GNU General Public License
5156 * along with this program; if not, see <http://www.gnu.org/licenses/>.
5157 *
5158 * Note: This code is heavily based on the GNU MP Library.
5159 * Actually it's the same code with only minor changes in the
5160 * way the data is stored; this is to support the abstraction
5161 * of an optional secure memory allocation which may be used
5162 * to avoid revealing of sensitive data due to paging etc.
5163 * The GNU MP Library itself is published under the LGPL;
5164 * however I decided to publish this code under the plain GPL.
5165 * along with this program. If not, see <http://www.gnu.org/licenses/>.
5166 */
5167
5168 #include <config.h>
5169 #include <stdio.h>
5170 #include <stdlib.h>
5171 #include <string.h>
5172 #include <assert.h>
5173
5174 #include "knobs.h"
5175 #include "mpi-internal.h"
5176 #include "longlong.h"
5177 #include <assert.h>
5178
5179
5180
5181 /****************