]> granicus.if.org Git - openssl/commitdiff
Change fips directory to fips-1.0
authorDr. Stephen Henson <steve@openssl.org>
Mon, 30 Jan 2006 18:15:29 +0000 (18:15 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 30 Jan 2006 18:15:29 +0000 (18:15 +0000)
82 files changed:
Makefile.org
apps/Makefile
fips-1.0/.cvsignore [moved from fips/.cvsignore with 100% similarity]
fips-1.0/Makefile [moved from fips/Makefile with 99% similarity]
fips-1.0/aes/.cvsignore [moved from fips/aes/.cvsignore with 100% similarity]
fips-1.0/aes/Makefile [moved from fips/aes/Makefile with 100% similarity]
fips-1.0/aes/asm/fips-ax86-elf.s [moved from fips/aes/asm/fips-ax86-elf.s with 100% similarity]
fips-1.0/aes/fips_aes_core.c [moved from fips/aes/fips_aes_core.c with 100% similarity]
fips-1.0/aes/fips_aes_locl.h [moved from fips/aes/fips_aes_locl.h with 100% similarity]
fips-1.0/aes/fips_aes_selftest.c [moved from fips/aes/fips_aes_selftest.c with 100% similarity]
fips-1.0/aes/fips_aesavs.c [moved from fips/aes/fips_aesavs.c with 100% similarity]
fips-1.0/des/.cvsignore [moved from fips/des/.cvsignore with 100% similarity]
fips-1.0/des/Makefile [moved from fips/des/Makefile with 100% similarity]
fips-1.0/des/asm/fips-dx86-elf.s [moved from fips/des/asm/fips-dx86-elf.s with 100% similarity]
fips-1.0/des/fips_des_enc.c [moved from fips/des/fips_des_enc.c with 100% similarity]
fips-1.0/des/fips_des_locl.h [moved from fips/des/fips_des_locl.h with 100% similarity]
fips-1.0/des/fips_des_selftest.c [moved from fips/des/fips_des_selftest.c with 100% similarity]
fips-1.0/des/fips_desmovs.c [moved from fips/des/fips_desmovs.c with 100% similarity]
fips-1.0/des/fips_set_key.c [moved from fips/des/fips_set_key.c with 100% similarity]
fips-1.0/dh/.cvsignore [moved from fips/dh/.cvsignore with 100% similarity]
fips-1.0/dh/Makefile [moved from fips/dh/Makefile with 100% similarity]
fips-1.0/dh/fips_dh_check.c [moved from fips/dh/fips_dh_check.c with 100% similarity]
fips-1.0/dh/fips_dh_gen.c [moved from fips/dh/fips_dh_gen.c with 100% similarity]
fips-1.0/dh/fips_dh_key.c [moved from fips/dh/fips_dh_key.c with 100% similarity]
fips-1.0/dsa/.cvsignore [moved from fips/dsa/.cvsignore with 100% similarity]
fips-1.0/dsa/Makefile [moved from fips/dsa/Makefile with 100% similarity]
fips-1.0/dsa/fips_dsa_gen.c [moved from fips/dsa/fips_dsa_gen.c with 100% similarity]
fips-1.0/dsa/fips_dsa_ossl.c [moved from fips/dsa/fips_dsa_ossl.c with 100% similarity]
fips-1.0/dsa/fips_dsa_selftest.c [moved from fips/dsa/fips_dsa_selftest.c with 100% similarity]
fips-1.0/dsa/fips_dsatest.c [moved from fips/dsa/fips_dsatest.c with 100% similarity]
fips-1.0/dsa/fips_dssvs.c [moved from fips/dsa/fips_dssvs.c with 100% similarity]
fips-1.0/fips-lib.com [moved from fips/fips-lib.com with 100% similarity]
fips-1.0/fips.c [moved from fips/fips.c with 100% similarity]
fips-1.0/fips.h [moved from fips/fips.h with 100% similarity]
fips-1.0/fips_canister.c [moved from fips/fips_canister.c with 100% similarity]
fips-1.0/fips_err.h [moved from fips/fips_err.h with 100% similarity]
fips-1.0/fips_err_wrapper.c [moved from fips/fips_err_wrapper.c with 100% similarity]
fips-1.0/fips_locl.h [moved from fips/fips_locl.h with 100% similarity]
fips-1.0/fips_premain.c [moved from fips/fips_premain.c with 100% similarity]
fips-1.0/fips_premain_dso [new file with mode: 0755]
fips-1.0/fips_test_suite.c [moved from fips/fips_test_suite.c with 100% similarity]
fips-1.0/fipscanister.o.sha1 [new file with mode: 0644]
fips-1.0/fipshashes.c [moved from fips/fipshashes.c with 100% similarity]
fips-1.0/fipsld [moved from fips/fipsld with 90% similarity]
fips-1.0/hmac/.cvsignore [moved from fips/hmac/.cvsignore with 100% similarity]
fips-1.0/hmac/Makefile [moved from fips/hmac/Makefile with 100% similarity]
fips-1.0/hmac/fips_hmac.c [moved from fips/hmac/fips_hmac.c with 100% similarity]
fips-1.0/hmac/fips_hmac_selftest.c [moved from fips/hmac/fips_hmac_selftest.c with 100% similarity]
fips-1.0/hmac/fips_hmactest.c [moved from fips/hmac/fips_hmactest.c with 100% similarity]
fips-1.0/install.com [moved from fips/install.com with 100% similarity]
fips-1.0/openssl_fips_fingerprint [moved from fips/openssl_fips_fingerprint with 100% similarity]
fips-1.0/rand/.cvsignore [moved from fips/rand/.cvsignore with 100% similarity]
fips-1.0/rand/Makefile [moved from fips/rand/Makefile with 100% similarity]
fips-1.0/rand/fips_rand.c [moved from fips/rand/fips_rand.c with 100% similarity]
fips-1.0/rand/fips_rand.h [moved from fips/rand/fips_rand.h with 100% similarity]
fips-1.0/rand/fips_rand_selftest.c [moved from fips/rand/fips_rand_selftest.c with 100% similarity]
fips-1.0/rand/fips_randtest.c [moved from fips/rand/fips_randtest.c with 100% similarity]
fips-1.0/rand/fips_rngvs.c [moved from fips/rand/fips_rngvs.c with 100% similarity]
fips-1.0/rsa/.cvsignore [moved from fips/rsa/.cvsignore with 100% similarity]
fips-1.0/rsa/Makefile [moved from fips/rsa/Makefile with 100% similarity]
fips-1.0/rsa/fips_rsa_eay.c [moved from fips/rsa/fips_rsa_eay.c with 100% similarity]
fips-1.0/rsa/fips_rsa_gen.c [moved from fips/rsa/fips_rsa_gen.c with 100% similarity]
fips-1.0/rsa/fips_rsa_selftest.c [moved from fips/rsa/fips_rsa_selftest.c with 100% similarity]
fips-1.0/rsa/fips_rsa_x931g.c [moved from fips/rsa/fips_rsa_x931g.c with 100% similarity]
fips-1.0/rsa/fips_rsagtest.c [moved from fips/rsa/fips_rsagtest.c with 100% similarity]
fips-1.0/rsa/fips_rsastest.c [moved from fips/rsa/fips_rsastest.c with 100% similarity]
fips-1.0/rsa/fips_rsavtest.c [moved from fips/rsa/fips_rsavtest.c with 100% similarity]
fips-1.0/sha/.cvsignore [moved from fips/sha/.cvsignore with 100% similarity]
fips-1.0/sha/Makefile [moved from fips/sha/Makefile with 100% similarity]
fips-1.0/sha/SHAmix.fax [moved from fips/sha/SHAmix.fax with 100% similarity]
fips-1.0/sha/SHAmix.req [moved from fips/sha/SHAmix.req with 100% similarity]
fips-1.0/sha/asm/fips-sx86-elf.s [moved from fips/sha/asm/fips-sx86-elf.s with 100% similarity]
fips-1.0/sha/fips_md32_common.h [moved from fips/sha/fips_md32_common.h with 100% similarity]
fips-1.0/sha/fips_sha.h [moved from fips/sha/fips_sha.h with 100% similarity]
fips-1.0/sha/fips_sha1_selftest.c [moved from fips/sha/fips_sha1_selftest.c with 100% similarity]
fips-1.0/sha/fips_sha1dgst.c [moved from fips/sha/fips_sha1dgst.c with 100% similarity]
fips-1.0/sha/fips_sha256.c [moved from fips/sha/fips_sha256.c with 100% similarity]
fips-1.0/sha/fips_sha512.c [moved from fips/sha/fips_sha512.c with 100% similarity]
fips-1.0/sha/fips_sha_locl.h [moved from fips/sha/fips_sha_locl.h with 100% similarity]
fips-1.0/sha/fips_shatest.c [moved from fips/sha/fips_shatest.c with 100% similarity]
fips-1.0/sha/fips_standalone_sha1.c [moved from fips/sha/fips_standalone_sha1.c with 100% similarity]
test/Makefile

index 1b96b76440de3ffdd22d8a1348514e49a992f854..35457014e79f72d8862877c500b3b30aead7663e 100644 (file)
@@ -180,7 +180,7 @@ LIBZLIB=
 # we might set SHLIB_MARK to '$(SHARED_LIBS)'.
 SHLIB_MARK=
 
-DIRS=   crypto fips ssl $(SHLIB_MARK) apps test tools
+DIRS=   crypto fips-1.0 ssl $(SHLIB_MARK) apps test tools
 SHLIBDIRS= crypto ssl
 
 # dirs in crypto to build
index 1b65e2a13e37e97f9d37d00cf3ba0d6bed26d321..4daa92382f742404ce1655de63cd9270e2785947 100644 (file)
@@ -145,7 +145,7 @@ $(DLIBCRYPTO):
 $(EXE): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL)
        $(RM) $(EXE)
        @if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
-         FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
+         FIPSLD_CC=$(CC); CC=$(TOP)/fips-1.0/fipsld; export CC FIPSLD_CC; \
        fi; \
        SHARED_LIBS="$(SHARED_LIBS)"; \
        if [ "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \
similarity index 100%
rename from fips/.cvsignore
rename to fips-1.0/.cvsignore
similarity index 99%
rename from fips/Makefile
rename to fips-1.0/Makefile
index 9b88ef5c6c2cfc324692433e5e3cd5ab65128dd2..c6249c13f063c047f0c719ad2300a0081272ddbd 100644 (file)
@@ -133,7 +133,7 @@ lib:        fipscanister.o
 
 shared:        fips_premain_dso$(EXE_EXT)
        if [ -n "$(SHARED_LIBS)" ]; then \
-               (cd ..; $(MAKE) FIPSLD_CC=$(CC) FIPSLD=fips/fipsld $(SHARED_LIB)); \
+               (cd ..; $(MAKE) FIPSLD_CC=$(CC) FIPSLD=fips-1.0/fipsld $(SHARED_LIB)); \
        fi
 
 libs:
similarity index 100%
rename from fips/aes/.cvsignore
rename to fips-1.0/aes/.cvsignore
similarity index 100%
rename from fips/aes/Makefile
rename to fips-1.0/aes/Makefile
similarity index 100%
rename from fips/des/.cvsignore
rename to fips-1.0/des/.cvsignore
similarity index 100%
rename from fips/des/Makefile
rename to fips-1.0/des/Makefile
similarity index 100%
rename from fips/dh/.cvsignore
rename to fips-1.0/dh/.cvsignore
similarity index 100%
rename from fips/dh/Makefile
rename to fips-1.0/dh/Makefile
similarity index 100%
rename from fips/dsa/.cvsignore
rename to fips-1.0/dsa/.cvsignore
similarity index 100%
rename from fips/dsa/Makefile
rename to fips-1.0/dsa/Makefile
similarity index 100%
rename from fips/fips-lib.com
rename to fips-1.0/fips-lib.com
similarity index 100%
rename from fips/fips.c
rename to fips-1.0/fips.c
similarity index 100%
rename from fips/fips.h
rename to fips-1.0/fips.h
similarity index 100%
rename from fips/fips_err.h
rename to fips-1.0/fips_err.h
similarity index 100%
rename from fips/fips_locl.h
rename to fips-1.0/fips_locl.h
similarity index 100%
rename from fips/fips_premain.c
rename to fips-1.0/fips_premain.c
diff --git a/fips-1.0/fips_premain_dso b/fips-1.0/fips_premain_dso
new file mode 100755 (executable)
index 0000000..514e237
Binary files /dev/null and b/fips-1.0/fips_premain_dso differ
diff --git a/fips-1.0/fipscanister.o.sha1 b/fips-1.0/fipscanister.o.sha1
new file mode 100644 (file)
index 0000000..2be7ef2
--- /dev/null
@@ -0,0 +1 @@
+HMAC-SHA1(fipscanister.o)= 3ec9f9f0fb9c32ef4cdb93e757dab0f284f966f7
similarity index 100%
rename from fips/fipshashes.c
rename to fips-1.0/fipshashes.c
similarity index 90%
rename from fips/fipsld
rename to fips-1.0/fipsld
index acb6f6542cd2ade0ac65257c19942960b3e5b3a8..5506b3094392e86c09278bffcc7ef72c6ab0250a 100755 (executable)
@@ -49,9 +49,9 @@ case "${TARGET}" in
 *libcrypto*|*.dll)     # must be linking a shared lib...
        # Shared lib creation can be taking place in the source
        # directory only!!!
-       FINGERTYPE="${THERE}/fips/sha/fips_standalone_sha1"
-       CANISTER_O="${THERE}/fips/fipscanister.o"
-       PREMAIN_C="${THERE}/fips/fips_premain.c"
+       FINGERTYPE="${THERE}/fips-1.0/sha/fips_standalone_sha1"
+       CANISTER_O="${THERE}/fips-1.0/fipscanister.o"
+       PREMAIN_C="${THERE}/fips-1.0/fips_premain.c"
 
        # verify fipscanister.o against its detached signature...
        ${FINGERTYPE} "${CANISTER_O}" | sed "s/(.*\//(/" | \
@@ -80,7 +80,7 @@ case "${TARGET}" in
                ${_WL_PREMAIN} "$@"
 
        # generate signature...
-       SIG=`("${THERE}/fips/fips_premain_dso" "${TARGET}" || rm "${TARGET}")`
+       SIG=`("${THERE}/fips-1.0/fips_premain_dso" "${TARGET}" || rm "${TARGET}")`
        if [ -z "${SIG}" ]; then
           echo "unable to collect signature"; exit 1
        fi
@@ -94,10 +94,10 @@ case "${TARGET}" in
 *)     # must be linking statically...
        # Static linking can be taking place either in the source
        # directory or off the installed binary target destination.
-       if [ -x "${THERE}/fips/sha/fips_standalone_sha1" ]; then
-               FINGERTYPE="${THERE}/fips/sha/fips_standalone_sha1"
-               CANISTER_O="${THERE}/fips/fipscanister.o"
-               PREMAIN_C="${THERE}/fips/fips_premain.c"
+       if [ -x "${THERE}/fips-1.0/sha/fips_standalone_sha1" ]; then
+               FINGERTYPE="${THERE}/fips-1.0/sha/fips_standalone_sha1"
+               CANISTER_O="${THERE}/fips-1.0/fipscanister.o"
+               PREMAIN_C="${THERE}/fips-1.0/fips_premain.c"
        else    # Installed tree is expected to contain
                # lib/fipscanister.o, lib/fipscanister.o.sha1 and
                # lib/fips_premain.c [not to mention bin/openssl].
similarity index 100%
rename from fips/hmac/Makefile
rename to fips-1.0/hmac/Makefile
similarity index 100%
rename from fips/install.com
rename to fips-1.0/install.com
similarity index 100%
rename from fips/rand/Makefile
rename to fips-1.0/rand/Makefile
similarity index 100%
rename from fips/rsa/.cvsignore
rename to fips-1.0/rsa/.cvsignore
similarity index 100%
rename from fips/rsa/Makefile
rename to fips-1.0/rsa/Makefile
similarity index 100%
rename from fips/sha/.cvsignore
rename to fips-1.0/sha/.cvsignore
similarity index 100%
rename from fips/sha/Makefile
rename to fips-1.0/sha/Makefile
similarity index 100%
rename from fips/sha/SHAmix.fax
rename to fips-1.0/sha/SHAmix.fax
similarity index 100%
rename from fips/sha/SHAmix.req
rename to fips-1.0/sha/SHAmix.req
similarity index 100%
rename from fips/sha/fips_sha.h
rename to fips-1.0/sha/fips_sha.h
index 43c323c18e070dca4c601b1aa8380c37aebd1e2c..2f23e3908fb6cbf07270c9908fa8612827e66fb9 100644 (file)
@@ -337,7 +337,7 @@ BUILD_CMD=SHARED_LIBS="$(SHARED_LIBS)"; \
        fi
 
 FIPS_BUILD_CMD=if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
-         FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
+         FIPSLD_CC=$(CC); CC=$(TOP)/fips-1.0/fipsld; export CC FIPSLD_CC; \
        fi; $(BUILD_CMD)
 
 $(FIPS_AESTEST)$(EXE_EXT): $(FIPS_AESTEST).o $(DLIBCRYPTO)