- 3222BFC241FA6104936CC585FDA392F220D88031FA0FDF460BB201A3AA7295E6D1DC75007BF53D2E501734D9FAAA31934EED944CE7452A6AA3AFCD3A333D3C13+ 25E8EFCBAE822D6B21202C4E4D2A1D1D0370C3676AF7518EA81C8A59D87E0DF7CAF2B81E43F307EF8910BC63D4C482CC6F94794B73EA68C19E69391613405EBAmpi/mpih-lshift.c(1 . 33)(1 . 29)
4604 /* mpihelp-lshift.c - MPI helper functions
4605 * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc.
4606 * Modified by No Such Labs. (C) 2015. See README.
4607 *
4608 * This file is part of GnuPG.
4609 * This file was originally part of Gnu Privacy Guard (GPG), ver. 1.4.10,
4610 * SHA256(gnupg-1.4.10.tar.gz):
4611 * 0bfd74660a2f6cedcf7d8256db4a63c996ffebbcdc2cf54397bfb72878c5a85a
4612 * (C) 1994-2005 Free Software Foundation, Inc.
4613 *
4614 * GnuPG is free software; you can redistribute it and/or modify
4615 * This program is free software: you can redistribute it and/or modify
4616 * it under the terms of the GNU General Public License as published by
4617 * the Free Software Foundation; either version 3 of the License, or
4618 * the Free Software Foundation, either version 3 of the License, or
4619 * (at your option) any later version.
4620 *
4621 * GnuPG is distributed in the hope that it will be useful,
4622 * This program is distributed in the hope that it will be useful,
4623 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4624 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4625 * GNU General Public License for more details.
4626 *
4627 * You should have received a copy of the GNU General Public License
4628 * along with this program; if not, see <http://www.gnu.org/licenses/>.
4629 *
4630 * Note: This code is heavily based on the GNU MP Library.
4631 * Actually it's the same code with only minor changes in the
4632 * way the data is stored; this is to support the abstraction
4633 * of an optional secure memory allocation which may be used
4634 * to avoid revealing of sensitive data due to paging etc.
4635 * The GNU MP Library itself is published under the LGPL;
4636 * however I decided to publish this code under the plain GPL.
4637 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4638 */
4639
4640 #include <config.h>
4641 #include <stdio.h>
4642 #include <stdlib.h>
4643
4644 #include "knobs.h"
4645 #include "mpi-internal.h"
4646
4647 /* Shift U (pointed to by UP and USIZE digits long) CNT bits to the left