X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/ba6e6b64033b1f9de49feccb5c9cd438354481f7..0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a:/rand/Makefile.am diff --git a/rand/Makefile.am b/rand/Makefile.am new file mode 100644 index 0000000..3934131 --- /dev/null +++ b/rand/Makefile.am @@ -0,0 +1,83 @@ +### -*-makefile-*- +### +### Build script for random number generators +### +### (c) 2013 Straylight/Edgeware +### + +###----- Licensing notice --------------------------------------------------- +### +### This file is part of Catacomb. +### +### Catacomb is free software; you can redistribute it and/or modify +### it under the terms of the GNU Library General Public License as +### published by the Free Software Foundation; either version 2 of the +### License, or (at your option) any later version. +### +### Catacomb is distributed in the hope that it will be useful, +### but WITHOUT ANY WARRANTY; without even the implied warranty of +### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +### GNU Library General Public License for more details. +### +### You should have received a copy of the GNU Library General Public +### License along with Catacomb; if not, write to the Free +### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +### MA 02111-1307, USA. + +include $(top_srcdir)/vars.am + +noinst_LTLIBRARIES = librand.la +librand_la_SOURCES = + +TEST_LIBS = librand.la + +###-------------------------------------------------------------------------- +### Component files. + +## The FIPS186 generator used to generate DSA domain parameters. +pkginclude_HEADERS += dsarand.h +librand_la_SOURCES += dsarand.c + +## Knuth's lagged-Fibonacci generator. +pkginclude_HEADERS += fibrand.h +librand_la_SOURCES += fibrand.c + +## The FIPS 140--2 random number generator tests. +pkginclude_HEADERS += fipstest.h +librand_la_SOURCES += fipstest.c + +## Interface for generic random number sources. +pkginclude_HEADERS += grand.h +librand_la_SOURCES += grand.c + +## A simple linear-congruential generator. +pkginclude_HEADERS += lcrand.h +librand_la_SOURCES += lcrand.c +TESTS += lcrand.$t +EXTRA_DIST += t/lcrand + +## Maurer's universal statistical test. +pkginclude_HEADERS += maurer.h +librand_la_SOURCES += maurer.c + +## System-specific noise acquisition. +pkginclude_HEADERS += noise.h +librand_la_SOURCES += noise.c + +## Cryptographic laundering for true random data generation. +pkginclude_HEADERS += rand.h +librand_la_SOURCES += rand.c + +## The SSL v3 pseudorandom function. +pkginclude_HEADERS += sslprf.h +librand_la_SOURCES += sslprf.c +TESTS += sslprf.$t +EXTRA_DIST += t/sslprf + +## The TLS v1 pseudorandom function. +pkginclude_HEADERS += tlsprf.h +librand_la_SOURCES += tlsprf.c +TESTS += tlsprf.$t +EXTRA_DIST += t/tlsprf + +###----- That's all, folks --------------------------------------------------