progs/perftest.c: Use from Glibc syscall numbers.
[catacomb] / rand / Makefile.am
CommitLineData
0f00dc4c
MW
1### -*-makefile-*-
2###
3### Build script for random number generators
4###
5### (c) 2013 Straylight/Edgeware
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This file is part of Catacomb.
11###
12### Catacomb is free software; you can redistribute it and/or modify
13### it under the terms of the GNU Library General Public License as
14### published by the Free Software Foundation; either version 2 of the
15### License, or (at your option) any later version.
16###
17### Catacomb is distributed in the hope that it will be useful,
18### but WITHOUT ANY WARRANTY; without even the implied warranty of
19### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20### GNU Library General Public License for more details.
21###
22### You should have received a copy of the GNU Library General Public
23### License along with Catacomb; if not, write to the Free
24### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25### MA 02111-1307, USA.
26
27include $(top_srcdir)/vars.am
28
29noinst_LTLIBRARIES = librand.la
30librand_la_SOURCES =
31
32TEST_LIBS = librand.la
33
34###--------------------------------------------------------------------------
35### Component files.
36
37## The FIPS186 generator used to generate DSA domain parameters.
38pkginclude_HEADERS += dsarand.h
39librand_la_SOURCES += dsarand.c
40
41## Knuth's lagged-Fibonacci generator.
42pkginclude_HEADERS += fibrand.h
43librand_la_SOURCES += fibrand.c
44
45## The FIPS 140--2 random number generator tests.
46pkginclude_HEADERS += fipstest.h
47librand_la_SOURCES += fipstest.c
48
49## Interface for generic random number sources.
50pkginclude_HEADERS += grand.h
51librand_la_SOURCES += grand.c
52
53## A simple linear-congruential generator.
54pkginclude_HEADERS += lcrand.h
55librand_la_SOURCES += lcrand.c
ba57d652 56TESTS += lcrand.t$(EXEEXT)
0f00dc4c
MW
57EXTRA_DIST += t/lcrand
58
59## Maurer's universal statistical test.
60pkginclude_HEADERS += maurer.h
61librand_la_SOURCES += maurer.c
62
63## System-specific noise acquisition.
64pkginclude_HEADERS += noise.h
65librand_la_SOURCES += noise.c
66
67## Cryptographic laundering for true random data generation.
68pkginclude_HEADERS += rand.h
69librand_la_SOURCES += rand.c
a3ad4421
MW
70if CPUFAM_X86
71librand_la_SOURCES += rand-x86ish.S
72endif
73if CPUFAM_AMD64
74librand_la_SOURCES += rand-x86ish.S
75endif
53073dfb 76librand_la_SOURCES += randgen.c
0f00dc4c
MW
77
78## The SSL v3 pseudorandom function.
79pkginclude_HEADERS += sslprf.h
80librand_la_SOURCES += sslprf.c
ba57d652 81TESTS += sslprf.t$(EXEEXT)
0f00dc4c
MW
82EXTRA_DIST += t/sslprf
83
84## The TLS v1 pseudorandom function.
85pkginclude_HEADERS += tlsprf.h
86librand_la_SOURCES += tlsprf.c
ba57d652 87TESTS += tlsprf.t$(EXEEXT)
0f00dc4c
MW
88EXTRA_DIST += t/tlsprf
89
90###----- That's all, folks --------------------------------------------------