aboutsummaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
Diffstat (limited to 'mpi')
-rw-r--r--mpi/alpha/mpih-add1.S10
-rw-r--r--mpi/alpha/mpih-lshift.S13
-rw-r--r--mpi/alpha/mpih-mul1.S3
-rw-r--r--mpi/alpha/mpih-mul2.S3
-rw-r--r--mpi/alpha/mpih-mul3.S3
-rw-r--r--mpi/alpha/mpih-rshift.S4
-rw-r--r--mpi/alpha/mpih-sub1.S3
-rw-r--r--mpi/alpha/udiv-qrnnd.S10
-rw-r--r--mpi/hppa/mpih-add1.S4
-rw-r--r--mpi/hppa/mpih-lshift.S5
-rw-r--r--mpi/hppa/mpih-rshift.S5
-rw-r--r--mpi/hppa/mpih-sub1.S5
-rw-r--r--mpi/hppa/udiv-qrnnd.S10
-rw-r--r--mpi/hppa1.1/mpih-mul1.S5
-rw-r--r--mpi/hppa1.1/mpih-mul2.S5
-rw-r--r--mpi/hppa1.1/mpih-mul3.S5
-rw-r--r--mpi/hppa1.1/udiv-qrnnd.S4
-rw-r--r--mpi/i386/mpih-add1.S4
-rw-r--r--mpi/i386/mpih-lshift.S4
-rw-r--r--mpi/i386/mpih-mul1.S4
-rw-r--r--mpi/i386/mpih-mul2.S5
-rw-r--r--mpi/i386/mpih-mul3.S5
-rw-r--r--mpi/i386/mpih-rshift.S5
-rw-r--r--mpi/i386/mpih-sub1.S5
-rw-r--r--mpi/i386/syntax.h48
-rw-r--r--mpi/i586/mpih-add1.S3
-rw-r--r--mpi/i586/mpih-lshift.S5
-rw-r--r--mpi/i586/mpih-mul1.S4
-rw-r--r--mpi/i586/mpih-mul2.S5
-rw-r--r--mpi/i586/mpih-mul3.S5
-rw-r--r--mpi/i586/mpih-rshift.S5
-rw-r--r--mpi/i586/mpih-sub1.S5
-rw-r--r--mpi/m68k/mc68020/mpih-mul1.S49
-rw-r--r--mpi/m68k/mc68020/mpih-mul2.S49
-rw-r--r--mpi/m68k/mc68020/mpih-mul3.S48
-rw-r--r--mpi/m68k/mpih-add1.S49
-rw-r--r--mpi/m68k/mpih-lshift.S47
-rw-r--r--mpi/m68k/mpih-rshift.S47
-rw-r--r--mpi/m68k/mpih-sub1.S50
-rw-r--r--mpi/m68k/syntax.h46
-rw-r--r--mpi/mips3/mpih-add1.S4
-rw-r--r--mpi/mips3/mpih-lshift.S4
-rw-r--r--mpi/mips3/mpih-mul1.S4
-rw-r--r--mpi/mips3/mpih-mul2.S4
-rw-r--r--mpi/mips3/mpih-mul3.S4
-rw-r--r--mpi/mips3/mpih-rshift.S4
-rw-r--r--mpi/mips3/mpih-sub1.S4
-rw-r--r--mpi/mpi-div.c2
-rw-r--r--mpi/mpi-inline.h2
-rw-r--r--mpi/mpi-internal.h2
-rw-r--r--mpi/mpi-mul.c2
-rw-r--r--mpi/mpi-pow.c2
-rw-r--r--mpi/mpih-cmp.c2
-rw-r--r--mpi/mpih-div.c2
-rw-r--r--mpi/pa7100/mpih-lshift.S5
-rw-r--r--mpi/pa7100/mpih-rshift.S5
-rw-r--r--mpi/power/mpih-add1.S3
-rw-r--r--mpi/power/mpih-lshift.S3
-rw-r--r--mpi/power/mpih-mul1.S5
-rw-r--r--mpi/power/mpih-mul2.S3
-rw-r--r--mpi/power/mpih-mul3.S3
-rw-r--r--mpi/power/mpih-rshift.S3
-rw-r--r--mpi/power/mpih-sub1.S3
-rw-r--r--mpi/powerpc32/mpih-add1.S3
-rw-r--r--mpi/powerpc32/mpih-lshift.S3
-rw-r--r--mpi/powerpc32/mpih-mul1.S3
-rw-r--r--mpi/powerpc32/mpih-mul2.S3
-rw-r--r--mpi/powerpc32/mpih-mul3.S3
-rw-r--r--mpi/powerpc32/mpih-rshift.S3
-rw-r--r--mpi/powerpc32/mpih-sub1.S3
-rw-r--r--mpi/sparc32/mpih-add1.S3
-rw-r--r--mpi/sparc32/mpih-lshift.S3
-rw-r--r--mpi/sparc32/mpih-rshift.S3
-rw-r--r--mpi/sparc32/udiv.S51
-rw-r--r--mpi/sparc32v8/mpih-mul1.S50
-rw-r--r--mpi/sparc32v8/mpih-mul2.S50
-rw-r--r--mpi/sparc32v8/mpih-mul3.S53
-rw-r--r--mpi/supersparc/udiv.S52
78 files changed, 568 insertions, 387 deletions
diff --git a/mpi/alpha/mpih-add1.S b/mpi/alpha/mpih-add1.S
index dc3bcfbb8..de0d248ac 100644
--- a/mpi/alpha/mpih-add1.S
+++ b/mpi/alpha/mpih-add1.S
@@ -1,17 +1,15 @@
/* alpha add_n -- Add two limb vectors of the same length > 0 and store
* sum in a third limb vector.
+ * Copyright (C) 1995, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
- * Copyright (C) 1995 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * This file is part of GnuPG.
*
- * This file is part of GNUPG.
- *
- * GNUPG is free software; you can redistribute it and/or modify
+ * GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * GNUPG is distributed in the hope that it will be useful,
+ * GnuPG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
diff --git a/mpi/alpha/mpih-lshift.S b/mpi/alpha/mpih-lshift.S
index 9688588fa..a24fbd82b 100644
--- a/mpi/alpha/mpih-lshift.S
+++ b/mpi/alpha/mpih-lshift.S
@@ -1,15 +1,16 @@
-/* alpha lshift
- * Copyright (C) 1994, 1995 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+/* alpha - left shift
+ * Copyright (C) 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
- * This file is part of GNUPG.
*
- * GNUPG is free software; you can redistribute it and/or modify
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * GNUPG is distributed in the hope that it will be useful,
+ * GnuPG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
diff --git a/mpi/alpha/mpih-mul1.S b/mpi/alpha/mpih-mul1.S
index 5b24d98d1..38cbbdfc3 100644
--- a/mpi/alpha/mpih-mul1.S
+++ b/mpi/alpha/mpih-mul1.S
@@ -1,7 +1,8 @@
/* Alpha 21064 mpih-mul1.S -- Multiply a limb vector with a limb and store
* the result in a second limb vector.
*
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/alpha/mpih-mul2.S b/mpi/alpha/mpih-mul2.S
index 0c8d361c3..bd0f2444c 100644
--- a/mpi/alpha/mpih-mul2.S
+++ b/mpi/alpha/mpih-mul2.S
@@ -1,7 +1,8 @@
/* Alpha 21064 addmul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
*
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/alpha/mpih-mul3.S b/mpi/alpha/mpih-mul3.S
index bdf16b57b..764f5c787 100644
--- a/mpi/alpha/mpih-mul3.S
+++ b/mpi/alpha/mpih-mul3.S
@@ -1,6 +1,7 @@
/* Alpha 21064 submul_1 -- Multiply a limb vector with a limb and
* subtract the result from a second limb vector.
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/alpha/mpih-rshift.S b/mpi/alpha/mpih-rshift.S
index e93315ae2..e15542de5 100644
--- a/mpi/alpha/mpih-rshift.S
+++ b/mpi/alpha/mpih-rshift.S
@@ -1,6 +1,6 @@
/* alpha rshift
- * Copyright (C) 1994, 1995 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/alpha/mpih-sub1.S b/mpi/alpha/mpih-sub1.S
index bf614309b..32363885e 100644
--- a/mpi/alpha/mpih-sub1.S
+++ b/mpi/alpha/mpih-sub1.S
@@ -1,6 +1,7 @@
/* Alpha sub_n -- Subtract two limb vectors of the same length > 0 and
* store difference in a third limb vector.
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/alpha/udiv-qrnnd.S b/mpi/alpha/udiv-qrnnd.S
index 487991cd8..70ed09df4 100644
--- a/mpi/alpha/udiv-qrnnd.S
+++ b/mpi/alpha/udiv-qrnnd.S
@@ -1,16 +1,16 @@
/* Alpha 21064 __udiv_qrnnd
*
- * Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
- * Copyright (c) 1997 by Werner Koch (dd9jn)
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
- * This file is part of G10.
+ * This file is part of GnuPG.
*
- * G10 is free software; you can redistribute it and/or modify
+ * GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * G10 is distributed in the hope that it will be useful,
+ * GnuPG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
diff --git a/mpi/hppa/mpih-add1.S b/mpi/hppa/mpih-add1.S
index e01c2eed0..ea8624e85 100644
--- a/mpi/hppa/mpih-add1.S
+++ b/mpi/hppa/mpih-add1.S
@@ -1,8 +1,8 @@
/* hppa add_n -- Add two limb vectors of the same length > 0 and store
* sum in a third limb vector.
*
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Fee Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/hppa/mpih-lshift.S b/mpi/hppa/mpih-lshift.S
index ada09f595..dbb3bede3 100644
--- a/mpi/hppa/mpih-lshift.S
+++ b/mpi/hppa/mpih-lshift.S
@@ -1,6 +1,7 @@
/* hppa lshift
-*
- * Copyright (C) 1992, 1994, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/hppa/mpih-rshift.S b/mpi/hppa/mpih-rshift.S
index 0299d2e27..2095a0f01 100644
--- a/mpi/hppa/mpih-rshift.S
+++ b/mpi/hppa/mpih-rshift.S
@@ -1,6 +1,7 @@
/* hppa rshift
-*
- * Copyright (C) 1992, 1994, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/hppa/mpih-sub1.S b/mpi/hppa/mpih-sub1.S
index 8672e3145..0147ca562 100644
--- a/mpi/hppa/mpih-sub1.S
+++ b/mpi/hppa/mpih-sub1.S
@@ -1,7 +1,8 @@
/* hppa sub_n -- Sub two limb vectors of the same length > 0 and store
* sum in a third limb vector.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/hppa/udiv-qrnnd.S b/mpi/hppa/udiv-qrnnd.S
index 849238349..34fdf98c5 100644
--- a/mpi/hppa/udiv-qrnnd.S
+++ b/mpi/hppa/udiv-qrnnd.S
@@ -1,17 +1,17 @@
/* HP-PA __udiv_qrnnd division support, used from longlong.h.
* This version runs fast on pre-PA7000 CPUs.
*
- * Copyright (C) 1993, 1994 Free Software Foundation, Inc.
- * Copyright (c) 1997 by Werner Koch (dd9jn)
+ * Copyright (C) 1993, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
- * This file is part of G10.
+ * This file is part of GnuPG.
*
- * G10 is free software; you can redistribute it and/or modify
+ * GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * G10 is distributed in the hope that it will be useful,
+ * GnuPG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
diff --git a/mpi/hppa1.1/mpih-mul1.S b/mpi/hppa1.1/mpih-mul1.S
index 1f7377473..940c0a5a9 100644
--- a/mpi/hppa1.1/mpih-mul1.S
+++ b/mpi/hppa1.1/mpih-mul1.S
@@ -1,7 +1,8 @@
/* hppa1.1 mul_1 -- Multiply a limb vector with a limb and store
* the result in a second limb vector.
- * Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1993, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/hppa1.1/mpih-mul2.S b/mpi/hppa1.1/mpih-mul2.S
index 89c025952..7c480b9f2 100644
--- a/mpi/hppa1.1/mpih-mul2.S
+++ b/mpi/hppa1.1/mpih-mul2.S
@@ -1,7 +1,8 @@
/* hppa1.1 addmul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
- * Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1993, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/hppa1.1/mpih-mul3.S b/mpi/hppa1.1/mpih-mul3.S
index 80868a3ef..2f9b4b824 100644
--- a/mpi/hppa1.1/mpih-mul3.S
+++ b/mpi/hppa1.1/mpih-mul3.S
@@ -1,7 +1,8 @@
/* hppa1.1 submul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
- * Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1993, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/hppa1.1/udiv-qrnnd.S b/mpi/hppa1.1/udiv-qrnnd.S
index b48eee49a..331e16193 100644
--- a/mpi/hppa1.1/udiv-qrnnd.S
+++ b/mpi/hppa1.1/udiv-qrnnd.S
@@ -1,8 +1,8 @@
/* HP-PA __udiv_qrnnd division support, used from longlong.h.
* This version runs fast on PA 7000 and later.
*
- * Copyright (C) 1993, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1993, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/mpih-add1.S b/mpi/i386/mpih-add1.S
index b7517cf01..dbf65c84e 100644
--- a/mpi/i386/mpih-add1.S
+++ b/mpi/i386/mpih-add1.S
@@ -1,8 +1,8 @@
/* i80386 add_n -- Add two limb vectors of the same length > 0 and store
* sum in a third limb vector.
*
- * Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/mpih-lshift.S b/mpi/i386/mpih-lshift.S
index a84f6b1f9..97e922e35 100644
--- a/mpi/i386/mpih-lshift.S
+++ b/mpi/i386/mpih-lshift.S
@@ -1,6 +1,6 @@
/* i80386 lshift
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/mpih-mul1.S b/mpi/i386/mpih-mul1.S
index 106796431..559b52469 100644
--- a/mpi/i386/mpih-mul1.S
+++ b/mpi/i386/mpih-mul1.S
@@ -1,7 +1,7 @@
/* i80386 mul_1 -- Multiply a limb vector with a limb and store
* the result in a second limb vector.
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/mpih-mul2.S b/mpi/i386/mpih-mul2.S
index 8b124bda7..57aafaa50 100644
--- a/mpi/i386/mpih-mul2.S
+++ b/mpi/i386/mpih-mul2.S
@@ -1,7 +1,8 @@
/* i80386 addmul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/mpih-mul3.S b/mpi/i386/mpih-mul3.S
index 5f3655611..66bc29230 100644
--- a/mpi/i386/mpih-mul3.S
+++ b/mpi/i386/mpih-mul3.S
@@ -1,7 +1,8 @@
/* i80386 submul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/mpih-rshift.S b/mpi/i386/mpih-rshift.S
index 3dd9caf7e..beb8fc829 100644
--- a/mpi/i386/mpih-rshift.S
+++ b/mpi/i386/mpih-rshift.S
@@ -1,6 +1,7 @@
/* i80386 rshift
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/mpih-sub1.S b/mpi/i386/mpih-sub1.S
index fe1cdeeeb..28208a1a5 100644
--- a/mpi/i386/mpih-sub1.S
+++ b/mpi/i386/mpih-sub1.S
@@ -1,7 +1,8 @@
/* i80386 sub_n -- Sub two limb vectors of the same length > 0 and store
* sum in a third limb vector.
- * Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i386/syntax.h b/mpi/i386/syntax.h
index 33bd29479..0797de29b 100644
--- a/mpi/i386/syntax.h
+++ b/mpi/i386/syntax.h
@@ -1,24 +1,30 @@
-/* asm.h -- Definitions for x86 syntax variations.
-
-Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
-
+/* syntax.h -- Definitions for x86 syntax variations.
+ *
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * GNUPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GNUPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
#undef ALIGN
diff --git a/mpi/i586/mpih-add1.S b/mpi/i586/mpih-add1.S
index a52c16464..5e95adecd 100644
--- a/mpi/i586/mpih-add1.S
+++ b/mpi/i586/mpih-add1.S
@@ -1,7 +1,8 @@
/* i80586 add_n -- Add two limb vectors of the same length > 0 and store
* sum in a third limb vector.
*
- * Copyright (C) 1992, 1994, 1995, 1996 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i586/mpih-lshift.S b/mpi/i586/mpih-lshift.S
index 9e0cb0297..0e2ad3dda 100644
--- a/mpi/i586/mpih-lshift.S
+++ b/mpi/i586/mpih-lshift.S
@@ -1,6 +1,7 @@
/* i80586 lshift
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i586/mpih-mul1.S b/mpi/i586/mpih-mul1.S
index b338b1a8b..662caacc5 100644
--- a/mpi/i586/mpih-mul1.S
+++ b/mpi/i586/mpih-mul1.S
@@ -1,6 +1,8 @@
/* i80586 mul_1 -- Multiply a limb vector with a limb and store
* the result in a second limb vector.
- * Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i586/mpih-mul2.S b/mpi/i586/mpih-mul2.S
index df22a4282..f42441e26 100644
--- a/mpi/i586/mpih-mul2.S
+++ b/mpi/i586/mpih-mul2.S
@@ -1,7 +1,8 @@
/* i80586 addmul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i586/mpih-mul3.S b/mpi/i586/mpih-mul3.S
index 014e33cb1..0f17c53ec 100644
--- a/mpi/i586/mpih-mul3.S
+++ b/mpi/i586/mpih-mul3.S
@@ -1,7 +1,8 @@
/* i80586 submul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i586/mpih-rshift.S b/mpi/i586/mpih-rshift.S
index aec26e64d..085f7380b 100644
--- a/mpi/i586/mpih-rshift.S
+++ b/mpi/i586/mpih-rshift.S
@@ -1,6 +1,7 @@
/* i80586 rshift
- * Copyright (C) 1998 Free Software Foundation, Inc.
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/i586/mpih-sub1.S b/mpi/i586/mpih-sub1.S
index 2ed704e89..1e935702d 100644
--- a/mpi/i586/mpih-sub1.S
+++ b/mpi/i586/mpih-sub1.S
@@ -1,7 +1,8 @@
/* i80586 sub_n -- Sub two limb vectors of the same length > 0 and store
* sum in a third limb vector.
- * Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/m68k/mc68020/mpih-mul1.S b/mpi/m68k/mc68020/mpih-mul1.S
index 16a52a229..5dc178569 100644
--- a/mpi/m68k/mc68020/mpih-mul1.S
+++ b/mpi/m68k/mc68020/mpih-mul1.S
@@ -1,24 +1,33 @@
/* mc68020 __mpn_mul_1 -- Multiply a limb vector with a limb and store
- the result in a second limb vector.
-
-Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
+ * the result in a second limb vector.
+ *
+ * Copyright (C) 1992, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
diff --git a/mpi/m68k/mc68020/mpih-mul2.S b/mpi/m68k/mc68020/mpih-mul2.S
index 8cbbc5480..1d33c9aa7 100644
--- a/mpi/m68k/mc68020/mpih-mul2.S
+++ b/mpi/m68k/mc68020/mpih-mul2.S
@@ -1,24 +1,33 @@
/* mc68020 __mpn_addmul_1 -- Multiply a limb vector with a limb and add
- the result to a second limb vector.
-
-Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
+ * the result to a second limb vector.
+ *
+ * Copyright (C) 1992, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
#include "sysdep.h"
diff --git a/mpi/m68k/mc68020/mpih-mul3.S b/mpi/m68k/mc68020/mpih-mul3.S
index 8e28ce456..bda9b6c98 100644
--- a/mpi/m68k/mc68020/mpih-mul3.S
+++ b/mpi/m68k/mc68020/mpih-mul3.S
@@ -1,24 +1,34 @@
/* mc68020 __mpn_submul_1 -- Multiply a limb vector with a limb and subtract
- the result from a second limb vector.
-
-Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
+ * the result from a second limb vector.
+ *
+ * Copyright (C) 1992, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
diff --git a/mpi/m68k/mpih-add1.S b/mpi/m68k/mpih-add1.S
index b3812c787..3874c9fc1 100644
--- a/mpi/m68k/mpih-add1.S
+++ b/mpi/m68k/mpih-add1.S
@@ -1,24 +1,33 @@
/* mc68020 __mpn_add_n -- Add two limb vectors of the same length > 0 and store
- sum in a third limb vector.
-
-Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
+ * sum in a third limb vector.
+ *
+ * Copyright (C) 1992, 1994,1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
#include "sysdep.h"
diff --git a/mpi/m68k/mpih-lshift.S b/mpi/m68k/mpih-lshift.S
index af305c847..9f6e3e582 100644
--- a/mpi/m68k/mpih-lshift.S
+++ b/mpi/m68k/mpih-lshift.S
@@ -1,24 +1,33 @@
/* mc68020 lshift -- Shift left a low-level natural-number integer.
+ *
+ * Copyright (C) 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
-Copyright (C) 1996, 1998 Free Software Foundation, Inc.
-
-This file is part of GNUPG.
-
-GNUPG is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-GNUPG is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA.
-*/
#include "sysdep.h"
#include "asm-syntax.h"
diff --git a/mpi/m68k/mpih-rshift.S b/mpi/m68k/mpih-rshift.S
index 5670888c9..f892f742c 100644
--- a/mpi/m68k/mpih-rshift.S
+++ b/mpi/m68k/mpih-rshift.S
@@ -1,24 +1,33 @@
/* mc68020 rshift -- Shift right a low-level natural-number integer.
+ *
+ * Copyright (C) 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
-Copyright (C) 1996, 1998 Free Software Foundation, Inc.
-
-This file is part of GNUPG.
-
-GNUPG is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-GNUPG is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA.
-*/
#include "sysdep.h"
#include "asm-syntax.h"
diff --git a/mpi/m68k/mpih-sub1.S b/mpi/m68k/mpih-sub1.S
index 8d8ef0b41..ad58ba87d 100644
--- a/mpi/m68k/mpih-sub1.S
+++ b/mpi/m68k/mpih-sub1.S
@@ -1,25 +1,33 @@
/* mc68020 __mpn_sub_n -- Subtract two limb vectors of the same length > 0 and
- store difference in a third limb vector.
-
-Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
-
+ * store difference in a third limb vector.
+ *
+ * Copyright (C) 1992, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
#include "sysdep.h"
#include "asm-syntax.h"
diff --git a/mpi/m68k/syntax.h b/mpi/m68k/syntax.h
index 9d6f3522b..9e03d74b4 100644
--- a/mpi/m68k/syntax.h
+++ b/mpi/m68k/syntax.h
@@ -1,23 +1,33 @@
/* asm.h -- Definitions for 68k syntax variations.
+ *
+ * Copyright (C) 1992, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
-Copyright (C) 1992, 1994, 1996 Free Software Foundation, Inc.
-
-This file is part of the GNU MP Library.
-
-The GNU MP Library is free software; you can redistribute it and/or modify
-it under the terms of the GNU Library General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at your
-option) any later version.
-
-The GNU MP Library is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
#undef ALIGN
diff --git a/mpi/mips3/mpih-add1.S b/mpi/mips3/mpih-add1.S
index 7ac5f38bd..336b07bbb 100644
--- a/mpi/mips3/mpih-add1.S
+++ b/mpi/mips3/mpih-add1.S
@@ -1,6 +1,8 @@
/* mips3 add_n -- Add two limb vectors of the same length > 0 and store
* sum in a third limb vector.
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/mips3/mpih-lshift.S b/mpi/mips3/mpih-lshift.S
index 37e9a5e1b..32f62cd20 100644
--- a/mpi/mips3/mpih-lshift.S
+++ b/mpi/mips3/mpih-lshift.S
@@ -1,5 +1,7 @@
/* mips3 lshift
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/mips3/mpih-mul1.S b/mpi/mips3/mpih-mul1.S
index d55d4260c..8a12f4110 100644
--- a/mpi/mips3/mpih-mul1.S
+++ b/mpi/mips3/mpih-mul1.S
@@ -1,6 +1,8 @@
/* mips3 mpih-mul1.S -- Multiply a limb vector with a limb and store
* the result in a second limb vector.
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/mips3/mpih-mul2.S b/mpi/mips3/mpih-mul2.S
index 0312884a2..bc256fa09 100644
--- a/mpi/mips3/mpih-mul2.S
+++ b/mpi/mips3/mpih-mul2.S
@@ -1,6 +1,8 @@
/* MIPS3 addmul_1 -- Multiply a limb vector with a single limb and
* add the product to a second limb vector.
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/mips3/mpih-mul3.S b/mpi/mips3/mpih-mul3.S
index bcb40edbf..84d3f9a8e 100644
--- a/mpi/mips3/mpih-mul3.S
+++ b/mpi/mips3/mpih-mul3.S
@@ -1,6 +1,8 @@
/* MIPS3 submul_1 -- Multiply a limb vector with a single limb and
* subtract the product from a second limb vector.
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/mips3/mpih-rshift.S b/mpi/mips3/mpih-rshift.S
index 7bc084500..b208c55b9 100644
--- a/mpi/mips3/mpih-rshift.S
+++ b/mpi/mips3/mpih-rshift.S
@@ -1,5 +1,7 @@
/* mips3 rshift
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/mips3/mpih-sub1.S b/mpi/mips3/mpih-sub1.S
index 4bc3ad295..2df6339b6 100644
--- a/mpi/mips3/mpih-sub1.S
+++ b/mpi/mips3/mpih-sub1.S
@@ -1,6 +1,8 @@
/* mips3 sub_n -- Subtract two limb vectors of the same length > 0 and
* store difference in a third limb vector.
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/mpi-div.c b/mpi/mpi-div.c
index 926527644..a86df2daf 100644
--- a/mpi/mpi-div.c
+++ b/mpi/mpi-div.c
@@ -1,6 +1,6 @@
/* mpi-div.c - MPI functions
- * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/mpi-inline.h b/mpi/mpi-inline.h
index 3866f106b..f19ce0233 100644
--- a/mpi/mpi-inline.h
+++ b/mpi/mpi-inline.h
@@ -1,6 +1,6 @@
/* mpi-inline.h - Internal to the Multi Precision Integers
- * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/mpi-internal.h b/mpi/mpi-internal.h
index 02169c2fc..3b8b89205 100644
--- a/mpi/mpi-internal.h
+++ b/mpi/mpi-internal.h
@@ -1,6 +1,6 @@
/* mpi-internal.h - Internal to the Multi Precision Integers
- * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/mpi-mul.c b/mpi/mpi-mul.c
index d94aca48d..661ad11c2 100644
--- a/mpi/mpi-mul.c
+++ b/mpi/mpi-mul.c
@@ -1,6 +1,6 @@
/* mpi-mul.c - MPI functions
- * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/mpi-pow.c b/mpi/mpi-pow.c
index 82617fbde..94e74f7ce 100644
--- a/mpi/mpi-pow.c
+++ b/mpi/mpi-pow.c
@@ -1,6 +1,6 @@
/* mpi-pow.c - MPI functions
- * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996, 2000 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/mpih-cmp.c b/mpi/mpih-cmp.c
index 143f87a85..03d41557c 100644
--- a/mpi/mpih-cmp.c
+++ b/mpi/mpih-cmp.c
@@ -1,6 +1,6 @@
/* mpihelp-sub.c - MPI helper functions
- * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/mpih-div.c b/mpi/mpih-div.c
index 9205b51bc..a9ddfc43c 100644
--- a/mpi/mpih-div.c
+++ b/mpi/mpih-div.c
@@ -1,6 +1,6 @@
/* mpihelp-div.c - MPI helper functions
- * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
* Copyright (C) 1994, 1996 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/pa7100/mpih-lshift.S b/mpi/pa7100/mpih-lshift.S
index e17e1b705..d71afcbae 100644
--- a/mpi/pa7100/mpih-lshift.S
+++ b/mpi/pa7100/mpih-lshift.S
@@ -1,7 +1,8 @@
/* hppa lshift
* optimized for the PA7100, where is runs at 3.25 cycles/limb
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/pa7100/mpih-rshift.S b/mpi/pa7100/mpih-rshift.S
index b409de042..bedde4248 100644
--- a/mpi/pa7100/mpih-rshift.S
+++ b/mpi/pa7100/mpih-rshift.S
@@ -1,7 +1,8 @@
/* hppa rshift
* optimized for the PA7100, where is runs at 3.25 cycles/limb
- * Copyright (C) 1992, 1994 Free Software Foundation, Inc.
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ *
+ * Copyright (C) 1992, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/power/mpih-add1.S b/mpi/power/mpih-add1.S
index ad27f3d81..f9ccf5bcd 100644
--- a/mpi/power/mpih-add1.S
+++ b/mpi/power/mpih-add1.S
@@ -1,6 +1,7 @@
/* IBM POWER add_n -- Add two limb vectors of equal, non-zero length.
*
- * Copyright (C) 1992, 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/power/mpih-lshift.S b/mpi/power/mpih-lshift.S
index 5c53a0ae6..d29b899b2 100644
--- a/mpi/power/mpih-lshift.S
+++ b/mpi/power/mpih-lshift.S
@@ -1,6 +1,7 @@
/* IBM POWER lshift
*
- * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/power/mpih-mul1.S b/mpi/power/mpih-mul1.S
index 3b71b5aa9..5c0f6f039 100644
--- a/mpi/power/mpih-mul1.S
+++ b/mpi/power/mpih-mul1.S
@@ -1,7 +1,8 @@
/* IBM POWER mul_1 -- Multiply a limb vector with a limb and store
- * the result in a second limb vector.
+ * the result in a second limb vector.
*
- * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/power/mpih-mul2.S b/mpi/power/mpih-mul2.S
index 19ddee86d..f2a8b87fc 100644
--- a/mpi/power/mpih-mul2.S
+++ b/mpi/power/mpih-mul2.S
@@ -1,7 +1,8 @@
/* IBM POWER addmul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
*
- * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/power/mpih-mul3.S b/mpi/power/mpih-mul3.S
index e875e88ea..cdd317c0d 100644
--- a/mpi/power/mpih-mul3.S
+++ b/mpi/power/mpih-mul3.S
@@ -1,7 +1,8 @@
/* IBM POWER submul_1 -- Multiply a limb vector with a limb and subtract
* the result from a second limb vector.
*
- * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/power/mpih-rshift.S b/mpi/power/mpih-rshift.S
index e29645072..30ba83922 100644
--- a/mpi/power/mpih-rshift.S
+++ b/mpi/power/mpih-rshift.S
@@ -1,6 +1,7 @@
/* IBM POWER rshift
*
- * Copyright (C) 1992, 1994, 1999 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/power/mpih-sub1.S b/mpi/power/mpih-sub1.S
index a3605533e..9f18ac829 100644
--- a/mpi/power/mpih-sub1.S
+++ b/mpi/power/mpih-sub1.S
@@ -1,6 +1,7 @@
/* IBM POWER sub_n -- Subtract two limb vectors of equal, non-zero length.
*
- * Copyright (C) 1992, 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1996, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/powerpc32/mpih-add1.S b/mpi/powerpc32/mpih-add1.S
index a26de52a9..6f8d68331 100644
--- a/mpi/powerpc32/mpih-add1.S
+++ b/mpi/powerpc32/mpih-add1.S
@@ -1,6 +1,7 @@
/* PowerPC-32 add_n -- Add two limb vectors of equal, non-zero length.
*
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/powerpc32/mpih-lshift.S b/mpi/powerpc32/mpih-lshift.S
index 683f799b1..8189f914e 100644
--- a/mpi/powerpc32/mpih-lshift.S
+++ b/mpi/powerpc32/mpih-lshift.S
@@ -1,6 +1,7 @@
/* PowerPC-32 lshift
*
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/powerpc32/mpih-mul1.S b/mpi/powerpc32/mpih-mul1.S
index 24193adb3..32361bf59 100644
--- a/mpi/powerpc32/mpih-mul1.S
+++ b/mpi/powerpc32/mpih-mul1.S
@@ -1,7 +1,8 @@
/* PowerPC-32 mul_1 -- Multiply a limb vector with a limb and store
* the result in a second limb vector.
*
- * Copyright (C) 1993, 1994, 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1993, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/powerpc32/mpih-mul2.S b/mpi/powerpc32/mpih-mul2.S
index 185fed90e..eb1591d2e 100644
--- a/mpi/powerpc32/mpih-mul2.S
+++ b/mpi/powerpc32/mpih-mul2.S
@@ -1,7 +1,8 @@
/* PowerPC-32 addmul_1 -- Multiply a limb vector with a limb and add
* the result to a second limb vector.
*
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/powerpc32/mpih-mul3.S b/mpi/powerpc32/mpih-mul3.S
index e6b7cf5c2..ca58936c4 100644
--- a/mpi/powerpc32/mpih-mul3.S
+++ b/mpi/powerpc32/mpih-mul3.S
@@ -1,7 +1,8 @@
/* PowerPC-32 submul_1 -- Multiply a limb vector with a limb and subtract
* the result from a second limb vector.
*
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/powerpc32/mpih-rshift.S b/mpi/powerpc32/mpih-rshift.S
index 78732b9ed..468b722cb 100644
--- a/mpi/powerpc32/mpih-rshift.S
+++ b/mpi/powerpc32/mpih-rshift.S
@@ -1,6 +1,7 @@
/* PowerPC-32 rshift
*
- * Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/powerpc32/mpih-sub1.S b/mpi/powerpc32/mpih-sub1.S
index cb87cc703..f0ae1a283 100644
--- a/mpi/powerpc32/mpih-sub1.S
+++ b/mpi/powerpc32/mpih-sub1.S
@@ -1,7 +1,8 @@
/* PowerPC-32 sub_n -- Subtract two limb vectors of the same length > 0
* and store difference in a third limb vector.
*
- * Copyright (C) 1992, 1994, 1995, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
diff --git a/mpi/sparc32/mpih-add1.S b/mpi/sparc32/mpih-add1.S
index b90d9d60f..da6c83338 100644
--- a/mpi/sparc32/mpih-add1.S
+++ b/mpi/sparc32/mpih-add1.S
@@ -1,7 +1,8 @@
/* SPARC _add_n -- Add two limb vectors of the same length > 0 and store
* sum in a third limb vector.
*
- * Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/sparc32/mpih-lshift.S b/mpi/sparc32/mpih-lshift.S
index 5348a157a..114b58d4b 100644
--- a/mpi/sparc32/mpih-lshift.S
+++ b/mpi/sparc32/mpih-lshift.S
@@ -1,6 +1,7 @@
/* sparc lshift
*
- * Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/sparc32/mpih-rshift.S b/mpi/sparc32/mpih-rshift.S
index e74675d13..ebb947d3d 100644
--- a/mpi/sparc32/mpih-rshift.S
+++ b/mpi/sparc32/mpih-rshift.S
@@ -1,6 +1,7 @@
/* sparc rshift
*
- * Copyright (C) 1995, 1996, 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1995, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
diff --git a/mpi/sparc32/udiv.S b/mpi/sparc32/udiv.S
index 3e2376cfc..af3389286 100644
--- a/mpi/sparc32/udiv.S
+++ b/mpi/sparc32/udiv.S
@@ -1,24 +1,33 @@
-! SPARC v7 __udiv_qrnnd division support, used from longlong.h.
-! This is for v7 CPUs without a floating-point unit.
-
-! Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
-
-! This file is part of the GNU MP Library.
-
-! The GNU MP Library is free software; you can redistribute it and/or modify
-! it under the terms of the GNU Library General Public License as published by
-! the Free Software Foundation; either version 2 of the License, or (at your
-! option) any later version.
-
-! The GNU MP Library is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-! License for more details.
-
-! You should have received a copy of the GNU Library General Public License
-! along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-! the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-! MA 02111-1307, USA.
+/* SPARC v7 __udiv_qrnnd division support, used from longlong.h.
+ * This is for v7 CPUs without a floating-point unit.
+ *
+ * Copyright (C) 1993, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
! INPUT PARAMETERS
diff --git a/mpi/sparc32v8/mpih-mul1.S b/mpi/sparc32v8/mpih-mul1.S
index 8bc1db57a..3648f8b41 100644
--- a/mpi/sparc32v8/mpih-mul1.S
+++ b/mpi/sparc32v8/mpih-mul1.S
@@ -1,24 +1,34 @@
-! SPARC v8 __mpn_mul_1 -- Multiply a limb vector with a single limb and
-! store the product in a second limb vector.
+/* SPARC v8 __mpn_mul_1 -- Multiply a limb vector with a single limb and
+ * store the product in a second limb vector.
+ *
+ * Copyright (C) 1992, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
-! Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
-
-! This file is part of the GNU MP Library.
-
-! The GNU MP Library is free software; you can redistribute it and/or modify
-! it under the terms of the GNU Library General Public License as published by
-! the Free Software Foundation; either version 2 of the License, or (at your
-! option) any later version.
-
-! The GNU MP Library is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-! License for more details.
-
-! You should have received a copy of the GNU Library General Public License
-! along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-! the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-! MA 02111-1307, USA.
! INPUT PARAMETERS
diff --git a/mpi/sparc32v8/mpih-mul2.S b/mpi/sparc32v8/mpih-mul2.S
index 9055f89e8..f34af6a6d 100644
--- a/mpi/sparc32v8/mpih-mul2.S
+++ b/mpi/sparc32v8/mpih-mul2.S
@@ -1,24 +1,34 @@
-! SPARC v8 __mpn_addmul_1 -- Multiply a limb vector with a limb and
-! add the result to a second limb vector.
+/* SPARC v8 __mpn_addmul_1 -- Multiply a limb vector with a limb and
+ * add the result to a second limb vector.
+ *
+ * Copyright (C) 1992, 1993, 1994, 1995, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
-! Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
-
-! This file is part of the GNU MP Library.
-
-! The GNU MP Library is free software; you can redistribute it and/or modify
-! it under the terms of the GNU Library General Public License as published by
-! the Free Software Foundation; either version 2 of the License, or (at your
-! option) any later version.
-
-! The GNU MP Library is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-! License for more details.
-
-! You should have received a copy of the GNU Library General Public License
-! along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-! the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-! MA 02111-1307, USA.
! INPUT PARAMETERS
diff --git a/mpi/sparc32v8/mpih-mul3.S b/mpi/sparc32v8/mpih-mul3.S
index efd83de41..e498888d1 100644
--- a/mpi/sparc32v8/mpih-mul3.S
+++ b/mpi/sparc32v8/mpih-mul3.S
@@ -1,26 +1,35 @@
-! SPARC v8 __mpn_submul_1 -- Multiply a limb vector with a limb and
-! subtract the result from a second limb vector.
-
-! Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
-
-! This file is part of the GNU MP Library.
-
-! The GNU MP Library is free software; you can redistribute it and/or modify
-! it under the terms of the GNU Library General Public License as published by
-! the Free Software Foundation; either version 2 of the License, or (at your
-! option) any later version.
-
-! The GNU MP Library is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-! License for more details.
-
-! You should have received a copy of the GNU Library General Public License
-! along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-! the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-! MA 02111-1307, USA.
-
+/* SPARC v8 __mpn_submul_1 -- Multiply a limb vector with a limb and
+ * subtract the result from a second limb vector.
+ *
+ * Copyright (C) 1992, 1993, 1994, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
+
! INPUT PARAMETERS
! res_ptr o0
! s1_ptr o1
diff --git a/mpi/supersparc/udiv.S b/mpi/supersparc/udiv.S
index 07d904c70..6ad18ecaf 100644
--- a/mpi/supersparc/udiv.S
+++ b/mpi/supersparc/udiv.S
@@ -1,25 +1,35 @@
-! SuperSPARC __udiv_qrnnd division support, used from longlong.h.
-! This is for SuperSPARC only, to compensate for its semi-functional
-! udiv instruction.
+/* SuperSPARC __udiv_qrnnd division support, used from longlong.h.
+ * This is for SuperSPARC only, to compensate for its
+ * semi-functional udiv instruction.
+ *
+ * Copyright (C) 1993, 1994, 1996, 1998, 1999,
+ * 2000, 2001 Free Software Foundation, Inc.
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GnuPG is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ *
+ * Note: This code is heavily based on the GNU MP Library.
+ * Actually it's the same code with only minor changes in the
+ * way the data is stored; this is to support the abstraction
+ * of an optional secure memory allocation which may be used
+ * to avoid revealing of sensitive data due to paging etc.
+ * The GNU MP Library itself is published under the LGPL;
+ * however I decided to publish this code under the plain GPL.
+ */
-! Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
-
-! This file is part of the GNU MP Library.
-
-! The GNU MP Library is free software; you can redistribute it and/or modify
-! it under the terms of the GNU Library General Public License as published by
-! the Free Software Foundation; either version 2 of the License, or (at your
-! option) any later version.
-
-! The GNU MP Library is distributed in the hope that it will be useful, but
-! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
-! License for more details.
-
-! You should have received a copy of the GNU Library General Public License
-! along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-! the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-! MA 02111-1307, USA.
! INPUT PARAMETERS