1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Rename the pwhash test as as pwhash_scrypt

This commit is contained in:
Frank Denis 2015-12-29 16:14:19 +01:00
parent dfdf65c4f0
commit 14bf02af88
12 changed files with 21 additions and 21 deletions

2
.gitignore vendored
View File

@ -97,7 +97,7 @@ test/default/hash3
test/default/onetimeauth test/default/onetimeauth
test/default/onetimeauth2 test/default/onetimeauth2
test/default/onetimeauth7 test/default/onetimeauth7
test/default/pwhash test/default/pwhash_scrypt
test/default/pwhash_scrypt_ll test/default/pwhash_scrypt_ll
test/default/randombytes test/default/randombytes
test/default/scalarmult test/default/scalarmult

View File

@ -157,7 +157,7 @@
<ClCompile Include="..\..\..\..\test\default\onetimeauth7.c"> <ClCompile Include="..\..\..\..\test\default\onetimeauth7.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c">

View File

@ -154,7 +154,7 @@
<ClCompile Include="..\..\..\..\test\default\sign.c"> <ClCompile Include="..\..\..\..\test\default\sign.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c"> <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
@ -189,4 +189,4 @@
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier> <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
</Filter> </Filter>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -157,7 +157,7 @@
<ClCompile Include="..\..\..\..\test\default\onetimeauth7.c"> <ClCompile Include="..\..\..\..\test\default\onetimeauth7.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c">

View File

@ -154,7 +154,7 @@
<ClCompile Include="..\..\..\..\test\default\sign.c"> <ClCompile Include="..\..\..\..\test\default\sign.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c"> <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
@ -189,4 +189,4 @@
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier> <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
</Filter> </Filter>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -157,7 +157,7 @@
<ClCompile Include="..\..\..\..\test\default\onetimeauth7.c"> <ClCompile Include="..\..\..\..\test\default\onetimeauth7.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c">

View File

@ -154,7 +154,7 @@
<ClCompile Include="..\..\..\..\test\default\sign.c"> <ClCompile Include="..\..\..\..\test\default\sign.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c"> <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
@ -189,4 +189,4 @@
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier> <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
</Filter> </Filter>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -157,7 +157,7 @@
<ClCompile Include="..\..\..\..\test\default\onetimeauth7.c"> <ClCompile Include="..\..\..\..\test\default\onetimeauth7.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<ExcludedFromBuild>true</ExcludedFromBuild> <ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c">

View File

@ -154,7 +154,7 @@
<ClCompile Include="..\..\..\..\test\default\sign.c"> <ClCompile Include="..\..\..\..\test\default\sign.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\pwhash.c"> <ClCompile Include="..\..\..\..\test\default\pwhash_scrypt.c">
<Filter>src</Filter> <Filter>src</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c"> <ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
@ -189,4 +189,4 @@
<UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier> <UniqueIdentifier>{5b5af4b5-c6aa-4b30-bdef-074b1bdc43ea}</UniqueIdentifier>
</Filter> </Filter>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -36,7 +36,7 @@ EXTRA_DIST = \
onetimeauth.exp \ onetimeauth.exp \
onetimeauth2.exp \ onetimeauth2.exp \
onetimeauth7.exp \ onetimeauth7.exp \
pwhash.exp \ pwhash_scrypt.exp \
pwhash_scrypt_ll.exp \ pwhash_scrypt_ll.exp \
randombytes.exp \ randombytes.exp \
scalarmult.exp \ scalarmult.exp \
@ -97,7 +97,7 @@ DISTCLEANFILES = \
onetimeauth.res \ onetimeauth.res \
onetimeauth2.res \ onetimeauth2.res \
onetimeauth7.res \ onetimeauth7.res \
pwhash.res \ pwhash_scrypt.res \
pwhash_scrypt_ll.res \ pwhash_scrypt_ll.res \
randombytes.res \ randombytes.res \
scalarmult.res \ scalarmult.res \
@ -159,7 +159,7 @@ CLEANFILES = \
onetimeauth.final \ onetimeauth.final \
onetimeauth2.final \ onetimeauth2.final \
onetimeauth7.final \ onetimeauth7.final \
pwhash.final \ pwhash_scrypt.final \
pwhash_scrypt_ll.final \ pwhash_scrypt_ll.final \
randombytes.final \ randombytes.final \
scalarmult.final \ scalarmult.final \
@ -216,7 +216,7 @@ CLEANFILES = \
onetimeauth.nexe \ onetimeauth.nexe \
onetimeauth2.nexe \ onetimeauth2.nexe \
onetimeauth7.nexe \ onetimeauth7.nexe \
pwhash.nexe \ pwhash_scrypt.nexe \
pwhash_scrypt_ll.nexe \ pwhash_scrypt_ll.nexe \
randombytes.nexe \ randombytes.nexe \
scalarmult.nexe \ scalarmult.nexe \
@ -285,7 +285,7 @@ TESTS_TARGETS = \
onetimeauth \ onetimeauth \
onetimeauth2 \ onetimeauth2 \
onetimeauth7 \ onetimeauth7 \
pwhash \ pwhash_scrypt \
pwhash_scrypt_ll \ pwhash_scrypt_ll \
randombytes \ randombytes \
scalarmult \ scalarmult \
@ -421,8 +421,8 @@ onetimeauth2_LDADD = $(TESTS_LDADD)
onetimeauth7_SOURCE = cmptest.h onetimeauth7.c onetimeauth7_SOURCE = cmptest.h onetimeauth7.c
onetimeauth7_LDADD = $(TESTS_LDADD) onetimeauth7_LDADD = $(TESTS_LDADD)
pwhash_SOURCE = cmptest.h pwhash.c pwhash_scrypt_SOURCE = cmptest.h pwhash_scrypt.c
pwhash_LDADD = $(TESTS_LDADD) pwhash_scrypt_LDADD = $(TESTS_LDADD)
pwhash_scrypt_ll_SOURCE = cmptest.h pwhash_scrypt_ll.c pwhash_scrypt_ll_SOURCE = cmptest.h pwhash_scrypt_ll.c
pwhash_scrypt_ll_LDADD = $(TESTS_LDADD) pwhash_scrypt_ll_LDADD = $(TESTS_LDADD)

View File

@ -1,5 +1,5 @@
#define TEST_NAME "pwhash" #define TEST_NAME "pwhash_scrypt"
#include "cmptest.h" #include "cmptest.h"
#define OUT_LEN 128 #define OUT_LEN 128