~ubuntu-branches/ubuntu/lucid/nss/lucid-security

« back to all changes in this revision

Viewing changes to mozilla/security/nss/lib/freebl/mpi/mpi-priv.h

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2013-01-11 14:47:38 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20130111144738-iybbas2ln824kgoz
Tags: 3.14.1-0ckbi1.93ubuntu.0.10.04.1
* New upstream release. Dropped the following patches:
  - debian/patches/25_entropy.patch (was bz51429 obsoleted by fix for
    bz174993)
  - debian/patches/38_mips64_build.patch (we don't build on mips)
  - debian/patches/90_realpath.patch (included upstream)
    upstream)
  - debian/patches/diginotar.patch (included upstream)
  - debian/patches/CVE-2012-0441.patch (included upstream)
* debian/patches/01_dont_build_nspr.patch: refresh
* debian/patches/38_kbsd.patch: refresh/update based on Debian
* debian/patches/80_security_build.patch: refresh
* debian/patches/85_security_load.patch: refresh/update based on Debian
* debian/patches/97_SSL_RENEGOTIATE_TRANSITIONAL.patch: refresh/update based
  on Debian
* SECURITY UPDATE: distrust improperly issued TURKTRUST intermediate CAs
  - debian/patches/94_ckbi-1.9.patch: update to CKBI 1.93 by using
    mozilla/security/nss/lib/ckfw/builtins/certdata.txt from upstream and
    updating mozilla/security/nss/lib/ckfw/builtins/nssckbi.h. Apply this
    before 95_add_spi+cacert_ca_certs.patch since it keeps this patch clean
    and underscores that SPI and CACERT are not part of upstream Roots.
  - CVE-2013-0743
* debian/libnss3-0d.symbols: updated for *_3.12.10 through *_3.14.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 *  API for the MPI library, and may change at any time.  
7
7
 *  Application programs that use libmpi should NOT include this header file.
8
8
 *
9
 
 * ***** BEGIN LICENSE BLOCK *****
10
 
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
11
 
 *
12
 
 * The contents of this file are subject to the Mozilla Public License Version
13
 
 * 1.1 (the "License"); you may not use this file except in compliance with
14
 
 * the License. You may obtain a copy of the License at
15
 
 * http://www.mozilla.org/MPL/
16
 
 *
17
 
 * Software distributed under the License is distributed on an "AS IS" basis,
18
 
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
19
 
 * for the specific language governing rights and limitations under the
20
 
 * License.
21
 
 *
22
 
 * The Original Code is the MPI Arbitrary Precision Integer Arithmetic library.
23
 
 *
24
 
 * The Initial Developer of the Original Code is
25
 
 * Michael J. Fromberger.
26
 
 * Portions created by the Initial Developer are Copyright (C) 1998
27
 
 * the Initial Developer. All Rights Reserved.
28
 
 *
29
 
 * Contributor(s):
30
 
 *   Netscape Communications Corporation
31
 
 *
32
 
 * Alternatively, the contents of this file may be used under the terms of
33
 
 * either the GNU General Public License Version 2 or later (the "GPL"), or
34
 
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
35
 
 * in which case the provisions of the GPL or the LGPL are applicable instead
36
 
 * of those above. If you wish to allow use of your version of this file only
37
 
 * under the terms of either the GPL or the LGPL, and not to allow others to
38
 
 * use your version of this file under the terms of the MPL, indicate your
39
 
 * decision by deleting the provisions above and replace them with the notice
40
 
 * and other provisions required by the GPL or the LGPL. If you do not delete
41
 
 * the provisions above, a recipient may use your version of this file under
42
 
 * the terms of any one of the MPL, the GPL or the LGPL.
43
 
 *
44
 
 * ***** END LICENSE BLOCK ***** */
45
 
/* $Id: mpi-priv.h,v 1.23 2010/05/02 22:36:41 nelson%bolyard.com Exp $ */
 
9
 * This Source Code Form is subject to the terms of the Mozilla Public
 
10
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 
11
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
12
/* $Id: mpi-priv.h,v 1.25 2012/04/25 14:49:50 gerv%gerv.net Exp $ */
46
13
#ifndef _MPI_PRIV_H_
47
14
#define _MPI_PRIV_H_ 1
48
15
 
294
261
typedef struct {
295
262
  mp_int       N;       /* modulus N */
296
263
  mp_digit     n0prime; /* n0' = - (n0 ** -1) mod MP_RADIX */
297
 
  mp_size      b;       /* R == 2 ** b,  also b = # significant bits in N */
298
264
} mp_mont_modulus;
299
265
 
300
266
mp_err s_mp_mul_mont(const mp_int *a, const mp_int *b, mp_int *c,