freeswitch/libs/libzrtp/third_party/bnlib
Mike Jerris 3f66eb6cbf FS-10471: [build] fix build error on debian 9 with --enable-zrtp 2017-07-05 12:17:24 -05:00
..
bignum-ARM Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
test Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
.gitignore Improve .gitignore 2013-02-11 16:41:45 +00:00
CHANGES
Makefile.in
README.bn
README.bntest
bn.c
bn.doc
bn.h
bn00.c
bn16.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
bn16.h
bn32.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
bn32.h
bn64.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
bn64.h
bn8086.c
bn68000.c
bnconfig.hin Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
bnconfig.win Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
bninit16.c
bninit32.c
bninit64.c
bnintern.doc
bnprint.c
bnprint.h
bnsize00.h
bntest00.c
bntest16.c Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
bntest32.c Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
bntest64.c Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
bootstrap.sh Bootstrap bnlib without warnings or errors 2012-06-25 08:50:00 +00:00
cfg
cfg.debug
configure.ac FS-10471: [build] fix build error on debian 9 with --enable-zrtp 2017-07-05 12:17:24 -05:00
cputime.h
germain.c
germain.h
germtest.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
jacobi.c
jacobi.h
kludge.h Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
lbn.h FS-4228 --resolve add zrtp support to windows vs2010 build 2012-05-17 08:38:11 -05:00
lbn00.c
lbn16.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
lbn16.h
lbn32.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
lbn32.h
lbn64.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
lbn64.h
lbn960jx.h
lbn960jx.s
lbn8086.asm
lbn8086.h
lbn68000.c
lbn68000.h
lbn68020.c
lbn68020.h
lbn68360.s
lbn80386.asm
lbn80386.h
lbn80386.s
lbnalpha.h
lbnalpha.s
lbnmem.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
lbnmem.h
lbnppc.c
lbnppc.h
legal.c FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
legal.h
ppcasm.h
prime.c
prime.h
sieve.c Remove outdated autoconf tests in bnlib 2012-06-25 08:48:11 +00:00
sieve.h
sizetest.c

README.bntest

Test driver for low-level BigNum library correctness.

In addition to the generic "bntest" program, which picks a size
at compile time, there are specific test drivers, bntest16,
bntest32 and bntest64 that you can compile specifically, e.g.
to test multiple word sizes.

bntest is different from other programs in that it invokes the
low-level BigNum functions directly.  It need only be linked with
lbnmem.o, lbn32.o and legal.o.  This is not normally desirable, but
it lets this test driver isolate errors better in the bottom-level
primitives.

It's served very well in tracking down errors.  If you write some new
assembly primitives and it doesn't find a problem with them, you
can have a good deal of confidence that they're correct.

This program also does timing tests on basic modular exponentiation.
It is invoked as bntest [modsize [expsize [expsize2]]].
If modsize is not specified, it only runs consistency checks.
If expsize is not specified, it defaults to modsize.
If expsize2 is not specified, it defaults to expsize.
Invalid arguments produce a usage message.

Example invocation lines:
bntest
bntest 512
bntest 1024 160