fix & run dep.pl
This commit is contained in:
parent
7ac11218ca
commit
6a9deb79da
0
bn_mp_exptmod_fast.c
Executable file → Normal file
0
bn_mp_exptmod_fast.c
Executable file → Normal file
16
dep.pl
16
dep.pl
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user