2013-02-08 13:21:32 -07:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
cmptest.h \
|
2013-10-19 21:06:55 -07:00
|
|
|
wintest.bat \
|
2014-11-25 10:51:39 -07:00
|
|
|
pre.js.inc \
|
2015-10-11 03:56:20 -07:00
|
|
|
aead_aes256gcm.exp \
|
2018-08-30 00:51:28 -07:00
|
|
|
aead_aes256gcm2.exp \
|
2014-06-26 08:48:13 -07:00
|
|
|
aead_chacha20poly1305.exp \
|
2018-09-04 06:44:42 -07:00
|
|
|
aead_chacha20poly13052.exp \
|
2017-02-18 14:10:02 -07:00
|
|
|
aead_xchacha20poly1305.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
auth.exp \
|
|
|
|
auth2.exp \
|
|
|
|
auth3.exp \
|
|
|
|
auth5.exp \
|
2014-04-14 21:32:01 -07:00
|
|
|
auth6.exp \
|
|
|
|
auth7.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
box.exp \
|
|
|
|
box2.exp \
|
|
|
|
box7.exp \
|
|
|
|
box8.exp \
|
2013-12-21 20:01:05 -07:00
|
|
|
box_easy.exp \
|
2013-12-31 06:24:28 -07:00
|
|
|
box_easy2.exp \
|
2015-04-16 14:46:29 -07:00
|
|
|
box_seal.exp \
|
2014-05-23 00:22:52 -07:00
|
|
|
box_seed.exp \
|
2014-05-15 13:27:15 -07:00
|
|
|
chacha20.exp \
|
2017-09-19 13:51:05 -07:00
|
|
|
codecs.exp \
|
2017-11-14 17:34:43 -07:00
|
|
|
core_ed25519.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
core1.exp \
|
|
|
|
core2.exp \
|
|
|
|
core3.exp \
|
|
|
|
core4.exp \
|
|
|
|
core5.exp \
|
|
|
|
core6.exp \
|
2014-08-05 13:32:25 -07:00
|
|
|
ed25519_convert.exp \
|
2013-04-19 15:28:19 -07:00
|
|
|
generichash.exp \
|
2013-04-21 05:26:34 -07:00
|
|
|
generichash2.exp \
|
2013-11-12 00:33:16 -07:00
|
|
|
generichash3.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
hash.exp \
|
|
|
|
hash2.exp \
|
|
|
|
hash3.exp \
|
2017-02-19 10:13:10 -07:00
|
|
|
kdf.exp \
|
2017-02-19 13:15:54 -07:00
|
|
|
keygen.exp \
|
2017-03-12 05:05:24 -07:00
|
|
|
kx.exp \
|
2017-09-17 12:41:32 -07:00
|
|
|
metamorphic.exp \
|
2017-07-17 14:09:44 -07:00
|
|
|
misuse.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
onetimeauth.exp \
|
|
|
|
onetimeauth2.exp \
|
|
|
|
onetimeauth7.exp \
|
2017-10-01 02:09:55 -07:00
|
|
|
pwhash_argon2i.exp \
|
2017-06-28 06:49:49 -07:00
|
|
|
pwhash_argon2id.exp \
|
2015-12-29 08:14:19 -07:00
|
|
|
pwhash_scrypt.exp \
|
2014-06-03 04:04:26 -07:00
|
|
|
pwhash_scrypt_ll.exp \
|
2014-09-14 12:43:53 -07:00
|
|
|
randombytes.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
scalarmult.exp \
|
2017-11-15 08:57:29 -07:00
|
|
|
scalarmult_ed25519.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
scalarmult2.exp \
|
|
|
|
scalarmult5.exp \
|
|
|
|
scalarmult6.exp \
|
2014-09-18 21:27:49 -07:00
|
|
|
scalarmult7.exp \
|
2018-08-29 06:08:26 -07:00
|
|
|
scalarmult8.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
secretbox.exp \
|
|
|
|
secretbox2.exp \
|
|
|
|
secretbox7.exp \
|
|
|
|
secretbox8.exp \
|
2013-12-31 10:35:04 -07:00
|
|
|
secretbox_easy.exp \
|
2013-12-31 10:46:10 -07:00
|
|
|
secretbox_easy2.exp \
|
2017-08-16 05:53:16 -07:00
|
|
|
secretstream.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
shorthash.exp \
|
2014-05-07 23:23:13 -07:00
|
|
|
sign.exp \
|
2017-02-24 11:23:14 -07:00
|
|
|
siphashx24.exp \
|
2013-04-25 22:37:15 -07:00
|
|
|
sodium_core.exp \
|
|
|
|
sodium_utils.exp \
|
2014-07-26 15:52:02 -07:00
|
|
|
sodium_utils2.exp \
|
|
|
|
sodium_utils3.exp \
|
2013-04-25 22:37:15 -07:00
|
|
|
sodium_version.exp \
|
2013-02-08 13:21:32 -07:00
|
|
|
stream.exp \
|
|
|
|
stream2.exp \
|
|
|
|
stream3.exp \
|
2013-04-26 20:34:30 -07:00
|
|
|
stream4.exp \
|
2017-02-12 14:28:35 -07:00
|
|
|
verify1.exp \
|
|
|
|
xchacha20.exp
|
2013-02-08 13:21:32 -07:00
|
|
|
|
2013-04-27 16:42:37 -07:00
|
|
|
DISTCLEANFILES = \
|
2015-10-11 03:56:20 -07:00
|
|
|
aead_aes256gcm.res \
|
2018-08-30 00:51:28 -07:00
|
|
|
aead_aes256gcm2.res \
|
2014-06-26 08:48:13 -07:00
|
|
|
aead_chacha20poly1305.res \
|
2018-09-04 06:44:42 -07:00
|
|
|
aead_chacha20poly13052.res \
|
2017-02-18 14:10:02 -07:00
|
|
|
aead_xchacha20poly1305.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
auth.res \
|
|
|
|
auth2.res \
|
|
|
|
auth3.res \
|
|
|
|
auth5.res \
|
2014-04-14 21:32:01 -07:00
|
|
|
auth6.res \
|
|
|
|
auth7.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
box.res \
|
|
|
|
box2.res \
|
|
|
|
box7.res \
|
|
|
|
box8.res \
|
2013-12-21 20:01:05 -07:00
|
|
|
box_easy.res \
|
2013-12-31 06:24:28 -07:00
|
|
|
box_easy2.res \
|
2015-04-16 14:46:29 -07:00
|
|
|
box_seal.res \
|
2014-05-23 00:22:52 -07:00
|
|
|
box_seed.res \
|
2014-05-15 13:27:15 -07:00
|
|
|
chacha20.res \
|
2017-09-19 13:51:05 -07:00
|
|
|
codecs.res \
|
2017-11-14 17:34:43 -07:00
|
|
|
core_ed25519.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
core1.res \
|
|
|
|
core2.res \
|
|
|
|
core3.res \
|
|
|
|
core4.res \
|
|
|
|
core5.res \
|
|
|
|
core6.res \
|
2014-08-05 13:32:25 -07:00
|
|
|
ed25519_convert.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
generichash.res \
|
|
|
|
generichash2.res \
|
2013-11-12 00:33:16 -07:00
|
|
|
generichash3.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
hash.res \
|
|
|
|
hash2.res \
|
|
|
|
hash3.res \
|
2017-02-19 10:13:10 -07:00
|
|
|
kdf.res \
|
2017-02-19 13:15:54 -07:00
|
|
|
keygen.res \
|
2017-03-12 05:05:24 -07:00
|
|
|
kx.res \
|
2017-09-17 12:41:32 -07:00
|
|
|
metamorphic.res \
|
2017-07-17 14:09:44 -07:00
|
|
|
misuse.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
onetimeauth.res \
|
|
|
|
onetimeauth2.res \
|
|
|
|
onetimeauth7.res \
|
2017-10-01 02:09:55 -07:00
|
|
|
pwhash_argon2i.res \
|
2017-06-28 06:49:49 -07:00
|
|
|
pwhash_argon2id.res \
|
2015-12-29 08:14:19 -07:00
|
|
|
pwhash_scrypt.res \
|
2014-06-03 04:04:26 -07:00
|
|
|
pwhash_scrypt_ll.res \
|
2014-09-14 12:43:53 -07:00
|
|
|
randombytes.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
scalarmult.res \
|
2017-11-15 08:57:29 -07:00
|
|
|
scalarmult_ed25519.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
scalarmult2.res \
|
|
|
|
scalarmult5.res \
|
|
|
|
scalarmult6.res \
|
2014-09-18 21:27:49 -07:00
|
|
|
scalarmult7.res \
|
2018-08-29 06:08:26 -07:00
|
|
|
scalarmult8.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
secretbox.res \
|
|
|
|
secretbox2.res \
|
|
|
|
secretbox7.res \
|
|
|
|
secretbox8.res \
|
2013-12-31 10:35:04 -07:00
|
|
|
secretbox_easy.res \
|
2013-12-31 10:46:10 -07:00
|
|
|
secretbox_easy2.res \
|
2017-08-16 05:53:16 -07:00
|
|
|
secretstream.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
shorthash.res \
|
2014-05-07 23:23:13 -07:00
|
|
|
sign.res \
|
2017-02-24 11:23:14 -07:00
|
|
|
siphashx24.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
sodium_core.res \
|
|
|
|
sodium_utils.res \
|
2014-07-26 15:52:02 -07:00
|
|
|
sodium_utils2.res \
|
|
|
|
sodium_utils3.res \
|
2013-04-27 16:42:37 -07:00
|
|
|
sodium_version.res \
|
|
|
|
stream.res \
|
|
|
|
stream2.res \
|
|
|
|
stream3.res \
|
|
|
|
stream4.res \
|
2017-02-12 14:28:35 -07:00
|
|
|
verify1.res \
|
|
|
|
xchacha20.res
|
2013-04-27 16:42:37 -07:00
|
|
|
|
2015-06-22 12:16:07 -07:00
|
|
|
if NATIVECLIENT
|
|
|
|
CLEANFILES = \
|
2015-10-11 03:56:20 -07:00
|
|
|
aead_aes256gcm.final \
|
2018-08-30 00:51:28 -07:00
|
|
|
aead_aes256gcm2.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
aead_chacha20poly1305.final \
|
2018-09-04 06:44:42 -07:00
|
|
|
aead_chacha20poly13052.final \
|
2017-02-18 14:10:02 -07:00
|
|
|
aead_xchacha20poly1305.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
auth.final \
|
|
|
|
auth2.final \
|
|
|
|
auth3.final \
|
|
|
|
auth5.final \
|
|
|
|
auth6.final \
|
|
|
|
auth7.final \
|
|
|
|
box.final \
|
|
|
|
box2.final \
|
|
|
|
box7.final \
|
|
|
|
box8.final \
|
|
|
|
box_easy.final \
|
|
|
|
box_easy2.final \
|
|
|
|
box_seal.final \
|
|
|
|
box_seed.final \
|
|
|
|
chacha20.final \
|
2017-09-19 13:51:05 -07:00
|
|
|
codecs.final \
|
2017-11-14 17:34:43 -07:00
|
|
|
core_ed25519.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
core1.final \
|
|
|
|
core2.final \
|
|
|
|
core3.final \
|
|
|
|
core4.final \
|
|
|
|
core5.final \
|
|
|
|
core6.final \
|
|
|
|
ed25519_convert.final \
|
|
|
|
generichash.final \
|
|
|
|
generichash2.final \
|
|
|
|
generichash3.final \
|
|
|
|
hash.final \
|
|
|
|
hash2.final \
|
|
|
|
hash3.final \
|
2017-02-19 10:13:10 -07:00
|
|
|
kdf.final \
|
2017-02-19 13:15:54 -07:00
|
|
|
keygen.final \
|
2017-03-12 05:05:24 -07:00
|
|
|
kx.final \
|
2017-09-17 12:41:32 -07:00
|
|
|
metamorphic.final \
|
2017-07-17 14:09:44 -07:00
|
|
|
misuse.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
onetimeauth.final \
|
|
|
|
onetimeauth2.final \
|
|
|
|
onetimeauth7.final \
|
2017-10-01 02:09:55 -07:00
|
|
|
pwhash_argon2i.final \
|
2017-06-28 06:49:49 -07:00
|
|
|
pwhash_argon2id.final \
|
2015-12-29 08:14:19 -07:00
|
|
|
pwhash_scrypt.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
pwhash_scrypt_ll.final \
|
|
|
|
randombytes.final \
|
|
|
|
scalarmult.final \
|
2017-11-15 08:57:29 -07:00
|
|
|
scalarmult_ed25519.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
scalarmult2.final \
|
|
|
|
scalarmult5.final \
|
|
|
|
scalarmult6.final \
|
|
|
|
scalarmult7.final \
|
2018-08-29 06:08:26 -07:00
|
|
|
scalarmult8.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
secretbox.final \
|
|
|
|
secretbox2.final \
|
|
|
|
secretbox7.final \
|
|
|
|
secretbox8.final \
|
|
|
|
secretbox_easy.final \
|
|
|
|
secretbox_easy2.final \
|
2017-08-16 05:53:16 -07:00
|
|
|
secretstream.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
shorthash.final \
|
|
|
|
sign.final \
|
2017-02-24 11:23:14 -07:00
|
|
|
siphashx24.final \
|
2015-06-22 12:16:07 -07:00
|
|
|
sodium_core.final \
|
|
|
|
sodium_utils.final \
|
|
|
|
sodium_version.final \
|
|
|
|
stream.final \
|
|
|
|
stream2.final \
|
|
|
|
stream3.final \
|
|
|
|
stream4.final \
|
|
|
|
verify1.final \
|
2017-02-18 14:10:02 -07:00
|
|
|
xchacha20.final \
|
2015-10-11 03:56:20 -07:00
|
|
|
aead_aes256gcm.nexe \
|
2018-08-30 00:51:28 -07:00
|
|
|
aead_aes256gcm2.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
aead_chacha20poly1305.nexe \
|
2018-09-04 06:44:42 -07:00
|
|
|
aead_chacha20poly13052.nexe \
|
2017-02-18 14:10:02 -07:00
|
|
|
aead_xchacha20poly1305.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
auth.nexe \
|
|
|
|
auth2.nexe \
|
|
|
|
auth3.nexe \
|
|
|
|
auth5.nexe \
|
|
|
|
auth6.nexe \
|
|
|
|
auth7.nexe \
|
|
|
|
box.nexe \
|
|
|
|
box2.nexe \
|
|
|
|
box7.nexe \
|
|
|
|
box8.nexe \
|
|
|
|
box_easy.nexe \
|
|
|
|
box_easy2.nexe \
|
|
|
|
box_seal.nexe \
|
|
|
|
box_seed.nexe \
|
|
|
|
chacha20.nexe \
|
2017-09-19 13:51:05 -07:00
|
|
|
codecs.nexe \
|
2017-11-14 17:34:43 -07:00
|
|
|
core_ed25519.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
core1.nexe \
|
|
|
|
core2.nexe \
|
|
|
|
core3.nexe \
|
|
|
|
core4.nexe \
|
|
|
|
core5.nexe \
|
|
|
|
core6.nexe \
|
|
|
|
ed25519_convert.nexe \
|
|
|
|
generichash.nexe \
|
|
|
|
generichash2.nexe \
|
|
|
|
generichash3.nexe \
|
|
|
|
hash.nexe \
|
|
|
|
hash2.nexe \
|
|
|
|
hash3.nexe \
|
2017-02-19 10:13:10 -07:00
|
|
|
kdf.nexe \
|
2017-02-19 13:15:54 -07:00
|
|
|
keygen.nexe \
|
2017-03-12 05:05:24 -07:00
|
|
|
kx.nexe \
|
2017-09-17 12:41:32 -07:00
|
|
|
metamorphic.nexe \
|
2017-07-17 14:09:44 -07:00
|
|
|
misuse.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
onetimeauth.nexe \
|
|
|
|
onetimeauth2.nexe \
|
|
|
|
onetimeauth7.nexe \
|
2017-10-01 02:09:55 -07:00
|
|
|
pwhash_argon2i.nexe \
|
2017-06-28 06:49:49 -07:00
|
|
|
pwhash_argon2id.nexe \
|
2015-12-29 08:14:19 -07:00
|
|
|
pwhash_scrypt.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
pwhash_scrypt_ll.nexe \
|
|
|
|
randombytes.nexe \
|
|
|
|
scalarmult.nexe \
|
2017-11-15 08:57:29 -07:00
|
|
|
scalarmult_ed25519.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
scalarmult2.nexe \
|
|
|
|
scalarmult5.nexe \
|
|
|
|
scalarmult6.nexe \
|
|
|
|
scalarmult7.nexe \
|
2018-08-29 06:08:26 -07:00
|
|
|
scalarmult8.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
secretbox.nexe \
|
|
|
|
secretbox2.nexe \
|
|
|
|
secretbox7.nexe \
|
|
|
|
secretbox8.nexe \
|
|
|
|
secretbox_easy.nexe \
|
|
|
|
secretbox_easy2.nexe \
|
2017-08-16 05:53:16 -07:00
|
|
|
secretstream.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
shorthash.nexe \
|
|
|
|
sign.nexe \
|
2017-02-24 11:23:14 -07:00
|
|
|
siphashx24.nexe \
|
2015-06-22 12:16:07 -07:00
|
|
|
sodium_core.nexe \
|
|
|
|
sodium_utils.nexe \
|
|
|
|
sodium_version.nexe \
|
|
|
|
stream.nexe \
|
|
|
|
stream2.nexe \
|
|
|
|
stream3.nexe \
|
|
|
|
stream4.nexe \
|
2017-02-12 14:28:35 -07:00
|
|
|
verify1.nexe \
|
|
|
|
xchacha20.nexe
|
2015-06-22 12:16:07 -07:00
|
|
|
endif
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
AM_CPPFLAGS = \
|
2013-04-27 11:43:26 -07:00
|
|
|
-DTEST_SRCDIR=\"@srcdir@\" \
|
2013-02-08 13:21:32 -07:00
|
|
|
-I$(top_srcdir)/src/libsodium/include \
|
|
|
|
-I$(top_srcdir)/src/libsodium/include/sodium \
|
2013-04-19 08:19:33 -07:00
|
|
|
-I$(top_builddir)/src/libsodium/include \
|
|
|
|
-I$(top_builddir)/src/libsodium/include/sodium \
|
2013-02-08 13:21:32 -07:00
|
|
|
-I$(top_srcdir)/test/quirks
|
|
|
|
|
2014-11-24 18:19:55 -07:00
|
|
|
AM_LDFLAGS = @TEST_LDFLAGS@
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
TESTS_TARGETS = \
|
2015-10-11 03:56:20 -07:00
|
|
|
aead_aes256gcm \
|
2018-08-30 00:51:28 -07:00
|
|
|
aead_aes256gcm2 \
|
2014-06-26 08:48:13 -07:00
|
|
|
aead_chacha20poly1305 \
|
2018-09-04 06:44:42 -07:00
|
|
|
aead_chacha20poly13052 \
|
2017-03-02 02:19:08 -07:00
|
|
|
aead_xchacha20poly1305 \
|
2013-02-08 13:21:32 -07:00
|
|
|
auth \
|
|
|
|
auth2 \
|
|
|
|
auth3 \
|
|
|
|
auth5 \
|
2014-04-14 21:32:01 -07:00
|
|
|
auth6 \
|
|
|
|
auth7 \
|
2013-02-08 13:21:32 -07:00
|
|
|
box \
|
|
|
|
box2 \
|
|
|
|
box7 \
|
|
|
|
box8 \
|
2013-12-21 20:01:05 -07:00
|
|
|
box_easy \
|
2013-12-31 06:24:28 -07:00
|
|
|
box_easy2 \
|
2015-04-16 14:46:29 -07:00
|
|
|
box_seal \
|
2014-05-23 00:22:52 -07:00
|
|
|
box_seed \
|
2014-05-15 13:27:15 -07:00
|
|
|
chacha20 \
|
2017-09-19 13:51:05 -07:00
|
|
|
codecs \
|
2013-02-08 13:21:32 -07:00
|
|
|
core1 \
|
|
|
|
core2 \
|
|
|
|
core3 \
|
|
|
|
core4 \
|
|
|
|
core5 \
|
|
|
|
core6 \
|
2014-08-05 13:32:25 -07:00
|
|
|
ed25519_convert \
|
2013-04-19 15:28:19 -07:00
|
|
|
generichash \
|
2013-04-21 05:26:34 -07:00
|
|
|
generichash2 \
|
2013-11-12 00:33:16 -07:00
|
|
|
generichash3 \
|
2013-02-08 13:21:32 -07:00
|
|
|
hash \
|
|
|
|
hash3 \
|
2017-02-19 10:13:10 -07:00
|
|
|
kdf \
|
2017-02-19 13:15:54 -07:00
|
|
|
keygen \
|
2017-03-12 05:05:24 -07:00
|
|
|
kx \
|
2017-09-17 12:41:32 -07:00
|
|
|
metamorphic \
|
2017-07-17 14:09:44 -07:00
|
|
|
misuse \
|
2013-02-08 13:21:32 -07:00
|
|
|
onetimeauth \
|
|
|
|
onetimeauth2 \
|
|
|
|
onetimeauth7 \
|
2017-10-01 02:09:55 -07:00
|
|
|
pwhash_argon2i \
|
2017-06-28 06:49:49 -07:00
|
|
|
pwhash_argon2id \
|
2013-02-08 13:21:32 -07:00
|
|
|
randombytes \
|
|
|
|
scalarmult \
|
|
|
|
scalarmult2 \
|
|
|
|
scalarmult5 \
|
|
|
|
scalarmult6 \
|
2014-09-18 21:27:49 -07:00
|
|
|
scalarmult7 \
|
2018-08-29 06:08:26 -07:00
|
|
|
scalarmult8 \
|
2013-02-08 13:21:32 -07:00
|
|
|
secretbox \
|
|
|
|
secretbox2 \
|
|
|
|
secretbox7 \
|
|
|
|
secretbox8 \
|
2013-12-31 10:35:04 -07:00
|
|
|
secretbox_easy \
|
2013-12-31 10:46:10 -07:00
|
|
|
secretbox_easy2 \
|
2017-08-16 05:53:16 -07:00
|
|
|
secretstream \
|
2013-02-08 13:21:32 -07:00
|
|
|
shorthash \
|
2014-05-07 23:23:13 -07:00
|
|
|
sign \
|
2013-04-25 22:37:15 -07:00
|
|
|
sodium_core \
|
|
|
|
sodium_utils \
|
|
|
|
sodium_version \
|
2013-02-08 13:21:32 -07:00
|
|
|
stream \
|
|
|
|
stream2 \
|
|
|
|
stream3 \
|
2013-04-26 20:34:30 -07:00
|
|
|
stream4 \
|
2014-04-08 14:36:09 -07:00
|
|
|
verify1
|
2013-02-08 13:21:32 -07:00
|
|
|
|
2015-01-15 03:12:58 -07:00
|
|
|
if !EMSCRIPTEN
|
2015-06-22 11:02:21 -07:00
|
|
|
if !NATIVECLIENT
|
2015-01-15 03:12:58 -07:00
|
|
|
TESTS_TARGETS += \
|
|
|
|
sodium_utils2 \
|
|
|
|
sodium_utils3
|
|
|
|
endif
|
2015-06-22 11:02:21 -07:00
|
|
|
endif
|
2015-01-15 03:12:58 -07:00
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
check_PROGRAMS = $(TESTS_TARGETS)
|
|
|
|
|
|
|
|
TESTS = $(TESTS_TARGETS)
|
|
|
|
|
|
|
|
TESTS_LDADD = \
|
|
|
|
${top_builddir}/src/libsodium/libsodium.la
|
|
|
|
|
2015-10-11 03:56:20 -07:00
|
|
|
aead_aes256gcm_SOURCE = cmptest.h aead_aes256gcm.c
|
|
|
|
aead_aes256gcm_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2018-08-30 00:51:28 -07:00
|
|
|
aead_aes256gcm2_SOURCE = cmptest.h aead_aes256gcm2.c
|
|
|
|
aead_aes256gcm2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-06-26 08:48:13 -07:00
|
|
|
aead_chacha20poly1305_SOURCE = cmptest.h aead_chacha20poly1305.c
|
|
|
|
aead_chacha20poly1305_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2018-09-04 06:44:42 -07:00
|
|
|
aead_chacha20poly13052_SOURCE = cmptest.h aead_chacha20poly13052.c
|
|
|
|
aead_chacha20poly13052_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-02-18 14:10:02 -07:00
|
|
|
aead_xchacha20poly1305_SOURCE = cmptest.h aead_xchacha20poly1305.c
|
|
|
|
aead_xchacha20poly1305_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
auth_SOURCE = cmptest.h auth.c
|
|
|
|
auth_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
auth2_SOURCE = cmptest.h auth2.c
|
|
|
|
auth2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
auth3_SOURCE = cmptest.h auth3.c
|
|
|
|
auth3_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2015-01-23 02:35:20 -07:00
|
|
|
auth5_SOURCE = cmptest.h auth5.c quirks.h
|
2013-02-08 13:21:32 -07:00
|
|
|
auth5_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2015-01-23 02:35:20 -07:00
|
|
|
auth6_SOURCE = cmptest.h auth6.c quirks.h
|
2014-04-14 21:32:01 -07:00
|
|
|
auth6_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2015-01-23 02:35:20 -07:00
|
|
|
auth7_SOURCE = cmptest.h auth7.c quirks.h
|
2014-04-14 21:32:01 -07:00
|
|
|
auth7_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
box_SOURCE = cmptest.h box.c
|
|
|
|
box_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
box2_SOURCE = cmptest.h box2.c
|
|
|
|
box2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
box7_SOURCE = cmptest.h box7.c
|
|
|
|
box7_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
box8_SOURCE = cmptest.h box8.c
|
|
|
|
box8_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-12-21 20:01:05 -07:00
|
|
|
box_easy_SOURCE = cmptest.h box_easy.c
|
|
|
|
box_easy_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-12-31 06:24:28 -07:00
|
|
|
box_easy2_SOURCE = cmptest.h box_easy2.c
|
|
|
|
box_easy2_LDADD = $(TESTS_LDADD)
|
2015-04-16 14:46:29 -07:00
|
|
|
|
|
|
|
box_seal_SOURCE = cmptest.h box_seal.c
|
|
|
|
box_seal_LDADD = $(TESTS_LDADD)
|
2013-12-31 06:24:28 -07:00
|
|
|
|
2014-05-23 00:22:52 -07:00
|
|
|
box_seed_SOURCE = cmptest.h box_seed.c
|
|
|
|
box_seed_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-05-15 13:27:15 -07:00
|
|
|
chacha20_SOURCE = cmptest.h chacha20.c
|
|
|
|
chacha20_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-09-19 13:51:05 -07:00
|
|
|
codecs_SOURCE = cmptest.h codecs.c
|
|
|
|
codecs_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-11-14 17:34:43 -07:00
|
|
|
core_ed25519_SOURCE = cmptest.h core_ed25519.c
|
|
|
|
core_ed25519_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
core1_SOURCE = cmptest.h core1.c
|
|
|
|
core1_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
core2_SOURCE = cmptest.h core2.c
|
|
|
|
core2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
core3_SOURCE = cmptest.h core3.c
|
|
|
|
core3_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
core4_SOURCE = cmptest.h core4.c
|
|
|
|
core4_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
core5_SOURCE = cmptest.h core5.c
|
|
|
|
core5_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
core6_SOURCE = cmptest.h core6.c
|
|
|
|
core6_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-08-05 13:32:25 -07:00
|
|
|
ed25519_convert_SOURCE = cmptest.h ed25519_convert.c
|
|
|
|
ed25519_convert_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-04-19 15:28:19 -07:00
|
|
|
generichash_SOURCE = cmptest.h generichash.c
|
|
|
|
generichash_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-04-21 05:26:34 -07:00
|
|
|
generichash2_SOURCE = cmptest.h generichash2.c
|
|
|
|
generichash2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-11-12 00:33:16 -07:00
|
|
|
generichash3_SOURCE = cmptest.h generichash3.c
|
|
|
|
generichash3_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
hash_SOURCE = cmptest.h hash.c
|
|
|
|
hash_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
hash3_SOURCE = cmptest.h hash3.c
|
|
|
|
hash3_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-02-19 10:13:10 -07:00
|
|
|
kdf_SOURCE = cmptest.h kdf.c
|
|
|
|
kdf_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-02-19 13:15:54 -07:00
|
|
|
keygen_SOURCE = cmptest.h keygen.c
|
|
|
|
keygen_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-03-12 05:05:24 -07:00
|
|
|
kx_SOURCE = cmptest.h kx.c
|
|
|
|
kx_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-09-17 12:41:32 -07:00
|
|
|
metamorphic_SOURCE = cmptest.h metamorphic.c
|
|
|
|
metamorphic_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-07-17 14:09:44 -07:00
|
|
|
misuse_SOURCE = cmptest.h misuse.c
|
|
|
|
misuse_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
onetimeauth_SOURCE = cmptest.h onetimeauth.c
|
|
|
|
onetimeauth_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
onetimeauth2_SOURCE = cmptest.h onetimeauth2.c
|
|
|
|
onetimeauth2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
onetimeauth7_SOURCE = cmptest.h onetimeauth7.c
|
|
|
|
onetimeauth7_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-10-01 02:09:55 -07:00
|
|
|
pwhash_argon2i_SOURCE = cmptest.h pwhash_argon2i.c
|
|
|
|
pwhash_argon2i_LDADD = $(TESTS_LDADD)
|
2015-12-29 09:12:23 -07:00
|
|
|
|
2017-06-28 06:49:49 -07:00
|
|
|
pwhash_argon2id_SOURCE = cmptest.h pwhash_argon2id.c
|
|
|
|
pwhash_argon2id_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2015-12-29 08:14:19 -07:00
|
|
|
pwhash_scrypt_SOURCE = cmptest.h pwhash_scrypt.c
|
|
|
|
pwhash_scrypt_LDADD = $(TESTS_LDADD)
|
2014-05-07 23:54:55 -07:00
|
|
|
|
2014-06-01 11:58:20 -07:00
|
|
|
pwhash_scrypt_ll_SOURCE = cmptest.h pwhash_scrypt_ll.c
|
|
|
|
pwhash_scrypt_ll_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-09-14 12:43:53 -07:00
|
|
|
randombytes_SOURCE = cmptest.h randombytes.c
|
2013-02-08 13:21:32 -07:00
|
|
|
randombytes_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
scalarmult_SOURCE = cmptest.h scalarmult.c
|
|
|
|
scalarmult_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-11-15 08:57:29 -07:00
|
|
|
scalarmult_ed25519_SOURCE = cmptest.h scalarmult_ed25519.c
|
|
|
|
scalarmult_ed25519_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
scalarmult2_SOURCE = cmptest.h scalarmult2.c
|
|
|
|
scalarmult2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
scalarmult5_SOURCE = cmptest.h scalarmult5.c
|
|
|
|
scalarmult5_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
scalarmult6_SOURCE = cmptest.h scalarmult6.c
|
|
|
|
scalarmult6_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-09-18 21:27:49 -07:00
|
|
|
scalarmult7_SOURCE = cmptest.h scalarmult7.c
|
|
|
|
scalarmult7_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2018-08-29 06:08:26 -07:00
|
|
|
scalarmult8_SOURCE = cmptest.h scalarmult8.c
|
|
|
|
scalarmult8_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
secretbox_SOURCE = cmptest.h secretbox.c
|
|
|
|
secretbox_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
secretbox2_SOURCE = cmptest.h secretbox2.c
|
|
|
|
secretbox2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
secretbox7_SOURCE = cmptest.h secretbox7.c
|
|
|
|
secretbox7_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
secretbox8_SOURCE = cmptest.h secretbox8.c
|
|
|
|
secretbox8_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-12-31 10:35:04 -07:00
|
|
|
secretbox_easy_SOURCE = cmptest.h secretbox_easy.c
|
|
|
|
secretbox_easy_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-12-31 10:46:10 -07:00
|
|
|
secretbox_easy2_SOURCE = cmptest.h secretbox_easy2.c
|
|
|
|
secretbox_easy2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-08-16 05:53:16 -07:00
|
|
|
secretstream_SOURCE = cmptest.h secretstream.c
|
|
|
|
secretstream_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
shorthash_SOURCE = cmptest.h shorthash.c
|
|
|
|
shorthash_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-05-07 23:23:13 -07:00
|
|
|
sign_SOURCE = cmptest.h sign.c
|
|
|
|
sign_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-02-24 11:23:14 -07:00
|
|
|
siphashx24_SOURCE = cmptest.h siphashx24.c
|
|
|
|
siphashx24_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-04-25 22:37:15 -07:00
|
|
|
sodium_core_SOURCE = cmptest.h sodium_core.c
|
|
|
|
sodium_core_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
sodium_utils_SOURCE = cmptest.h sodium_utils.c
|
|
|
|
sodium_utils_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-07-26 15:52:02 -07:00
|
|
|
sodium_utils2_SOURCE = cmptest.h sodium_utils2.c
|
|
|
|
sodium_utils2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
sodium_utils3_SOURCE = cmptest.h sodium_utils3.c
|
|
|
|
sodium_utils3_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-04-25 22:37:15 -07:00
|
|
|
sodium_version_SOURCE = cmptest.h sodium_version.c
|
|
|
|
sodium_version_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
stream_SOURCE = cmptest.h stream.c
|
|
|
|
stream_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
stream2_SOURCE = cmptest.h stream2.c
|
|
|
|
stream2_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
stream3_SOURCE = cmptest.h stream3.c
|
|
|
|
stream3_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
stream4_SOURCE = cmptest.h stream4.c
|
|
|
|
stream4_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2014-04-08 14:36:09 -07:00
|
|
|
verify1_SOURCE = cmptest.h verify1.c
|
|
|
|
verify1_LDADD = $(TESTS_LDADD)
|
|
|
|
|
2017-02-12 14:28:35 -07:00
|
|
|
xchacha20_SOURCE = cmptest.h xchacha20.c
|
|
|
|
xchacha20_LDADD = $(TESTS_LDADD)
|
|
|
|
|
|
|
|
if !MINIMAL
|
|
|
|
TESTS_TARGETS += \
|
2017-11-14 17:34:43 -07:00
|
|
|
core_ed25519 \
|
2017-07-11 13:08:02 -07:00
|
|
|
pwhash_scrypt \
|
|
|
|
pwhash_scrypt_ll \
|
2017-11-15 08:57:29 -07:00
|
|
|
scalarmult_ed25519 \
|
2017-02-24 11:23:14 -07:00
|
|
|
siphashx24 \
|
2017-02-12 14:28:35 -07:00
|
|
|
xchacha20
|
|
|
|
endif
|
|
|
|
|
2015-06-22 11:02:21 -07:00
|
|
|
if NATIVECLIENT
|
|
|
|
LOG_COMPILER = ./nacl-test-wrapper.sh
|
|
|
|
endif
|
|
|
|
|
2013-02-08 13:21:32 -07:00
|
|
|
verify: check
|
2016-03-05 17:32:02 -07:00
|
|
|
|
|
|
|
@VALGRIND_CHECK_RULES@
|