fips preservation update

This commit is contained in:
kaleb-himes
2014-12-31 15:20:53 -07:00
parent a50af85e95
commit e6cebf1246

View File

@@ -13,6 +13,7 @@ src_libwolfssl_la_CPPFLAGS = -DBUILDING_WOLFSSL $(AM_CPPFLAGS)
# fips first file
if BUILD_FIPS
src_libwolfssl_la_SOURCES += ctaocrypt/src/wolfcrypt_first.c
endif
src_libwolfssl_la_SOURCES += \
ctaocrypt/src/hmac.c \
@@ -39,18 +40,21 @@ if BUILD_SHA512
src_libwolfssl_la_SOURCES += ctaocrypt/src/sha512.c
endif
if BUILD_FIPS
src_libwolfssl_la_SOURCES += ctaocrypt/src/fips.c
src_libwolfssl_la_SOURCES += ctaocrypt/src/fips_test.c
endif
# fips last file
if BUILD_FIPS
src_libwolfssl_la_SOURCES += ctaocrypt/src/wolfcrypt_last.c
else # not BUILD_FIPS
endif
src_libwolfssl_la_SOURCES += \
wolfcrypt/src/hmac.c \
wolfcrypt/src/random.c \
wolfcrypt/src/sha256.c
if BUILD_RSA
src_libwolfssl_la_SOURCES += wolfcrypt/src/rsa.c
endif
@@ -71,9 +75,6 @@ if BUILD_SHA512
src_libwolfssl_la_SOURCES += wolfcrypt/src/sha512.c
endif
endif # BUILD_FIPS
if BUILD_FIPS
src_libwolfssl_la_SOURCES += \
ctaocrypt/src/logging.c \