blob: dbc1c5f78498eb269a7dafae64feaf8b727299a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
#
# Makefile.am's purpose is to build the beetest_ test_ program.
#
# Copyright (c) 2001, 2002, 2003 Virtual Unlimited B.V.
#
# Author: Bob Deblier <bob.deblier@pandora.be>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library 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
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
AUTOMAKE_OPTIONS = gnu no-dependencies
INCLUDES = -I$(top_srcdir)
LDADD = $(top_builddir)/libbeecrypt.la
TESTS = testmd5 testsha1 testsha256 testhmacmd5 testhmacsha1 testmp testrsa testdldp
check_PROGRAMS = testmd5 testsha1 testsha256 testhmacmd5 testhmacsha1 testmp testrsa testdldp
testmd5_SOURCES = testmd5.c
testsha1_SOURCES = testsha1.c
testsha256_SOURCES = testsha256.c
testhmacmd5_SOURCES = testhmacmd5.c
testhmacsha1_SOURCES = testhmacsha1.c
testmp_SOURCES = testmp.c
testrsa_SOURCES = testrsa.c
testdldp_SOURCES = testdldp.c
EXTRA_PROGRAMS = benchme benchhf benchbc
benchme_SOURCES = benchme.c
benchhf_SOURCES = benchhf.c
benchbc_SOURCES = benchbc.c
# Run every benchmark test twice
bench: benchme benchhf benchbc
./benchme
./benchme
./benchhf MD5
./benchhf MD5
./benchhf SHA-1
./benchhf SHA-1
./benchhf SHA-256
./benchhf SHA-256
./benchbc AES 128
./benchbc AES 128
./benchbc Blowfish 128
./benchbc Blowfish 128
|