Add overdue crypto_sign test

This commit is contained in:
Frank Denis 2014-05-07 23:23:13 -07:00
parent dcf8869229
commit 9d29f94ac2
4 changed files with 1116 additions and 0 deletions

1
.gitignore vendored
View File

@ -93,6 +93,7 @@ test/default/secretbox8
test/default/secretbox_easy test/default/secretbox_easy
test/default/secretbox_easy2 test/default/secretbox_easy2
test/default/shorthash test/default/shorthash
test/default/sign
test/default/sodium_core test/default/sodium_core
test/default/sodium_utils test/default/sodium_utils
test/default/sodium_version test/default/sodium_version

View File

@ -42,6 +42,7 @@ EXTRA_DIST = \
secretbox_easy.exp \ secretbox_easy.exp \
secretbox_easy2.exp \ secretbox_easy2.exp \
shorthash.exp \ shorthash.exp \
sign.exp \
sodium_core.exp \ sodium_core.exp \
sodium_utils.exp \ sodium_utils.exp \
sodium_version.exp \ sodium_version.exp \
@ -94,6 +95,7 @@ DISTCLEANFILES = \
secretbox_easy.res \ secretbox_easy.res \
secretbox_easy2.res \ secretbox_easy2.res \
shorthash.res \ shorthash.res \
sign.res \
sodium_core.res \ sodium_core.res \
sodium_utils.res \ sodium_utils.res \
sodium_version.res \ sodium_version.res \
@ -154,6 +156,7 @@ TESTS_TARGETS = \
secretbox_easy \ secretbox_easy \
secretbox_easy2 \ secretbox_easy2 \
shorthash \ shorthash \
sign \
sodium_core \ sodium_core \
sodium_utils \ sodium_utils \
sodium_version \ sodium_version \
@ -292,6 +295,9 @@ secretbox_easy2_LDADD = $(TESTS_LDADD)
shorthash_SOURCE = cmptest.h shorthash.c shorthash_SOURCE = cmptest.h shorthash.c
shorthash_LDADD = $(TESTS_LDADD) shorthash_LDADD = $(TESTS_LDADD)
sign_SOURCE = cmptest.h sign.c
sign_LDADD = $(TESTS_LDADD)
sodium_core_SOURCE = cmptest.h sodium_core.c sodium_core_SOURCE = cmptest.h sodium_core.c
sodium_core_LDADD = $(TESTS_LDADD) sodium_core_LDADD = $(TESTS_LDADD)

1106
test/default/sign.c Normal file

File diff suppressed because it is too large Load Diff

3
test/default/sign.exp Normal file
View File

@ -0,0 +1,3 @@
1024 tests
pk: [b5076a8474a832daee4dd5b4040983b6623b5f344aca57d4d6ee4baf3f259e6e]
sk: [421151a459faeade3d247115f94aedae42318124095afabe4d1451a559faedeeb5076a8474a832daee4dd5b4040983b6623b5f344aca57d4d6ee4baf3f259e6e]