Add aes256gcm test vectors

This commit is contained in:
Frank Denis 2015-10-11 12:56:20 +02:00
parent 16beebb2ec
commit 93295855cf
4 changed files with 3114 additions and 0 deletions

1
.gitignore vendored
View File

@ -61,6 +61,7 @@ stamp-*
test/js.done test/js.done
test/default/*.res test/default/*.res
test/default/*.trs test/default/*.trs
test/default/aead_aes256gcm
test/default/aead_chacha20poly1305 test/default/aead_chacha20poly1305
test/default/auth test/default/auth
test/default/auth2 test/default/auth2

View File

@ -3,6 +3,7 @@ EXTRA_DIST = \
cmptest.h \ cmptest.h \
wintest.bat \ wintest.bat \
pre.js.inc \ pre.js.inc \
aead_aes256gcm.exp \
aead_chacha20poly1305.exp \ aead_chacha20poly1305.exp \
auth.exp \ auth.exp \
auth2.exp \ auth2.exp \
@ -63,6 +64,7 @@ EXTRA_DIST = \
verify1.exp verify1.exp
DISTCLEANFILES = \ DISTCLEANFILES = \
aead_aes256gcm.res \
aead_chacha20poly1305.res \ aead_chacha20poly1305.res \
auth.res \ auth.res \
auth2.res \ auth2.res \
@ -124,6 +126,7 @@ DISTCLEANFILES = \
if NATIVECLIENT if NATIVECLIENT
CLEANFILES = \ CLEANFILES = \
aead_aes256gcm.final \
aead_chacha20poly1305.final \ aead_chacha20poly1305.final \
auth.final \ auth.final \
auth2.final \ auth2.final \
@ -180,6 +183,7 @@ CLEANFILES = \
stream3.final \ stream3.final \
stream4.final \ stream4.final \
verify1.final \ verify1.final \
aead_aes256gcm.nexe \
aead_chacha20poly1305.nexe \ aead_chacha20poly1305.nexe \
auth.nexe \ auth.nexe \
auth2.nexe \ auth2.nexe \
@ -249,6 +253,7 @@ AM_CPPFLAGS = \
AM_LDFLAGS = @TEST_LDFLAGS@ AM_LDFLAGS = @TEST_LDFLAGS@
TESTS_TARGETS = \ TESTS_TARGETS = \
aead_aes256gcm \
aead_chacha20poly1305 \ aead_chacha20poly1305 \
auth \ auth \
auth2 \ auth2 \
@ -320,6 +325,9 @@ TESTS = $(TESTS_TARGETS)
TESTS_LDADD = \ TESTS_LDADD = \
${top_builddir}/src/libsodium/libsodium.la ${top_builddir}/src/libsodium/libsodium.la
aead_aes256gcm_SOURCE = cmptest.h aead_aes256gcm.c
aead_aes256gcm_LDADD = $(TESTS_LDADD)
aead_chacha20poly1305_SOURCE = cmptest.h aead_chacha20poly1305.c aead_chacha20poly1305_SOURCE = cmptest.h aead_chacha20poly1305.c
aead_chacha20poly1305_LDADD = $(TESTS_LDADD) aead_chacha20poly1305_LDADD = $(TESTS_LDADD)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
OK