Rename scryptxsalsa208sha256 to scryptsalsa208sha256
This commit is contained in:
parent
62e37fbfe4
commit
bd05b7d292
2
AUTHORS
2
AUTHORS
@ -100,7 +100,7 @@ crypto_onetimeauth/poly1305/donna
|
|||||||
---------------------------------
|
---------------------------------
|
||||||
Andrew "floodyberry" Moon.
|
Andrew "floodyberry" Moon.
|
||||||
|
|
||||||
crypto_pwhash/scryptxsalsa208sha256
|
crypto_pwhash/scryptsalsa208sha256
|
||||||
--------------------------------
|
--------------------------------
|
||||||
Colin Percival
|
Colin Percival
|
||||||
Alexander Peslyak
|
Alexander Peslyak
|
||||||
|
@ -6,7 +6,7 @@ unlocking them.
|
|||||||
- High-level wrappers for crypto_box and crypto_secretbox
|
- High-level wrappers for crypto_box and crypto_secretbox
|
||||||
(crypto_box_easy and crypto_secretbox_easy) can be used to avoid
|
(crypto_box_easy and crypto_secretbox_easy) can be used to avoid
|
||||||
dealing with the specific memory layout regular functions depend on.
|
dealing with the specific memory layout regular functions depend on.
|
||||||
- crypto_pwhash_scryptxsalsa208sha256* functions have been added
|
- crypto_pwhash_scryptsalsa208sha256* functions have been added
|
||||||
to derive a key from a password, and for password storage.
|
to derive a key from a password, and for password storage.
|
||||||
- Salsa20 and ed25519 implementations now support overlapping
|
- Salsa20 and ed25519 implementations now support overlapping
|
||||||
inputs/keys/outputs (changes imported from supercop-20140505).
|
inputs/keys/outputs (changes imported from supercop-20140505).
|
||||||
|
@ -305,7 +305,7 @@ Meanwhile, the [scrypt](http://www.tarsnap.com/scrypt.html) function is
|
|||||||
available through explicitly-named functions, and will remain available
|
available through explicitly-named functions, and will remain available
|
||||||
in the library even after the PHC.
|
in the library even after the PHC.
|
||||||
|
|
||||||
int crypto_pwhash_scryptxsalsa208sha256(unsigned char *out,
|
int crypto_pwhash_scryptsalsa208sha256(unsigned char *out,
|
||||||
unsigned long long outlen,
|
unsigned long long outlen,
|
||||||
const char *passwd,
|
const char *passwd,
|
||||||
unsigned long long passwdlen,
|
unsigned long long passwdlen,
|
||||||
@ -314,7 +314,7 @@ in the library even after the PHC.
|
|||||||
size_t memlimit);
|
size_t memlimit);
|
||||||
|
|
||||||
This function derives `outlen` bytes from a password `passwd` and a
|
This function derives `outlen` bytes from a password `passwd` and a
|
||||||
salt `salt` that has to be `crypto_pwhash_scryptxsalsa208sha256_SALTBYTES`
|
salt `salt` that has to be `crypto_pwhash_scryptsalsa208sha256_SALTBYTES`
|
||||||
bytes long.
|
bytes long.
|
||||||
|
|
||||||
The function will use at most `memlimit` bytes of memory and `opslimit`
|
The function will use at most `memlimit` bytes of memory and `opslimit`
|
||||||
@ -325,14 +325,14 @@ security.
|
|||||||
Although password storage was not the primary goal of the scrypt
|
Although password storage was not the primary goal of the scrypt
|
||||||
function, it can still be used for this purpose:
|
function, it can still be used for this purpose:
|
||||||
|
|
||||||
int crypto_pwhash_scryptxsalsa208sha256_str
|
int crypto_pwhash_scryptsalsa208sha256_str
|
||||||
(char out[crypto_pwhash_scryptxsalsa208sha256_STRBYTES],
|
(char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
|
||||||
const char *passwd,
|
const char *passwd,
|
||||||
unsigned long long passwdlen,
|
unsigned long long passwdlen,
|
||||||
unsigned long long opslimit,
|
unsigned long long opslimit,
|
||||||
size_t memlimit);
|
size_t memlimit);
|
||||||
|
|
||||||
This function returns a `crypto_pwhash_scryptxsalsa208sha256_STRBYTES`
|
This function returns a `crypto_pwhash_scryptsalsa208sha256_STRBYTES`
|
||||||
bytes C string (the length includes the final `\0`) suitable for storage.
|
bytes C string (the length includes the final `\0`) suitable for storage.
|
||||||
The string is guaranteed to only include ASCII characters.
|
The string is guaranteed to only include ASCII characters.
|
||||||
|
|
||||||
@ -343,8 +343,8 @@ included in the output string, and do not need to be stored separately.
|
|||||||
The function automatically generates a random salt, which is also
|
The function automatically generates a random salt, which is also
|
||||||
included in the output string.
|
included in the output string.
|
||||||
|
|
||||||
int crypto_pwhash_scryptxsalsa208sha256_str_verify
|
int crypto_pwhash_scryptsalsa208sha256_str_verify
|
||||||
(const char str[crypto_pwhash_scryptxsalsa208sha256_STRBYTES],
|
(const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
|
||||||
const char *passwd,
|
const char *passwd,
|
||||||
unsigned long long passwdlen);
|
unsigned long long passwdlen);
|
||||||
|
|
||||||
|
@ -67,9 +67,9 @@
|
|||||||
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\base_curve25519_donna_c64.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\base_curve25519_donna_c64.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\smult_curve25519_donna_c64.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\smult_curve25519_donna_c64.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
||||||
@ -96,7 +96,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\runtime.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\runtime.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
||||||
@ -182,12 +182,12 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\api.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\api.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sysendian.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sysendian.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\api.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\api.h" />
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h">
|
||||||
@ -562,11 +562,11 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
|
||||||
<Filter>src\crypto_stream\aes256estream\hongjun</Filter>
|
<Filter>src\crypto_stream\aes256estream\hongjun</Filter>
|
||||||
@ -601,11 +601,11 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow22523.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow22523.h">
|
||||||
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
||||||
@ -619,14 +619,14 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519.h">
|
||||||
<Filter>src\crypto_sign\edwards25519sha512batch\ref</Filter>
|
<Filter>src\crypto_sign\edwards25519sha512batch\ref</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sqrtm1.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sqrtm1.h">
|
||||||
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sysendian.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sysendian.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
@ -640,14 +640,14 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c">
|
||||||
<Filter>src\sodium</Filter>
|
<Filter>src\sodium</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256\nosse</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256\nosse</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256\sse</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256\sse</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\api.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\api.h">
|
||||||
<Filter>src\crypto_auth\hmacsha512256\cp</Filter>
|
<Filter>src\crypto_auth\hmacsha512256\cp</Filter>
|
||||||
@ -916,7 +916,7 @@
|
|||||||
<Filter Include="src\crypto_onetimeauth\poly1305">
|
<Filter Include="src\crypto_onetimeauth\poly1305">
|
||||||
<UniqueIdentifier>{b788850f-cd6a-49bb-a2fc-5dc217fb21a3}</UniqueIdentifier>
|
<UniqueIdentifier>{b788850f-cd6a-49bb-a2fc-5dc217fb21a3}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256">
|
||||||
<UniqueIdentifier>{4dd0cec6-9024-4ca9-ad9f-e877e0aa4e39}</UniqueIdentifier>
|
<UniqueIdentifier>{4dd0cec6-9024-4ca9-ad9f-e877e0aa4e39}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_scalarmult\curve25519">
|
<Filter Include="src\crypto_scalarmult\curve25519">
|
||||||
@ -976,10 +976,10 @@
|
|||||||
<Filter Include="src\crypto_shorthash\siphash24\ref">
|
<Filter Include="src\crypto_shorthash\siphash24\ref">
|
||||||
<UniqueIdentifier>{4a1f7816-c9b5-4cfc-a4f3-54d094e13520}</UniqueIdentifier>
|
<UniqueIdentifier>{4a1f7816-c9b5-4cfc-a4f3-54d094e13520}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256\nosse">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256\nosse">
|
||||||
<UniqueIdentifier>{629a0d99-8735-4761-b41b-b2a91b1fdffa}</UniqueIdentifier>
|
<UniqueIdentifier>{629a0d99-8735-4761-b41b-b2a91b1fdffa}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256\sse">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256\sse">
|
||||||
<UniqueIdentifier>{08465b05-7a80-40b5-bbe5-31914fdd6e7e}</UniqueIdentifier>
|
<UniqueIdentifier>{08465b05-7a80-40b5-bbe5-31914fdd6e7e}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_onetimeauth\poly1305\donna">
|
<Filter Include="src\crypto_onetimeauth\poly1305\donna">
|
||||||
|
@ -67,9 +67,9 @@
|
|||||||
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\base_curve25519_donna_c64.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\base_curve25519_donna_c64.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\smult_curve25519_donna_c64.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\smult_curve25519_donna_c64.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
||||||
@ -96,7 +96,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\runtime.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\runtime.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
||||||
@ -182,12 +182,12 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\api.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\api.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sysendian.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sysendian.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\api.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\api.h" />
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h">
|
||||||
@ -562,11 +562,11 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
|
||||||
<Filter>src\crypto_stream\aes256estream\hongjun</Filter>
|
<Filter>src\crypto_stream\aes256estream\hongjun</Filter>
|
||||||
@ -601,11 +601,11 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow22523.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow22523.h">
|
||||||
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
||||||
@ -619,14 +619,14 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519.h">
|
||||||
<Filter>src\crypto_sign\edwards25519sha512batch\ref</Filter>
|
<Filter>src\crypto_sign\edwards25519sha512batch\ref</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sqrtm1.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sqrtm1.h">
|
||||||
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sysendian.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sysendian.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
@ -640,14 +640,14 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c">
|
||||||
<Filter>src\sodium</Filter>
|
<Filter>src\sodium</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256\nosse</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256\nosse</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256\sse</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256\sse</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\api.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\api.h">
|
||||||
<Filter>src\crypto_auth\hmacsha512256\cp</Filter>
|
<Filter>src\crypto_auth\hmacsha512256\cp</Filter>
|
||||||
@ -916,7 +916,7 @@
|
|||||||
<Filter Include="src\crypto_onetimeauth\poly1305">
|
<Filter Include="src\crypto_onetimeauth\poly1305">
|
||||||
<UniqueIdentifier>{b788850f-cd6a-49bb-a2fc-5dc217fb21a3}</UniqueIdentifier>
|
<UniqueIdentifier>{b788850f-cd6a-49bb-a2fc-5dc217fb21a3}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256">
|
||||||
<UniqueIdentifier>{4dd0cec6-9024-4ca9-ad9f-e877e0aa4e39}</UniqueIdentifier>
|
<UniqueIdentifier>{4dd0cec6-9024-4ca9-ad9f-e877e0aa4e39}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_scalarmult\curve25519">
|
<Filter Include="src\crypto_scalarmult\curve25519">
|
||||||
@ -976,10 +976,10 @@
|
|||||||
<Filter Include="src\crypto_shorthash\siphash24\ref">
|
<Filter Include="src\crypto_shorthash\siphash24\ref">
|
||||||
<UniqueIdentifier>{4a1f7816-c9b5-4cfc-a4f3-54d094e13520}</UniqueIdentifier>
|
<UniqueIdentifier>{4a1f7816-c9b5-4cfc-a4f3-54d094e13520}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256\nosse">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256\nosse">
|
||||||
<UniqueIdentifier>{629a0d99-8735-4761-b41b-b2a91b1fdffa}</UniqueIdentifier>
|
<UniqueIdentifier>{629a0d99-8735-4761-b41b-b2a91b1fdffa}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256\sse">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256\sse">
|
||||||
<UniqueIdentifier>{08465b05-7a80-40b5-bbe5-31914fdd6e7e}</UniqueIdentifier>
|
<UniqueIdentifier>{08465b05-7a80-40b5-bbe5-31914fdd6e7e}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_onetimeauth\poly1305\donna">
|
<Filter Include="src\crypto_onetimeauth\poly1305\donna">
|
||||||
|
@ -67,9 +67,9 @@
|
|||||||
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\base_curve25519_donna_c64.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\base_curve25519_donna_c64.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\smult_curve25519_donna_c64.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\smult_curve25519_donna_c64.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
||||||
@ -96,7 +96,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\runtime.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\runtime.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
||||||
@ -182,12 +182,12 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\api.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\api.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sysendian.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sysendian.h" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\api.h" />
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_scalarmult\curve25519\donna_c64\api.h" />
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h">
|
||||||
<Filter>include\sodium</Filter>
|
<Filter>include\sodium</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\include\sodium\crypto_scalarmult.h">
|
||||||
@ -562,11 +562,11 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\consts.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes256estream\hongjun\ecrypt-sync.h">
|
||||||
<Filter>src\crypto_stream\aes256estream\hongjun</Filter>
|
<Filter>src\crypto_stream\aes256estream\hongjun</Filter>
|
||||||
@ -601,11 +601,11 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\int128.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow22523.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\pow22523.h">
|
||||||
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
||||||
@ -619,14 +619,14 @@
|
|||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\edwards25519sha512batch\ref\sc25519.h">
|
||||||
<Filter>src\crypto_sign\edwards25519sha512batch\ref</Filter>
|
<Filter>src\crypto_sign\edwards25519sha512batch\ref</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sqrtm1.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_sign\ed25519\ref10\sqrtm1.h">
|
||||||
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
<Filter>src\crypto_sign\ed25519\ref10</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sysendian.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sysendian.h">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_stream\aes128ctr\portable\types.h">
|
||||||
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
<Filter>src\crypto_stream\aes128ctr\portable</Filter>
|
||||||
@ -640,14 +640,14 @@
|
|||||||
<ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\sodium\runtime.c">
|
||||||
<Filter>src\sodium</Filter>
|
<Filter>src\sodium</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256\nosse</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256\nosse</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c">
|
<ClCompile Include="..\..\..\..\src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c">
|
||||||
<Filter>src\crypto_pwhash\scryptxsalsa208sha256\sse</Filter>
|
<Filter>src\crypto_pwhash\scryptsalsa208sha256\sse</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\api.h">
|
<ClInclude Include="..\..\..\..\src\libsodium\crypto_auth\hmacsha512256\cp\api.h">
|
||||||
<Filter>src\crypto_auth\hmacsha512256\cp</Filter>
|
<Filter>src\crypto_auth\hmacsha512256\cp</Filter>
|
||||||
@ -916,7 +916,7 @@
|
|||||||
<Filter Include="src\crypto_onetimeauth\poly1305">
|
<Filter Include="src\crypto_onetimeauth\poly1305">
|
||||||
<UniqueIdentifier>{b788850f-cd6a-49bb-a2fc-5dc217fb21a3}</UniqueIdentifier>
|
<UniqueIdentifier>{b788850f-cd6a-49bb-a2fc-5dc217fb21a3}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256">
|
||||||
<UniqueIdentifier>{4dd0cec6-9024-4ca9-ad9f-e877e0aa4e39}</UniqueIdentifier>
|
<UniqueIdentifier>{4dd0cec6-9024-4ca9-ad9f-e877e0aa4e39}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_scalarmult\curve25519">
|
<Filter Include="src\crypto_scalarmult\curve25519">
|
||||||
@ -976,10 +976,10 @@
|
|||||||
<Filter Include="src\crypto_shorthash\siphash24\ref">
|
<Filter Include="src\crypto_shorthash\siphash24\ref">
|
||||||
<UniqueIdentifier>{4a1f7816-c9b5-4cfc-a4f3-54d094e13520}</UniqueIdentifier>
|
<UniqueIdentifier>{4a1f7816-c9b5-4cfc-a4f3-54d094e13520}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256\nosse">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256\nosse">
|
||||||
<UniqueIdentifier>{629a0d99-8735-4761-b41b-b2a91b1fdffa}</UniqueIdentifier>
|
<UniqueIdentifier>{629a0d99-8735-4761-b41b-b2a91b1fdffa}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_pwhash\scryptxsalsa208sha256\sse">
|
<Filter Include="src\crypto_pwhash\scryptsalsa208sha256\sse">
|
||||||
<UniqueIdentifier>{08465b05-7a80-40b5-bbe5-31914fdd6e7e}</UniqueIdentifier>
|
<UniqueIdentifier>{08465b05-7a80-40b5-bbe5-31914fdd6e7e}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="src\crypto_onetimeauth\poly1305\donna">
|
<Filter Include="src\crypto_onetimeauth\poly1305\donna">
|
||||||
|
@ -336,7 +336,7 @@
|
|||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox.h" />
|
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox.h" />
|
||||||
@ -413,12 +413,12 @@
|
|||||||
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.c" />
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_api.c" />
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_api.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_try.c" />
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_try.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c" />
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c" />
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c" />
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c" />
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c" />
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c" />
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
<ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
||||||
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref\smult_curve25519_ref.c" />
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref\smult_curve25519_ref.c" />
|
||||||
|
@ -165,7 +165,7 @@
|
|||||||
<ClInclude Include="src\libsodium\include\sodium\version.h">
|
<ClInclude Include="src\libsodium\include\sodium\version.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h">
|
<ClInclude Include="src\libsodium\include\sodium\crypto_pwhash_scryptsalsa208sha256.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="src\libsodium\include\sodium\runtime.h">
|
<ClInclude Include="src\libsodium\include\sodium\runtime.h">
|
||||||
@ -574,16 +574,16 @@
|
|||||||
<ClCompile Include="src\libsodium\crypto_auth\hmacsha256\cp\verify_hmacsha256.c">
|
<ClCompile Include="src\libsodium\crypto_auth\hmacsha256\cp\verify_hmacsha256.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c">
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\crypto_scrypt-common.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c">
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\pbkdf2-sha256.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c">
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\pwhash_scryptsalsa208sha256.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c">
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\scrypt_platform.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\sodium\runtime.c">
|
<ClCompile Include="src\libsodium\sodium\runtime.c">
|
||||||
@ -595,10 +595,10 @@
|
|||||||
<ClCompile Include="src\libsodium\crypto_secretbox\crypto_secretbox_easy.c">
|
<ClCompile Include="src\libsodium\crypto_secretbox\crypto_secretbox_easy.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c">
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\nosse\pwhash_scryptsalsa208sha256_nosse.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c">
|
<ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -59,15 +59,15 @@ libsodium_la_SOURCES = \
|
|||||||
crypto_onetimeauth/poly1305/donna/poly1305_donna64.h \
|
crypto_onetimeauth/poly1305/donna/poly1305_donna64.h \
|
||||||
crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c \
|
crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c \
|
||||||
crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c \
|
crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/crypto_scrypt-common.c \
|
crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/crypto_scrypt.h \
|
crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/scrypt_platform.c \
|
crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/pbkdf2-sha256.c \
|
crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/pbkdf2-sha256.h \
|
crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/pwhash_scryptxsalsa208sha256.c \
|
crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/sysendian.h \
|
crypto_pwhash/scryptsalsa208sha256/sysendian.h \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/nosse/pwhash_scryptxsalsa208sha256_nosse.c \
|
crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c \
|
||||||
crypto_pwhash/scryptxsalsa208sha256/sse/pwhash_scryptxsalsa208sha256_sse.c \
|
crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c \
|
||||||
crypto_scalarmult/crypto_scalarmult.c \
|
crypto_scalarmult/crypto_scalarmult.c \
|
||||||
crypto_scalarmult/curve25519/scalarmult_curve25519_api.c \
|
crypto_scalarmult/curve25519/scalarmult_curve25519_api.c \
|
||||||
crypto_secretbox/crypto_secretbox.c \
|
crypto_secretbox/crypto_secretbox.c \
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "crypto_pwhash_scryptxsalsa208sha256.h"
|
#include "crypto_pwhash_scryptsalsa208sha256.h"
|
||||||
#include "crypto_scrypt.h"
|
#include "crypto_scrypt.h"
|
||||||
#include "runtime.h"
|
#include "runtime.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
@ -107,7 +107,7 @@ uint8_t *
|
|||||||
escrypt_r(escrypt_local_t * local, const uint8_t * passwd, size_t passwdlen,
|
escrypt_r(escrypt_local_t * local, const uint8_t * passwd, size_t passwdlen,
|
||||||
const uint8_t * setting, uint8_t * buf, size_t buflen)
|
const uint8_t * setting, uint8_t * buf, size_t buflen)
|
||||||
{
|
{
|
||||||
uint8_t hash[crypto_pwhash_scryptxsalsa208sha256_STRHASHBYTES];
|
uint8_t hash[crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES];
|
||||||
escrypt_kdf_t escrypt_kdf;
|
escrypt_kdf_t escrypt_kdf;
|
||||||
const uint8_t *src;
|
const uint8_t *src;
|
||||||
const uint8_t *salt;
|
const uint8_t *salt;
|
||||||
@ -149,7 +149,7 @@ escrypt_r(escrypt_local_t * local, const uint8_t * passwd, size_t passwdlen,
|
|||||||
saltlen = strlen((char *)salt);
|
saltlen = strlen((char *)salt);
|
||||||
}
|
}
|
||||||
need = prefixlen + saltlen + 1 +
|
need = prefixlen + saltlen + 1 +
|
||||||
crypto_pwhash_scryptxsalsa208sha256_STRHASHBYTES_ENCODED + 1;
|
crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES_ENCODED + 1;
|
||||||
if (need > buflen || need < saltlen) {
|
if (need > buflen || need < saltlen) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
@ -32,12 +32,12 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_STRPREFIXBYTES 14
|
#define crypto_pwhash_scryptsalsa208sha256_STRPREFIXBYTES 14
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_STRSETTINGBYTES 57
|
#define crypto_pwhash_scryptsalsa208sha256_STRSETTINGBYTES 57
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_STRSALTBYTES 32
|
#define crypto_pwhash_scryptsalsa208sha256_STRSALTBYTES 32
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_STRSALTBYTES_ENCODED 43
|
#define crypto_pwhash_scryptsalsa208sha256_STRSALTBYTES_ENCODED 43
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_STRHASHBYTES 32
|
#define crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES 32
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_STRHASHBYTES_ENCODED 43
|
#define crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES_ENCODED 43
|
||||||
|
|
||||||
#define BYTES2CHARS(bytes) ((((bytes) * 8) + 5) / 6)
|
#define BYTES2CHARS(bytes) ((((bytes) * 8) + 5) / 6)
|
||||||
|
|
@ -5,7 +5,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "crypto_pwhash_scryptxsalsa208sha256.h"
|
#include "crypto_pwhash_scryptsalsa208sha256.h"
|
||||||
#include "crypto_scrypt.h"
|
#include "crypto_scrypt.h"
|
||||||
#include "randombytes.h"
|
#include "randombytes.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
@ -50,19 +50,19 @@ pickparams(unsigned long long opslimit, const size_t memlimit,
|
|||||||
}
|
}
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
crypto_pwhash_scryptxsalsa208sha256_saltbytes(void)
|
crypto_pwhash_scryptsalsa208sha256_saltbytes(void)
|
||||||
{
|
{
|
||||||
return crypto_pwhash_scryptxsalsa208sha256_SALTBYTES;
|
return crypto_pwhash_scryptsalsa208sha256_SALTBYTES;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
crypto_pwhash_scryptxsalsa208sha256_strbytes(void)
|
crypto_pwhash_scryptsalsa208sha256_strbytes(void)
|
||||||
{
|
{
|
||||||
return crypto_pwhash_scryptxsalsa208sha256_STRBYTES;
|
return crypto_pwhash_scryptsalsa208sha256_STRBYTES;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
crypto_pwhash_scryptxsalsa208sha256(unsigned char * const out,
|
crypto_pwhash_scryptsalsa208sha256(unsigned char * const out,
|
||||||
unsigned long long outlen,
|
unsigned long long outlen,
|
||||||
const char * const passwd,
|
const char * const passwd,
|
||||||
unsigned long long passwdlen,
|
unsigned long long passwdlen,
|
||||||
@ -85,26 +85,26 @@ crypto_pwhash_scryptxsalsa208sha256(unsigned char * const out,
|
|||||||
}
|
}
|
||||||
return crypto_scrypt_compat((const uint8_t *) passwd, (size_t) passwdlen,
|
return crypto_scrypt_compat((const uint8_t *) passwd, (size_t) passwdlen,
|
||||||
(const uint8_t *) salt,
|
(const uint8_t *) salt,
|
||||||
crypto_pwhash_scryptxsalsa208sha256_SALTBYTES,
|
crypto_pwhash_scryptsalsa208sha256_SALTBYTES,
|
||||||
(uint64_t) (1) << N_log2, r, p,
|
(uint64_t) (1) << N_log2, r, p,
|
||||||
out, (size_t) outlen);
|
out, (size_t) outlen);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
crypto_pwhash_scryptxsalsa208sha256_str(char out[crypto_pwhash_scryptxsalsa208sha256_STRBYTES],
|
crypto_pwhash_scryptsalsa208sha256_str(char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
|
||||||
const char * const passwd,
|
const char * const passwd,
|
||||||
unsigned long long passwdlen,
|
unsigned long long passwdlen,
|
||||||
unsigned long long opslimit,
|
unsigned long long opslimit,
|
||||||
size_t memlimit)
|
size_t memlimit)
|
||||||
{
|
{
|
||||||
uint8_t salt[crypto_pwhash_scryptxsalsa208sha256_STRSALTBYTES];
|
uint8_t salt[crypto_pwhash_scryptsalsa208sha256_STRSALTBYTES];
|
||||||
char setting[crypto_pwhash_scryptxsalsa208sha256_STRSETTINGBYTES + 1U];
|
char setting[crypto_pwhash_scryptsalsa208sha256_STRSETTINGBYTES + 1U];
|
||||||
escrypt_local_t escrypt_local;
|
escrypt_local_t escrypt_local;
|
||||||
uint32_t N_log2;
|
uint32_t N_log2;
|
||||||
uint32_t p;
|
uint32_t p;
|
||||||
uint32_t r;
|
uint32_t r;
|
||||||
|
|
||||||
memset(out, 0, crypto_pwhash_scryptxsalsa208sha256_STRBYTES);
|
memset(out, 0, crypto_pwhash_scryptsalsa208sha256_STRBYTES);
|
||||||
if (passwdlen > SIZE_MAX) {
|
if (passwdlen > SIZE_MAX) {
|
||||||
errno = EFBIG;
|
errno = EFBIG;
|
||||||
return -1;
|
return -1;
|
||||||
@ -124,7 +124,7 @@ crypto_pwhash_scryptxsalsa208sha256_str(char out[crypto_pwhash_scryptxsalsa208sh
|
|||||||
}
|
}
|
||||||
if (escrypt_r(&escrypt_local, (const uint8_t *) passwd, (size_t) passwdlen,
|
if (escrypt_r(&escrypt_local, (const uint8_t *) passwd, (size_t) passwdlen,
|
||||||
(const uint8_t *) setting, (uint8_t *) out,
|
(const uint8_t *) setting, (uint8_t *) out,
|
||||||
crypto_pwhash_scryptxsalsa208sha256_STRBYTES) == NULL) {
|
crypto_pwhash_scryptsalsa208sha256_STRBYTES) == NULL) {
|
||||||
escrypt_free_local(&escrypt_local);
|
escrypt_free_local(&escrypt_local);
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
return -1;
|
return -1;
|
||||||
@ -132,27 +132,27 @@ crypto_pwhash_scryptxsalsa208sha256_str(char out[crypto_pwhash_scryptxsalsa208sh
|
|||||||
escrypt_free_local(&escrypt_local);
|
escrypt_free_local(&escrypt_local);
|
||||||
|
|
||||||
(void) sizeof
|
(void) sizeof
|
||||||
(int[SETTING_SIZE(crypto_pwhash_scryptxsalsa208sha256_STRSALTBYTES)
|
(int[SETTING_SIZE(crypto_pwhash_scryptsalsa208sha256_STRSALTBYTES)
|
||||||
== crypto_pwhash_scryptxsalsa208sha256_STRSETTINGBYTES ? 1 : -1]);
|
== crypto_pwhash_scryptsalsa208sha256_STRSETTINGBYTES ? 1 : -1]);
|
||||||
(void) sizeof
|
(void) sizeof
|
||||||
(int[crypto_pwhash_scryptxsalsa208sha256_STRSETTINGBYTES + 1U +
|
(int[crypto_pwhash_scryptsalsa208sha256_STRSETTINGBYTES + 1U +
|
||||||
crypto_pwhash_scryptxsalsa208sha256_STRHASHBYTES_ENCODED + 1U
|
crypto_pwhash_scryptsalsa208sha256_STRHASHBYTES_ENCODED + 1U
|
||||||
== crypto_pwhash_scryptxsalsa208sha256_STRBYTES ? 1 : -1]);
|
== crypto_pwhash_scryptsalsa208sha256_STRBYTES ? 1 : -1]);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
crypto_pwhash_scryptxsalsa208sha256_str_verify(const char str[crypto_pwhash_scryptxsalsa208sha256_STRBYTES],
|
crypto_pwhash_scryptsalsa208sha256_str_verify(const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
|
||||||
const char * const passwd,
|
const char * const passwd,
|
||||||
unsigned long long passwdlen)
|
unsigned long long passwdlen)
|
||||||
{
|
{
|
||||||
char wanted[crypto_pwhash_scryptxsalsa208sha256_STRBYTES];
|
char wanted[crypto_pwhash_scryptsalsa208sha256_STRBYTES];
|
||||||
escrypt_local_t escrypt_local;
|
escrypt_local_t escrypt_local;
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
|
|
||||||
if (memchr(str, 0, crypto_pwhash_scryptxsalsa208sha256_STRBYTES) !=
|
if (memchr(str, 0, crypto_pwhash_scryptsalsa208sha256_STRBYTES) !=
|
||||||
&str[crypto_pwhash_scryptxsalsa208sha256_STRBYTES - 1U]) {
|
&str[crypto_pwhash_scryptsalsa208sha256_STRBYTES - 1U]) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (escrypt_init_local(&escrypt_local) != 0) {
|
if (escrypt_init_local(&escrypt_local) != 0) {
|
@ -20,7 +20,7 @@ SODIUM_EXPORT = \
|
|||||||
sodium/crypto_onetimeauth.h \
|
sodium/crypto_onetimeauth.h \
|
||||||
sodium/crypto_onetimeauth_poly1305.h \
|
sodium/crypto_onetimeauth_poly1305.h \
|
||||||
sodium/crypto_onetimeauth_poly1305_donna.h \
|
sodium/crypto_onetimeauth_poly1305_donna.h \
|
||||||
sodium/crypto_pwhash_scryptxsalsa208sha256.h \
|
sodium/crypto_pwhash_scryptsalsa208sha256.h \
|
||||||
sodium/crypto_scalarmult.h \
|
sodium/crypto_scalarmult.h \
|
||||||
sodium/crypto_scalarmult_curve25519.h \
|
sodium/crypto_scalarmult_curve25519.h \
|
||||||
sodium/crypto_secretbox.h \
|
sodium/crypto_secretbox.h \
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <sodium/crypto_hash_sha512.h>
|
#include <sodium/crypto_hash_sha512.h>
|
||||||
#include <sodium/crypto_onetimeauth.h>
|
#include <sodium/crypto_onetimeauth.h>
|
||||||
#include <sodium/crypto_onetimeauth_poly1305.h>
|
#include <sodium/crypto_onetimeauth_poly1305.h>
|
||||||
#include <sodium/crypto_pwhash_scryptxsalsa208sha256.h>
|
#include <sodium/crypto_pwhash_scryptsalsa208sha256.h>
|
||||||
#include <sodium/crypto_scalarmult.h>
|
#include <sodium/crypto_scalarmult.h>
|
||||||
#include <sodium/crypto_scalarmult_curve25519.h>
|
#include <sodium/crypto_scalarmult_curve25519.h>
|
||||||
#include <sodium/crypto_secretbox.h>
|
#include <sodium/crypto_secretbox.h>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifndef crypto_pwhash_scryptxsalsa208sha256_H
|
#ifndef crypto_pwhash_scryptsalsa208sha256_H
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_H
|
#define crypto_pwhash_scryptsalsa208sha256_H
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
@ -12,16 +12,16 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_SALTBYTES 32
|
#define crypto_pwhash_scryptsalsa208sha256_SALTBYTES 32
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_scryptxsalsa208sha256_saltbytes(void);
|
size_t crypto_pwhash_scryptsalsa208sha256_saltbytes(void);
|
||||||
|
|
||||||
#define crypto_pwhash_scryptxsalsa208sha256_STRBYTES 102
|
#define crypto_pwhash_scryptsalsa208sha256_STRBYTES 102
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
size_t crypto_pwhash_scryptxsalsa208sha256_strbytes(void);
|
size_t crypto_pwhash_scryptsalsa208sha256_strbytes(void);
|
||||||
|
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_pwhash_scryptxsalsa208sha256(unsigned char * const out,
|
int crypto_pwhash_scryptsalsa208sha256(unsigned char * const out,
|
||||||
unsigned long long outlen,
|
unsigned long long outlen,
|
||||||
const char * const passwd,
|
const char * const passwd,
|
||||||
unsigned long long passwdlen,
|
unsigned long long passwdlen,
|
||||||
@ -30,14 +30,14 @@ int crypto_pwhash_scryptxsalsa208sha256(unsigned char * const out,
|
|||||||
size_t memlimit);
|
size_t memlimit);
|
||||||
|
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_pwhash_scryptxsalsa208sha256_str(char out[crypto_pwhash_scryptxsalsa208sha256_STRBYTES],
|
int crypto_pwhash_scryptsalsa208sha256_str(char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
|
||||||
const char * const passwd,
|
const char * const passwd,
|
||||||
unsigned long long passwdlen,
|
unsigned long long passwdlen,
|
||||||
unsigned long long opslimit,
|
unsigned long long opslimit,
|
||||||
size_t memlimit);
|
size_t memlimit);
|
||||||
|
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_pwhash_scryptxsalsa208sha256_str_verify(const char str[crypto_pwhash_scryptxsalsa208sha256_STRBYTES],
|
int crypto_pwhash_scryptsalsa208sha256_str_verify(const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES],
|
||||||
const char * const passwd,
|
const char * const passwd,
|
||||||
unsigned long long passwdlen);
|
unsigned long long passwdlen);
|
||||||
|
|
@ -26,7 +26,7 @@ static void tv(void)
|
|||||||
{"a14975c26c088755a8b715ff2528d647cd343987fcf4aa25e7194a8417fb2b4b3f7268da9f3182b4cfb22d138b2749d673a47ecc7525dd15a0a3c66046971784bb63d7eae24cc84f2631712075a10e10a96b0e0ee67c43e01c423cb9c44e5371017e9c496956b632158da3fe12addecb88912e6759bc37f9af2f45af72c5cae3b179ffb676a697de6ebe45cd4c16d4a9d642d29ddc0186a0a48cb6cd62bfc3dd229d313b301560971e740e2cf1f99a9a090a5b283f35475057e96d7064e2e0fc81984591068d55a3b4169f22cccb0745a2689407ea1901a0a766eb99", 220, "3d968b2752b8838431165059319f3ff8910b7b8ecb54ea01d3f54769e9d98daf", 167, 717248, 10784179},
|
{"a14975c26c088755a8b715ff2528d647cd343987fcf4aa25e7194a8417fb2b4b3f7268da9f3182b4cfb22d138b2749d673a47ecc7525dd15a0a3c66046971784bb63d7eae24cc84f2631712075a10e10a96b0e0ee67c43e01c423cb9c44e5371017e9c496956b632158da3fe12addecb88912e6759bc37f9af2f45af72c5cae3b179ffb676a697de6ebe45cd4c16d4a9d642d29ddc0186a0a48cb6cd62bfc3dd229d313b301560971e740e2cf1f99a9a090a5b283f35475057e96d7064e2e0fc81984591068d55a3b4169f22cccb0745a2689407ea1901a0a766eb99", 220, "3d968b2752b8838431165059319f3ff8910b7b8ecb54ea01d3f54769e9d98daf", 167, 717248, 10784179},
|
||||||
};
|
};
|
||||||
char passwd[256];
|
char passwd[256];
|
||||||
unsigned char salt[crypto_pwhash_scryptxsalsa208sha256_SALTBYTES];
|
unsigned char salt[crypto_pwhash_scryptsalsa208sha256_SALTBYTES];
|
||||||
unsigned char out[256];
|
unsigned char out[256];
|
||||||
char out_hex[256 * 2 + 1];
|
char out_hex[256 * 2 + 1];
|
||||||
size_t i = 0U;
|
size_t i = 0U;
|
||||||
@ -38,7 +38,7 @@ static void tv(void)
|
|||||||
sodium_hex2bin(salt, sizeof salt,
|
sodium_hex2bin(salt, sizeof salt,
|
||||||
tests[i].salt_hex, strlen(tests[i].salt_hex),
|
tests[i].salt_hex, strlen(tests[i].salt_hex),
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
if (crypto_pwhash_scryptxsalsa208sha256(out, tests[i].outlen,
|
if (crypto_pwhash_scryptsalsa208sha256(out, tests[i].outlen,
|
||||||
passwd, tests[i].passwdlen,
|
passwd, tests[i].passwdlen,
|
||||||
(const unsigned char *) salt,
|
(const unsigned char *) salt,
|
||||||
tests[i].opslimit,
|
tests[i].opslimit,
|
||||||
@ -70,7 +70,7 @@ static void tv2(void)
|
|||||||
size_t i = 0U;
|
size_t i = 0U;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (crypto_pwhash_scryptxsalsa208sha256_str_verify(tests[i].out,
|
if (crypto_pwhash_scryptsalsa208sha256_str_verify(tests[i].out,
|
||||||
tests[i].passwd,
|
tests[i].passwd,
|
||||||
strlen(tests[i].passwd)) != 0) {
|
strlen(tests[i].passwd)) != 0) {
|
||||||
printf("pwhash_str failure\n");
|
printf("pwhash_str failure\n");
|
||||||
@ -84,8 +84,8 @@ static void tv2(void)
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
char str_out[crypto_pwhash_scryptxsalsa208sha256_STRBYTES];
|
char str_out[crypto_pwhash_scryptsalsa208sha256_STRBYTES];
|
||||||
char str_out2[crypto_pwhash_scryptxsalsa208sha256_STRBYTES];
|
char str_out2[crypto_pwhash_scryptsalsa208sha256_STRBYTES];
|
||||||
unsigned char out[OUT_LEN];
|
unsigned char out[OUT_LEN];
|
||||||
char out_hex[OUT_LEN * 2 + 1];
|
char out_hex[OUT_LEN * 2 + 1];
|
||||||
const char *salt = "[<~A 32-bytes salt for scrypt~>]";
|
const char *salt = "[<~A 32-bytes salt for scrypt~>]";
|
||||||
@ -94,28 +94,28 @@ int main(void)
|
|||||||
|
|
||||||
tv();
|
tv();
|
||||||
tv2();
|
tv2();
|
||||||
if (crypto_pwhash_scryptxsalsa208sha256_str(str_out, passwd, strlen(passwd),
|
if (crypto_pwhash_scryptsalsa208sha256_str(str_out, passwd, strlen(passwd),
|
||||||
OPSLIMIT, MEMLIMIT) != 0) {
|
OPSLIMIT, MEMLIMIT) != 0) {
|
||||||
printf("pwhash_str failure\n");
|
printf("pwhash_str failure\n");
|
||||||
}
|
}
|
||||||
if (crypto_pwhash_scryptxsalsa208sha256_str(str_out2, passwd, strlen(passwd),
|
if (crypto_pwhash_scryptsalsa208sha256_str(str_out2, passwd, strlen(passwd),
|
||||||
OPSLIMIT, MEMLIMIT) != 0) {
|
OPSLIMIT, MEMLIMIT) != 0) {
|
||||||
printf("pwhash_str(2) failure\n");
|
printf("pwhash_str(2) failure\n");
|
||||||
}
|
}
|
||||||
if (strcmp(str_out, str_out2) == 0) {
|
if (strcmp(str_out, str_out2) == 0) {
|
||||||
printf("pwhash_str doesn't generate different salts\n");
|
printf("pwhash_str doesn't generate different salts\n");
|
||||||
}
|
}
|
||||||
if (crypto_pwhash_scryptxsalsa208sha256_str_verify(str_out, passwd,
|
if (crypto_pwhash_scryptsalsa208sha256_str_verify(str_out, passwd,
|
||||||
strlen(passwd)) != 0) {
|
strlen(passwd)) != 0) {
|
||||||
printf("pwhash_str_verify failure\n");
|
printf("pwhash_str_verify failure\n");
|
||||||
}
|
}
|
||||||
if (crypto_pwhash_scryptxsalsa208sha256_str_verify(str_out, passwd,
|
if (crypto_pwhash_scryptsalsa208sha256_str_verify(str_out, passwd,
|
||||||
strlen(passwd)) != 0) {
|
strlen(passwd)) != 0) {
|
||||||
printf("pwhash_str_verify failure\n");
|
printf("pwhash_str_verify failure\n");
|
||||||
}
|
}
|
||||||
for (i = 14U; i < sizeof str_out; i++) {
|
for (i = 14U; i < sizeof str_out; i++) {
|
||||||
str_out[i]++;
|
str_out[i]++;
|
||||||
if (crypto_pwhash_scryptxsalsa208sha256_str_verify(str_out, passwd,
|
if (crypto_pwhash_scryptsalsa208sha256_str_verify(str_out, passwd,
|
||||||
strlen(passwd)) == 0) {
|
strlen(passwd)) == 0) {
|
||||||
printf("pwhash_str_verify(2) failure\n");
|
printf("pwhash_str_verify(2) failure\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user