Do not export crypto_hashblocks*

This commit is contained in:
Frank Denis 2014-04-10 22:56:03 -07:00
parent 175bcccee1
commit ca6a52e413
5 changed files with 0 additions and 31 deletions

View File

@ -396,7 +396,6 @@
<ClCompile Include="src\libsodium\crypto_generichash\blake2\ref\blake2b-ref.c" /> <ClCompile Include="src\libsodium\crypto_generichash\blake2\ref\blake2b-ref.c" />
<ClCompile Include="src\libsodium\crypto_generichash\blake2\ref\generichash_blake2b.c" /> <ClCompile Include="src\libsodium\crypto_generichash\blake2\ref\generichash_blake2b.c" />
<ClCompile Include="src\libsodium\crypto_generichash\crypto_generichash.c" /> <ClCompile Include="src\libsodium\crypto_generichash\crypto_generichash.c" />
<ClCompile Include="src\libsodium\crypto_hashblocks\sha512\hashblocks_sha512_api.c" />
<ClCompile Include="src\libsodium\crypto_hashblocks\sha512\ref\blocks_sha512.c" /> <ClCompile Include="src\libsodium\crypto_hashblocks\sha512\ref\blocks_sha512.c" />
<ClCompile Include="src\libsodium\crypto_hash\crypto_hash.c" /> <ClCompile Include="src\libsodium\crypto_hash\crypto_hash.c" />
<ClCompile Include="src\libsodium\crypto_hash\sha256\hash_sha256_api.c" /> <ClCompile Include="src\libsodium\crypto_hash\sha256\hash_sha256_api.c" />

View File

@ -268,9 +268,6 @@
<ClCompile Include="src\libsodium\crypto_hashblocks\sha512\ref\blocks_sha512.c"> <ClCompile Include="src\libsodium\crypto_hashblocks\sha512\ref\blocks_sha512.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="src\libsodium\crypto_hashblocks\sha512\hashblocks_sha512_api.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c"> <ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>

View File

@ -46,7 +46,6 @@ libsodium_la_SOURCES = \
crypto_hash/sha512/ref/api.h \ crypto_hash/sha512/ref/api.h \
crypto_hash/sha512/ref/hash_sha512.c \ crypto_hash/sha512/ref/hash_sha512.c \
crypto_hashblocks/sha512/ref/blocks_sha512.c \ crypto_hashblocks/sha512/ref/blocks_sha512.c \
crypto_hashblocks/sha512/hashblocks_sha512_api.c \
crypto_hashblocks/sha512/ref/api.h \ crypto_hashblocks/sha512/ref/api.h \
crypto_onetimeauth/crypto_onetimeauth.c \ crypto_onetimeauth/crypto_onetimeauth.c \
crypto_onetimeauth/poly1305/onetimeauth_poly1305.c \ crypto_onetimeauth/poly1305/onetimeauth_poly1305.c \

View File

@ -1,16 +0,0 @@
#include "crypto_hashblocks_sha512.h"
size_t
crypto_hashblocks_sha512_statebytes(void) {
return crypto_hashblocks_sha512_STATEBYTES;
}
size_t
crypto_hashblocks_sha512_blockbytes(void) {
return crypto_hashblocks_sha512_BLOCKBYTES;
}
const char *
crypto_hashblocks_sha512_primitive(void) {
return "sha512";
}

View File

@ -14,16 +14,6 @@
extern "C" { extern "C" {
#endif #endif
SODIUM_EXPORT
size_t crypto_hashblocks_sha512_statebytes(void);
SODIUM_EXPORT
size_t crypto_hashblocks_sha512_blockbytes(void);
SODIUM_EXPORT
const char * crypto_hashblocks_sha512_primitive(void);
SODIUM_EXPORT
int crypto_hashblocks_sha512(unsigned char *,const unsigned char *,unsigned long long); int crypto_hashblocks_sha512(unsigned char *,const unsigned char *,unsigned long long);
#ifdef __cplusplus #ifdef __cplusplus