freeswitch/libs/libzrtp/third_party/bnlib
Travis Cross d2edcad66e Merge Phil Zimmermann's libzrtp as a FreeSWITCH library
Thanks to Phil Zimmermann for the code and for the license exception
we needed to include it.

There remains some build system integration work to be done before
this code will build properly in the FreeSWITCH tree.
2012-03-31 23:42:27 +00:00
..
bignum-ARM Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
test Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
CHANGES Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
Makefile Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
Makefile.in Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
README.bn Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
README.bntest Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn.doc Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn00.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn16.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn16.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn32.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn32.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn64.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn64.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn8086.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bn68000.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bnconfig.hin Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bninit16.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bninit32.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bninit64.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bnintern.doc Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bnprint.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bnprint.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bnsize00.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bntest00.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bntest16.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bntest32.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
bntest64.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
cfg Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
cfg.debug Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
configure.in Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
cputime.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
germain.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
germain.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
germtest.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
jacobi.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
jacobi.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
kludge.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn00.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn16.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn16.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn32.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn32.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn64.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn64.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn960jx.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn960jx.s Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn8086.asm Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn8086.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn68000.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn68000.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn68020.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn68020.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn68360.s Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn80386.asm Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn80386.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbn80386.s Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbnalpha.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbnalpha.s Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbnmem.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbnmem.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbnppc.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
lbnppc.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
legal.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
legal.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
ppcasm.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
prime.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
prime.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
sieve.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
sieve.h Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00
sizetest.c Merge Phil Zimmermann's libzrtp as a FreeSWITCH library 2012-03-31 23:42:27 +00:00

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