diff --git a/lib/md5.c b/lib/md5.c index 13f6275..194e980 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -221,11 +221,13 @@ process_partial_block: void * md5_buffer (const char *buffer, size_t len, void *resblock) { +#if 0 /* TODO: Determine list of platforms and break-even point. */ if (len >= 1) { if (afalg_buffer (buffer, len, "md5", resblock, MD5_DIGEST_SIZE) == 0) return resblock; } +#endif struct md5_ctx ctx; diff --git a/lib/sha1.c b/lib/sha1.c index 735de64..1ba0afb 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -209,11 +209,13 @@ sha1_stream (FILE *stream, void *resblock) void * sha1_buffer (const char *buffer, size_t len, void *resblock) { +#if 0 /* TODO: Determine list of platforms and break-even point. */ if (len >= 1) { if (afalg_buffer (buffer, len, "sha1", resblock, SHA1_DIGEST_SIZE) == 0) return resblock; } +#endif struct sha1_ctx ctx; diff --git a/lib/sha256.c b/lib/sha256.c index 78fc96e..0f3bfc5 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -273,12 +273,14 @@ sha224_stream (FILE *stream, void *resblock) void * sha256_buffer (const char *buffer, size_t len, void *resblock) { +#if 0 /* TODO: Determine list of platforms and break-even point. */ if (len >= 1) { if (afalg_buffer (buffer, len, "sha256", resblock, SHA256_DIGEST_SIZE) == 0) return resblock; } +#endif struct sha256_ctx ctx; @@ -295,12 +297,14 @@ sha256_buffer (const char *buffer, size_t len, void *resblock) void * sha224_buffer (const char *buffer, size_t len, void *resblock) { +#if 0 /* TODO: Determine list of platforms and break-even point. */ if (len >= 1) { if (afalg_buffer (buffer, len, "sha224", resblock, SHA224_DIGEST_SIZE) == 0) return resblock; } +#endif struct sha256_ctx ctx; diff --git a/lib/sha512.c b/lib/sha512.c index 24cdd59..f73cbd6 100644 --- a/lib/sha512.c +++ b/lib/sha512.c @@ -281,12 +281,14 @@ sha384_stream (FILE *stream, void *resblock) void * sha512_buffer (const char *buffer, size_t len, void *resblock) { +#if 0 /* TODO: Determine list of platforms and break-even point. */ if (len >= 1) { if (afalg_buffer (buffer, len, "sha512", resblock, SHA512_DIGEST_SIZE) == 0) return resblock; } +#endif struct sha512_ctx ctx; @@ -303,12 +305,14 @@ sha512_buffer (const char *buffer, size_t len, void *resblock) void * sha384_buffer (const char *buffer, size_t len, void *resblock) { +#if 0 /* TODO: Determine list of platforms and break-even point. */ if (len >= 1) { if (afalg_buffer (buffer, len, "sha384", resblock, SHA384_DIGEST_SIZE) == 0) return resblock; } +#endif struct sha512_ctx ctx;