diff options
author | Werner Koch <wk@gnupg.org> | 2000-10-11 17:26:49 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2000-10-11 17:26:49 +0000 |
commit | c0262da2b82bfedbe59b920d3377c600214a6907 (patch) | |
tree | c0f56f3b3f1a9427eafe1155a9081e86fcea6b77 /mpi | |
parent | 6bdc7e97117bde4a024a5beaa4605ef872d61d07 (diff) | |
download | libgcrypt-c0262da2b82bfedbe59b920d3377c600214a6907.tar.gz |
Add features packet and fixes MIPS3.
Diffstat (limited to 'mpi')
-rw-r--r-- | mpi/ChangeLog | 6 | ||||
-rw-r--r-- | mpi/config.links | 11 | ||||
-rw-r--r-- | mpi/generic/distfiles | 1 | ||||
-rw-r--r-- | mpi/generic/mpi-asm-defs.h | 9 | ||||
-rw-r--r-- | mpi/mips3/distfiles | 1 | ||||
-rw-r--r-- | mpi/mips3/mpi-asm-defs.h | 10 |
6 files changed, 38 insertions, 0 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog index 97ae3cd2..64b0b386 100644 --- a/mpi/ChangeLog +++ b/mpi/ChangeLog @@ -1,3 +1,9 @@ +2000-10-11 Werner Koch <wk@gnupg.org> + + * generic/mpi-asm-defs.h: New. + * mips3/mpi-asm-defs.h: New. + * config.links: Create a link to one of the above files. + Fri Jul 28 18:19:11 CEST 2000 Werner Koch <wk@openit.de> * mpicoder.c (gcry_mpi_scan): Normalize the returned MPI. diff --git a/mpi/config.links b/mpi/config.links index 6f6b276d..2a261ed3 100644 --- a/mpi/config.links +++ b/mpi/config.links @@ -278,3 +278,14 @@ for fn in $mpi_ln_modules ; do done done +# Same thing for the file which defines the limb size +path="$path generic" +for dir in $path ; do + rm -f $srcdir/mpi/mpi-asm-defs.h + if test -f $srcdir/mpi/$dir/mpi-asm-defs.h ; then + mpi_ln_src="$mpi_ln_src mpi/$dir/mpi-asm-defs.h" + mpi_ln_dst="$mpi_ln_dst mpi/mpi-asm-defs.h" + break; + fi +done + diff --git a/mpi/generic/distfiles b/mpi/generic/distfiles index 0bf4600f..649e829b 100644 --- a/mpi/generic/distfiles +++ b/mpi/generic/distfiles @@ -6,4 +6,5 @@ mpih-lshift.c mpih-rshift.c mpih-sub1.c udiv-w-sdiv.c +mpi-asm-defs.h diff --git a/mpi/generic/mpi-asm-defs.h b/mpi/generic/mpi-asm-defs.h new file mode 100644 index 00000000..c25f966a --- /dev/null +++ b/mpi/generic/mpi-asm-defs.h @@ -0,0 +1,9 @@ +/* This file defines some basic constants for the MPI machinery. We + * need to define the types on a per-CPU basis, so it is done with + * this file here. */ +#define BYTES_PER_MPI_LIMB (sizeof unsigned long) + + + + + diff --git a/mpi/mips3/distfiles b/mpi/mips3/distfiles index b88f4f86..85260fc8 100644 --- a/mpi/mips3/distfiles +++ b/mpi/mips3/distfiles @@ -6,4 +6,5 @@ mpih-mul2.S mpih-mul3.S mpih-lshift.S mpih-rshift.S +mpi-asm-defs.h diff --git a/mpi/mips3/mpi-asm-defs.h b/mpi/mips3/mpi-asm-defs.h new file mode 100644 index 00000000..2d9a9c1f --- /dev/null +++ b/mpi/mips3/mpi-asm-defs.h @@ -0,0 +1,10 @@ +/* This file defines some basic constants for the MPI machinery. We + * need to define the types on a per-CPU basis, so it is done with + * this file here. */ +#define BYTES_PER_MPI_LIMB 8 + + + + + + |