forked from fruh/BitPunch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBitPunch.pro
96 lines (87 loc) · 3.27 KB
/
BitPunch.pro
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#/*
# This file is part of BitPunch
# Copyright (C) 2015 Frantisek Uhrecky <frantisek.uhrecky[what here]gmail.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program 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 General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#*/
#DEFINES += BPU_CONF_FULL_MECS BPU_CONF_NO_PRINT BPU_CONF_MECS_CCA2_POINTCHEVAL_QCMDPC
DEFINES += BPU_CONF_FULL
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
INCLUDEPATH += \
lib/src/
SOURCES += \
lib/src/bitpunch/code/goppa.c \
lib/src/bitpunch/crypto/hash.c \
lib/src/bitpunch/crypto/mecs.c \
lib/src/bitpunch/math/gf2.c \
lib/src/bitpunch/math/gf2x.c \
lib/src/bitpunch/math/int.c \
lib/src/bitpunch/math/mathctx.c \
lib/src/bitpunch/math/perm.c \
lib/src/bitpunch/debugio.c \
lib/src/bitpunch/code/codectx.c \
lib/src/bitpunch/crypto/mecsctx.c \
lib/src/bitpunch/prng/prng.c \
lib/src/bitpunch/code/goppa/goppa.c \
lib/src/bitpunch/crypto/mecsbasic/mecsbasic.c \
lib/src/bitpunch/crypto/padding/padding.c \
lib/src/main.c \
lib/src/bitpunch/code/goppa/goppatypes.c \
lib/src/test-speed.c \
lib/src/bitpunch/crypto/hash/polarssl/sha512.c \
lib/src/bitpunch/crypto/hash/sha512.c \
lib/src/bitpunch/crypto/hash/polarssl/sha512.c \
lib/src/bitpunch/crypto/cca2/mecspointcheval.c \
lib/src/bitpunch/asn1/asn1.c \
lib/src/bitpunch/code/qcmdpc/qcmdpc.c \
lib/src/bitpunch/code/qcmdpc/qcmdpctypes.c \
lib/src/bitpunch/math/bigint.c \
lib/src/bitpunch/math/uni.c
lib/src/bitpunch/tools.c
#include(deployment.pri)
#qtcAddDeployment()
HEADERS += \
lib/src/bitpunch/code/codectx.h \
lib/src/bitpunch/crypto/mecs.h \
lib/src/bitpunch/crypto/prng.h \
lib/src/bitpunch/math/gf2.h \
lib/src/bitpunch/math/gf2x.h \
lib/src/bitpunch/math/int.h \
lib/src/bitpunch/math/perm.h \
lib/src/bitpunch/debugio.h \
lib/src/bitpunch/crypto/mecsctx.h \
lib/src/bitpunch/code/goppatypes.h \
lib/src/bitpunch/prng/prng.h \
lib/src/bitpunch/errorcodes.h \
lib/src/bitpunch/code/goppa/goppa.h \
lib/src/bitpunch/code/goppa/goppatypes.h \
lib/src/bitpunch/crypto/mecsbasic/mecsbasic.h \
lib/src/bitpunch/crypto/padding/padding.h \
lib/src/bitpunch/version.h \
lib/src/bitpunch/bitpunch.h \
lib/src/bitpunch/crypto/hash/polarssl/polarssl/sha512.h \
lib/src/bitpunch/crypto/hash/sha512.h \
lib/src/bitpunch/config.h \
lib/src/bitpunch/crypto/cca2/mecspointcheval.h \
lib/src/bitpunch/asn1/asn1.h \
lib/src/bitpunch/code/qcmdpc/qcmdpc.h \
lib/src/bitpunch/code/qcmdpc/qcmdpctypes.h \
lib/src/bitpunch/math/bigint.h \
lib/src/bitpunch/math/uni.h
lib/src/bitpunch/tools.h
OTHER_FILES += \
lib/Makefile
DISTFILES += \
lib/asn1/MecsPriKey.asn \
lib/asn1/MecsPubKey.asn