diff --git a/ctaocrypt/benchmark/benchmark.c b/ctaocrypt/benchmark/benchmark.c index 22770c150..f6f9c921d 100644 --- a/ctaocrypt/benchmark/benchmark.c +++ b/ctaocrypt/benchmark/benchmark.c @@ -11,7 +11,7 @@ #include "ctc_aes.h" #include "ctc_md5.h" #include "ctc_sha.h" -#include "sha256.h" +#include "ctc_sha256.h" #include "sha512.h" #include "ctc_rsa.h" #include "ctc_asn.h" diff --git a/ctaocrypt/include/ctc_hmac.h b/ctaocrypt/include/ctc_hmac.h index 12deecf71..571a8ccc9 100644 --- a/ctaocrypt/include/ctc_hmac.h +++ b/ctaocrypt/include/ctc_hmac.h @@ -28,7 +28,7 @@ #include "ctc_sha.h" #ifndef NO_SHA256 - #include "sha256.h" + #include "ctc_sha256.h" #endif #ifdef __cplusplus diff --git a/ctaocrypt/include/sha256.h b/ctaocrypt/include/ctc_sha256.h similarity index 99% rename from ctaocrypt/include/sha256.h rename to ctaocrypt/include/ctc_sha256.h index 24ad83901..7b080bf40 100644 --- a/ctaocrypt/include/sha256.h +++ b/ctaocrypt/include/ctc_sha256.h @@ -1,4 +1,4 @@ -/* sha256.h +/* ctc_sha256.h * * Copyright (C) 2006-2011 Sawtooth Consulting Ltd. * diff --git a/ctaocrypt/src/asn.c b/ctaocrypt/src/asn.c index 951655f79..1b06339e1 100644 --- a/ctaocrypt/src/asn.c +++ b/ctaocrypt/src/asn.c @@ -31,7 +31,7 @@ #include "ctc_error.h" #include "ctc_pwdbased.h" #include "ctc_des3.h" -#include "sha256.h" +#include "ctc_sha256.h" #include "logging.h" #ifdef HAVE_NTRU diff --git a/ctaocrypt/src/sha256.c b/ctaocrypt/src/sha256.c index 0d6bd9a0d..36d5ffddb 100644 --- a/ctaocrypt/src/sha256.c +++ b/ctaocrypt/src/sha256.c @@ -25,7 +25,7 @@ #ifndef NO_SHA256 -#include "sha256.h" +#include "ctc_sha256.h" #ifdef NO_INLINE #include "ctc_misc.h" #else diff --git a/ctaocrypt/test/test.c b/ctaocrypt/test/test.c index e877ce008..592b9d544 100644 --- a/ctaocrypt/test/test.c +++ b/ctaocrypt/test/test.c @@ -8,7 +8,7 @@ #include "ctc_md5.h" #include "ctc_md4.h" #include "ctc_sha.h" -#include "sha256.h" +#include "ctc_sha256.h" #include "sha512.h" #include "ctc_arc4.h" #include "ctc_random.h" diff --git a/include/cyassl_int.h b/include/cyassl_int.h index 1ae4b4806..6de974abb 100644 --- a/include/cyassl_int.h +++ b/include/cyassl_int.h @@ -38,7 +38,7 @@ #include "ctc_ecc.h" #endif #ifndef NO_SHA256 - #include "sha256.h" + #include "ctc_sha256.h" #endif #ifdef CYASSL_CALLBACKS