diff options
author | Rob Austein <sra@hactrn.net> | 2015-06-11 10:53:26 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-06-11 10:53:26 -0400 |
commit | 5f152f558e7bc8fc8d93ae250bdc61cd60ab5acd (patch) | |
tree | 097104aa649411d3bf3bec5b14963365016fed04 /configure | |
parent | 5d21abbc8a727b7a586a91d0fc5c704deb1a69a4 (diff) |
First cut at RSA decryption/signature using the Chinese Remainder
Theorem. Not yet tested, and given the number of moving parts I would
be astonished if this version actually worked, but it does compile.
Added some timing code to tests/test-rsa.c so we can see whether this
is doing anything useful once it does work.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -583,6 +583,7 @@ PACKAGE_URL='' ac_subst_vars='LTLIBOBJS LIBOBJS +TFMDIR LDFLAGS CFLAGS CC @@ -635,7 +636,8 @@ target_alias FPGA_BUS CC CFLAGS -LDFLAGS' +LDFLAGS +TFMDIR' # Initialize some variables set by options. @@ -1246,6 +1248,7 @@ Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS Linker flags + TFMDIR Directory containing libtfm.a and tfm.h Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1684,6 +1687,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + case $FPGA_BUS in #( "") : FPGA_BUS=EIM ;; #( @@ -1695,19 +1699,25 @@ esac case $CC in #( "") : - CC="cc" ;; #( + CC='cc' ;; #( *) : ;; esac case $CFLAGS in #( "") : - CFLAGS="-g -Wall -fPIC" ;; #( + CFLAGS='-g3 -Wall -fPIC -std=c99 -I${TFMDIR}' ;; #( *) : ;; esac case $LDFLAGS in #( "") : - LDFLAGS="-g" ;; #( + LDFLAGS='-g3 -L${TFMDIR} -ltfm' ;; #( + *) : + ;; +esac +case $TFMDIR in #( + "") : + TFMDIR='${abs_top_builddir}/../libtfm' ;; #( *) : ;; esac @@ -1720,6 +1730,8 @@ $as_echo "$as_me: C compiler: $CC" >&6;} $as_echo "$as_me: C compiler flags: $CFLAGS" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: Linker flags: $LDFLAGS" >&5 $as_echo "$as_me: Linker flags: $LDFLAGS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: libtfm directory: $TFMDIR" >&5 +$as_echo "$as_me: libtfm directory: $TFMDIR" >&6;} ac_config_files="$ac_config_files Makefile tests/Makefile" |