From 299c220ccfc271dd778aa6cae5019d2f942e1161 Mon Sep 17 00:00:00 2001 From: Constantin Papizh <p.const@bk.ru> Date: Fri, 8 May 2020 02:00:46 +0300 Subject: [PATCH] added seed stuff into Qt-based project --- dap-sdk/crypto/include/dap_enc_SEED.h | 2 +- dap-sdk/crypto/libdap-crypto.pri | 1 + dap-sdk/crypto/src/seed/seed.pri | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 dap-sdk/crypto/src/seed/seed.pri diff --git a/dap-sdk/crypto/include/dap_enc_SEED.h b/dap-sdk/crypto/include/dap_enc_SEED.h index 8b9a31acea..8ff83d6c8f 100644 --- a/dap-sdk/crypto/include/dap_enc_SEED.h +++ b/dap-sdk/crypto/include/dap_enc_SEED.h @@ -3,7 +3,7 @@ #include <stddef.h> #include "dap_enc_key.h" -#include "seed/seed.h" +#include "seed.h" #ifdef __cplusplus extern "C" { diff --git a/dap-sdk/crypto/libdap-crypto.pri b/dap-sdk/crypto/libdap-crypto.pri index 8962e71a58..95ff87f345 100755 --- a/dap-sdk/crypto/libdap-crypto.pri +++ b/dap-sdk/crypto/libdap-crypto.pri @@ -12,6 +12,7 @@ include (src/sig_picnic/sig_picnic.pri) include (src/sig_tesla/sig_tesla.pri) include (src/sig_dilithium/sig_dilithium.pri) include (src/ringct20/ringct20.pri) +include (src/seed/seed.pri) DEFINES += KeccakP1600timesN_excluded diff --git a/dap-sdk/crypto/src/seed/seed.pri b/dap-sdk/crypto/src/seed/seed.pri new file mode 100644 index 0000000000..a87cca7e1c --- /dev/null +++ b/dap-sdk/crypto/src/seed/seed.pri @@ -0,0 +1,5 @@ +INCLUDEPATH += $$PWD + +HEADERS += $$PWD/modes.h $$PWD/seed.h $$PWD/seed_local.h + +SOURCES += $$PWD/seed.c $$PWD/ofb128.c $$PWD/seed_ofb.c \ No newline at end of file -- GitLab