fix & run dep.pl

This commit is contained in:
Steffen Jaeckel 2018-12-26 15:44:26 +01:00
parent 7ac11218ca
commit 6a9deb79da
3 changed files with 17 additions and 1 deletions

0
bn_mp_exptmod_fast.c Executable file → Normal file
View File

16
dep.pl
View File

@ -10,6 +10,18 @@ my %deplist;
#open class file and write preamble
open(my $class, '>', 'tommath_class.h') or die "Couldn't open tommath_class.h for writing\n";
print {$class} << 'EOS';
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MPI library by
* Michael Fromberger but has been written from scratch with
* additional optimizations in place.
*
* SPDX-License-Identifier: Unlicense
*/
#if !(defined(LTM1) && defined(LTM2) && defined(LTM3))
#if defined(LTM2)
# define LTM3
@ -125,6 +137,10 @@ print {$class} << 'EOS';
#else
# define LTM_LAST
#endif
/* ref: $Format:%D$ */
/* git commit: $Format:%H$ */
/* commit time: $Format:%ai$ */
EOS
close $class;

View File

@ -785,7 +785,7 @@
#if defined(BN_MP_PRIME_STRONG_LUCAS_SELFRIDGE_C)
# define BN_MP_PRIME_IS_PRIME_C
# define BN_MP_MUL_D_C
# define BN_MP_MUL_SI_C
# define BN_S_MP_MUL_SI_C
# define BN_MP_INIT_C
# define BN_MP_SET_LONG_C
# define BN_MP_MUL_C