-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jira: None. Test: None. Signed-off-by: Carlos Santa <[email protected]>
- Loading branch information
0 parents
commit dcc15c7
Showing
1,326 changed files
with
646,395 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Object files | ||
*.o | ||
*.obj | ||
|
||
# editor artefacts | ||
*.swp | ||
.#* | ||
#*# | ||
*~ | ||
|
||
# Top level excludes | ||
/Makefile.bak | ||
/Makefile | ||
/*.a | ||
/include | ||
/*.pc | ||
/rehash.time | ||
|
||
# Most *.c files under test/ are symlinks | ||
/test/*.c | ||
# Apart from these | ||
!/test/asn1test.c | ||
!/test/methtest.c | ||
!/test/dummytest.c | ||
!/test/igetest.c | ||
!/test/r160test.c | ||
!/test/fips_algvs.c | ||
|
||
/test/*.ss | ||
/test/*.srl | ||
/test/.rnd | ||
/test/test*.pem | ||
/test/newkey.pem | ||
|
||
# Certificate symbolic links | ||
*.0 | ||
|
||
# Links under apps | ||
/apps/CA.pl | ||
/apps/md4.c | ||
|
||
|
||
# Auto generated headers | ||
/crypto/buildinf.h | ||
/crypto/opensslconf.h | ||
|
||
# Auto generated assembly language source files | ||
*.s | ||
!/crypto/bn/asm/pa-risc2.s | ||
!/crypto/bn/asm/pa-risc2W.s | ||
crypto/aes/asm/a_win32.asm | ||
crypto/bf/asm/b_win32.asm | ||
crypto/bn/asm/bn_win32.asm | ||
crypto/bn/asm/co_win32.asm | ||
crypto/bn/asm/mt_win32.asm | ||
crypto/cast/asm/c_win32.asm | ||
crypto/cpu_win32.asm | ||
crypto/des/asm/d_win32.asm | ||
crypto/des/asm/y_win32.asm | ||
crypto/md5/asm/m5_win32.asm | ||
crypto/rc4/asm/r4_win32.asm | ||
crypto/rc5/asm/r5_win32.asm | ||
crypto/ripemd/asm/rm_win32.asm | ||
crypto/sha/asm/s1_win32.asm | ||
crypto/sha/asm/sha512-sse2.asm | ||
|
||
# Executables | ||
/apps/openssl | ||
/test/sha256t | ||
/test/sha512t | ||
/test/*test | ||
/test/fips_aesavs | ||
/test/fips_desmovs | ||
/test/fips_dhvs | ||
/test/fips_drbgvs | ||
/test/fips_dssvs | ||
/test/fips_ecdhvs | ||
/test/fips_ecdsavs | ||
/test/fips_rngvs | ||
/test/fips_test_suite | ||
*.so* | ||
*.dylib* | ||
*.dll* | ||
# Exceptions | ||
!/test/bctest | ||
!/crypto/des/times/486-50.sol | ||
|
||
# Misc auto generated files | ||
/tools/c_rehash | ||
/test/evptests.txt | ||
lib | ||
Makefile.save | ||
*.bak | ||
tags | ||
TAGS | ||
|
||
# Windows | ||
/tmp32 | ||
/tmp32.dbg | ||
/tmp32dll | ||
/tmp32dll.dbg | ||
/out32 | ||
/out32.dbg | ||
/out32dll | ||
/out32dll.dbg | ||
/inc32 | ||
/MINFO | ||
ms/bcb.mak | ||
ms/libeay32.def | ||
ms/nt.mak | ||
ms/ntdll.mak | ||
ms/ssleay32.def | ||
ms/version32.rc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
# Enable to be able to use ALOG* with #include "cutils/log.h" | ||
#log_c_includes += system/core/include | ||
#log_shared_libraries := liblog | ||
|
||
# These makefiles are here instead of being Android.mk files in the | ||
# respective crypto, ssl, and apps directories so | ||
# that import_openssl.sh import won't remove them. | ||
include $(LOCAL_PATH)/build-config-64.mk | ||
include $(LOCAL_PATH)/build-config-32.mk | ||
include $(LOCAL_PATH)/Crypto.mk | ||
include $(LOCAL_PATH)/Ssl.mk | ||
include $(LOCAL_PATH)/Apps.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# Auto-generated - DO NOT EDIT! | ||
# To regenerate, edit openssl.config, then run: | ||
# ./import_openssl.sh import /path/to/openssl-1.0.2j.tar.gz | ||
# | ||
# This script will append to the following variables: | ||
# | ||
# LOCAL_CFLAGS | ||
# LOCAL_C_INCLUDES | ||
# LOCAL_SRC_FILES_$(TARGET_ARCH) | ||
# LOCAL_SRC_FILES_$(TARGET_2ND_ARCH) | ||
# LOCAL_CFLAGS_$(TARGET_ARCH) | ||
# LOCAL_CFLAGS_$(TARGET_2ND_ARCH) | ||
# LOCAL_ADDITIONAL_DEPENDENCIES | ||
|
||
|
||
LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Apps-config-host.mk | ||
|
||
common_cflags := \ | ||
-DMONOLITH \ | ||
|
||
common_src_files := \ | ||
apps/app_rand.c \ | ||
apps/apps.c \ | ||
apps/asn1pars.c \ | ||
apps/ca.c \ | ||
apps/ciphers.c \ | ||
apps/cms.c \ | ||
apps/crl.c \ | ||
apps/crl2p7.c \ | ||
apps/dgst.c \ | ||
apps/dh.c \ | ||
apps/dhparam.c \ | ||
apps/dsa.c \ | ||
apps/dsaparam.c \ | ||
apps/ec.c \ | ||
apps/ecparam.c \ | ||
apps/enc.c \ | ||
apps/engine.c \ | ||
apps/errstr.c \ | ||
apps/gendh.c \ | ||
apps/gendsa.c \ | ||
apps/genpkey.c \ | ||
apps/genrsa.c \ | ||
apps/nseq.c \ | ||
apps/ocsp.c \ | ||
apps/openssl.c \ | ||
apps/passwd.c \ | ||
apps/pkcs12.c \ | ||
apps/pkcs7.c \ | ||
apps/pkcs8.c \ | ||
apps/pkey.c \ | ||
apps/pkeyparam.c \ | ||
apps/pkeyutl.c \ | ||
apps/prime.c \ | ||
apps/rand.c \ | ||
apps/req.c \ | ||
apps/rsa.c \ | ||
apps/rsautl.c \ | ||
apps/s_cb.c \ | ||
apps/s_client.c \ | ||
apps/s_server.c \ | ||
apps/s_socket.c \ | ||
apps/s_time.c \ | ||
apps/sess_id.c \ | ||
apps/smime.c \ | ||
apps/speed.c \ | ||
apps/spkac.c \ | ||
apps/srp.c \ | ||
apps/verify.c \ | ||
apps/version.c \ | ||
apps/x509.c \ | ||
|
||
common_c_includes := \ | ||
vendor/intel/external/openssl/. \ | ||
vendor/intel/external/openssl/include \ | ||
|
||
x86_cflags := | ||
|
||
x86_src_files := | ||
|
||
x86_exclude_files := | ||
|
||
x86_64_cflags := | ||
|
||
x86_64_src_files := | ||
|
||
x86_64_exclude_files := | ||
|
||
|
||
LOCAL_CFLAGS += $(common_cflags) | ||
LOCAL_C_INCLUDES += $(common_c_includes) $(local_c_includes) | ||
|
||
|
||
ifneq (,$(findstring cht,$(TARGET_PRODUCT))) | ||
LOCAL_CFLAGS_linux_x86 += $(x86_cflags) | ||
else | ||
LOCAL_CFLAGS_x86 += $(x86_cflags) | ||
endif | ||
LOCAL_SRC_FILES_linux_x86 += $(filter-out $(x86_exclude_files), $(common_src_files) $(x86_src_files)) | ||
ifneq (,$(findstring cht,$(TARGET_PRODUCT))) | ||
LOCAL_CFLAGS_linux_x86_64 += $(x86_64_cflags) | ||
else | ||
LOCAL_CFLAGS_x86_64 += $(x86_64_cflags) | ||
endif | ||
LOCAL_SRC_FILES_linux_x86_64 += $(filter-out $(x86_64_exclude_files), $(common_src_files) $(x86_64_src_files)) | ||
LOCAL_SRC_FILES_windows += $(common_src_files) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Auto-generated - DO NOT EDIT! | ||
# To regenerate, edit openssl.config, then run: | ||
# ./import_openssl.sh import /path/to/openssl-1.0.2j.tar.gz | ||
# | ||
# This script will append to the following variables: | ||
# | ||
# LOCAL_CFLAGS | ||
# LOCAL_C_INCLUDES | ||
# LOCAL_SRC_FILES_$(TARGET_ARCH) | ||
# LOCAL_SRC_FILES_$(TARGET_2ND_ARCH) | ||
# LOCAL_CFLAGS_$(TARGET_ARCH) | ||
# LOCAL_CFLAGS_$(TARGET_2ND_ARCH) | ||
# LOCAL_ADDITIONAL_DEPENDENCIES | ||
|
||
|
||
LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Apps-config-target.mk | ||
|
||
common_cflags := \ | ||
-DMONOLITH \ | ||
|
||
common_src_files := \ | ||
apps/app_rand.c \ | ||
apps/apps.c \ | ||
apps/asn1pars.c \ | ||
apps/ca.c \ | ||
apps/ciphers.c \ | ||
apps/cms.c \ | ||
apps/crl.c \ | ||
apps/crl2p7.c \ | ||
apps/dgst.c \ | ||
apps/dh.c \ | ||
apps/dhparam.c \ | ||
apps/dsa.c \ | ||
apps/dsaparam.c \ | ||
apps/ec.c \ | ||
apps/ecparam.c \ | ||
apps/enc.c \ | ||
apps/engine.c \ | ||
apps/errstr.c \ | ||
apps/gendh.c \ | ||
apps/gendsa.c \ | ||
apps/genpkey.c \ | ||
apps/genrsa.c \ | ||
apps/nseq.c \ | ||
apps/ocsp.c \ | ||
apps/openssl.c \ | ||
apps/passwd.c \ | ||
apps/pkcs12.c \ | ||
apps/pkcs7.c \ | ||
apps/pkcs8.c \ | ||
apps/pkey.c \ | ||
apps/pkeyparam.c \ | ||
apps/pkeyutl.c \ | ||
apps/prime.c \ | ||
apps/rand.c \ | ||
apps/req.c \ | ||
apps/rsa.c \ | ||
apps/rsautl.c \ | ||
apps/s_cb.c \ | ||
apps/s_client.c \ | ||
apps/s_server.c \ | ||
apps/s_socket.c \ | ||
apps/s_time.c \ | ||
apps/sess_id.c \ | ||
apps/smime.c \ | ||
apps/speed.c \ | ||
apps/spkac.c \ | ||
apps/srp.c \ | ||
apps/verify.c \ | ||
apps/version.c \ | ||
apps/x509.c \ | ||
|
||
common_c_includes := \ | ||
vendor/intel/external/openssl/. \ | ||
vendor/intel/external/openssl/include \ | ||
|
||
x86_cflags := | ||
|
||
x86_src_files := | ||
|
||
x86_exclude_files := | ||
|
||
x86_64_cflags := | ||
|
||
x86_64_src_files := | ||
|
||
x86_64_exclude_files := | ||
|
||
|
||
LOCAL_CFLAGS += $(common_cflags) | ||
LOCAL_C_INCLUDES += $(common_c_includes) | ||
|
||
LOCAL_SRC_FILES_x86 += $(filter-out $(x86_exclude_files),$(common_src_files) $(x86_src_files)) | ||
LOCAL_CFLAGS_x86 += $(x86_cflags) | ||
|
||
LOCAL_SRC_FILES_x86_64 += $(filter-out $(x86_64_exclude_files),$(common_src_files) $(x86_64_src_files)) | ||
LOCAL_CFLAGS_x86_64 += $(x86_64_cflags) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2006 The Android Open Source Project | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_IS_HOST_MODULE := true | ||
LOCAL_MODULE := openssl | ||
LOCAL_MODULE_HOST_OS := linux windows | ||
|
||
LOCAL_LDLIBS_windows += -lws2_32 -lgdi32 | ||
|
||
LOCAL_LDLIBS_linux += -lrt -ldl -lpthread | ||
LOCAL_CXX_STL_linux := libc++_static | ||
|
||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_STATIC_LIBRARIES := libssl-static2 libcrypto_static2 | ||
include $(LOCAL_PATH)/Apps-config-host.mk | ||
include $(LOCAL_PATH)/android-config.mk | ||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/android-config.mk $(LOCAL_PATH)/Apps.mk | ||
include $(BUILD_HOST_EXECUTABLE) |
Oops, something went wrong.