Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
7b476c4
Upgrade to openssl-1.0.0f
bdcgoogle Jan 4, 2012
7d3d122
Upgrade to openssl-1.0.0g
bdcgoogle Jan 19, 2012
c642ac3
Add engines back to build
kruton Feb 8, 2012
48ab0d9
Add cleanspec for engine change
kruton Feb 16, 2012
21c8414
Upgrade to openssl-1.0.0h
bdcgoogle Mar 12, 2012
7f1d634
am db166823: Merge "From 67b1ae72527c9e173ace98e805e8b9c090455873 Mon…
bdcgoogle Mar 15, 2012
392aa7c
openssl-1.0.1 upgrade
bdcgoogle Mar 15, 2012
ed2ff7a
use client version when deciding whether to send supported signature …
bdcgoogle Mar 28, 2012
26674ba
Enable additional asm on arm
bdcgoogle Mar 31, 2012
243c891
Fix integer overflow in ASN.1 parsing functions.
bdcgoogle Apr 2, 2012
8dc607f
Move OpenSSL makefiles to one directory to avoid future patching issues
bdcgoogle Apr 8, 2012
a1a5710
openssl-1.0.1a upgrade
bdcgoogle Apr 19, 2012
f42d491
openssl-1.0.1b upgrade
bdcgoogle Apr 28, 2012
eb16853
openssl-1.0.1c upgrade
bdcgoogle May 10, 2012
f351c4b
Remove obsolete ThirdPartyProject.prop file.
enh-google May 15, 2012
9b4b062
Use OPENSSL_NO_HEARTBEATS for better wpa_supplicant interoperability
bdcgoogle Jul 26, 2012
d7ca72a
am 9b4b0620: Use OPENSSL_NO_HEARTBEATS for better wpa_supplicant inte…
bdcgoogle Jul 26, 2012
452bb43
Use OPENSSL_NO_HEARTBEATS for better wpa_supplicant interoperability
bdcgoogle Jul 26, 2012
2a9ba31
Merge "Use OPENSSL_NO_HEARTBEATS for better wpa_supplicant interopera…
bdcgoogle Jul 26, 2012
996ad4b
am 2a9ba314: Merge "Use OPENSSL_NO_HEARTBEATS for better wpa_supplica…
bdcgoogle Jul 26, 2012
bf98e5e
am 996ad4b5: am 2a9ba314: Merge "Use OPENSSL_NO_HEARTBEATS for better…
bdcgoogle Jul 26, 2012
be678ad
Initial empty repository
chadj-at-google Jul 30, 2012
9ab4e07
No-op - skip bad commit
Jul 31, 2012
df87d4a
Retire LOCAL_NDK_VERSION.
Aug 14, 2012
8c93392
Retire LOCAL_NDK_VERSION.
Aug 14, 2012
18536be
am 8c933926: Retire LOCAL_NDK_VERSION.
Aug 14, 2012
2178392
[MIPS] Append private_ to AES_set_encrypt_key and AES_set_decrypt_key…
chrisdearman Aug 1, 2012
bb86948
Merge "[MIPS] Append private_ to AES_set_encrypt_key and AES_set_decr…
bdcgoogle Aug 16, 2012
1234736
am bb869488: Merge "[MIPS] Append private_ to AES_set_encrypt_key and…
bdcgoogle Aug 16, 2012
3e3ee21
am 12347361: am bb869488: Merge "[MIPS] Append private_ to AES_set_en…
bdcgoogle Aug 16, 2012
d0e05f2
am 3e3ee21f: am 12347361: am bb869488: Merge "[MIPS] Append private_ …
bdcgoogle Aug 16, 2012
b4f245f
Fix OpenSSL build for the Windows SDK
benoitgoby Aug 21, 2012
d7c737f
am b4f245f7: Fix OpenSSL build for the Windows SDK
benoitgoby Aug 22, 2012
96a090c
Fix OpenSSL build for the Windows SDK
benoitgoby Aug 21, 2012
1607b53
Merge "Fix OpenSSL build for the Windows SDK"
bdcgoogle Aug 22, 2012
3581857
am 1607b532: Merge "Fix OpenSSL build for the Windows SDK"
bdcgoogle Aug 22, 2012
68bc28d
am 35818570: am 1607b532: Merge "Fix OpenSSL build for the Windows SDK"
bdcgoogle Aug 23, 2012
2e747bb
am 68bc28de: am 35818570: am 1607b532: Merge "Fix OpenSSL build for t…
bdcgoogle Aug 23, 2012
4027893
Disable SSL compression
bdcgoogle Aug 29, 2012
fef450d
Merge "Disable SSL compression"
bdcgoogle Aug 30, 2012
eb39b60
am fef450d3: Merge "Disable SSL compression"
bdcgoogle Aug 30, 2012
05b4e2d
am eb39b600: am fef450d3: Merge "Disable SSL compression"
bdcgoogle Aug 30, 2012
1f2ab38
am 05b4e2d3: am eb39b600: am fef450d3: Merge "Disable SSL compression"
bdcgoogle Aug 30, 2012
c58cd0f
Enable openssl crypto optimizations for x86 platform
Sep 12, 2012
591d8da
Merge "Enable openssl crypto optimizations for x86 platform"
bdcgoogle Sep 12, 2012
945555b
am 591d8daf: Merge "Enable openssl crypto optimizations for x86 platf…
bdcgoogle Sep 12, 2012
1380211
am 945555bc: am 591d8daf: Merge "Enable openssl crypto optimizations …
bdcgoogle Sep 12, 2012
1d3c00a
Disable x86 assembly on darwin
bdcgoogle Sep 12, 2012
b73232f
Merge "Disable x86 assembly on darwin"
bdcgoogle Sep 12, 2012
13e2fdf
am b73232f0: Merge "Disable x86 assembly on darwin"
bdcgoogle Sep 12, 2012
0673126
am 13e2fdfa: am b73232f0: Merge "Disable x86 assembly on darwin"
bdcgoogle Sep 12, 2012
fd02836
am 13802114: am 945555bc: am 591d8daf: Merge "Enable openssl crypto o…
bdcgoogle Sep 13, 2012
a3c9dad
Disable x86 assembly on darwin
bdcgoogle Sep 12, 2012
e599a62
am 06731268: am 13e2fdfa: am b73232f0: Merge "Disable x86 assembly on…
bdcgoogle Sep 13, 2012
ba352ab
Remove references to obsolete ThirdPartyProject.prop
bdcgoogle Sep 19, 2012
b4d9782
am ba352abc: Remove references to obsolete ThirdPartyProject.prop
bdcgoogle Sep 20, 2012
9838b9f
Rename assembly files with .S extensions.
digit-android Oct 5, 2012
02675aa
Merge "Rename assembly files with .S extensions."
bdcgoogle Oct 5, 2012
5cbf3d1
am 02675aaa: Merge "Rename assembly files with .S extensions."
bdcgoogle Oct 5, 2012
34d5a28
am 5cbf3d15: am 02675aaa: Merge "Rename assembly files with .S extens…
bdcgoogle Oct 5, 2012
3ba5b52
am 34d5a285: am 5cbf3d15: am 02675aaa: Merge "Rename assembly files w…
bdcgoogle Oct 5, 2012
2c4d015
x86: Fix DT_TEXTREL in assembly code
Nov 5, 2012
13783d9
Merge "x86: Fix DT_TEXTREL in assembly code"
bdcgoogle Nov 6, 2012
ec5aff0
am 13783d99: Merge "x86: Fix DT_TEXTREL in assembly code"
bdcgoogle Nov 6, 2012
eb122dc
am ec5aff0c: am 13783d99: Merge "x86: Fix DT_TEXTREL in assembly code"
bdcgoogle Nov 6, 2012
280230f
Use NDK libraries for x86 and MIPS build.
Nov 13, 2012
b86413f
Use NDK libraries for x86 and MIPS build.
Nov 13, 2012
cb1a4ed
Merge "Use NDK libraries for x86 and MIPS build."
bdcgoogle Nov 14, 2012
da71810
am cb1a4ed6: Merge "Use NDK libraries for x86 and MIPS build."
bdcgoogle Nov 14, 2012
19d5d6f
Add x86 cpuid assembly file.
digit-android Dec 10, 2012
2077779
Add x86_64 assembly files.
digit-android Dec 10, 2012
6eda41c
Merge "Add x86 cpuid assembly file."
digit-android Dec 11, 2012
3f1584c
Merge "Add x86_64 assembly files."
digit-android Dec 11, 2012
4db1b14
am 6eda41c2: Merge "Add x86 cpuid assembly file."
digit-android Dec 11, 2012
955e062
am 3f1584c1: Merge "Add x86_64 assembly files."
digit-android Dec 11, 2012
eb9b8f9
Only honor LOCAL_SDK_VERSION when building apps.
nickkral Dec 13, 2012
e001f05
Only honor LOCAL_SDK_VERSION when building apps.
nickkral Dec 13, 2012
d37ef78
Merge "Only honor LOCAL_SDK_VERSION when building apps."
bdcgoogle Dec 14, 2012
bec8e8c
am d37ef780: Merge "Only honor LOCAL_SDK_VERSION when building apps."
bdcgoogle Dec 15, 2012
45bcfbc
Add support for the TLS Channel ID extension.
Jan 16, 2013
3bcb2bf
Merge "Add support for the TLS Channel ID extension."
bdcgoogle Jan 16, 2013
cf20a2a
am 3bcb2bf1: Merge "Add support for the TLS Channel ID extension."
bdcgoogle Jan 17, 2013
f04b7b0
Remove small_records.patch in favor of SSL_MODE_RELEASE_BUFFERS
bdcgoogle Jan 16, 2013
410afec
Merge "Remove small_records.patch in favor of SSL_MODE_RELEASE_BUFFERS"
bdcgoogle Jan 17, 2013
c762d21
am 410afec1: Merge "Remove small_records.patch in favor of SSL_MODE_R…
bdcgoogle Jan 17, 2013
a8e686a
constant time patches
bdcgoogle Jan 17, 2013
153b100
Fix x86_64 assembly file generation.
digit-android Jan 23, 2013
f59fa74
Add patches/clang.patch to fix two minor Clang compiler errors.
digit-android Jan 23, 2013
0a1f3fb
Merge "Fix x86_64 assembly file generation."
digit-android Jan 23, 2013
00f8e46
am 0a1f3fb1: Merge "Fix x86_64 assembly file generation."
digit-android Jan 23, 2013
2c88fd9
Merge "Add patches/clang.patch to fix two minor Clang compiler errors."
digit-android Jan 24, 2013
f6e8065
Fix recursive lock in X509_PUBKEY_get
digit-android Jan 24, 2013
ff50d23
resolved conflicts for merge of 2c88fd9c to master
digit-android Jan 25, 2013
85dbb37
Add another missing x86_64 assembly file generation step.
digit-android Jan 24, 2013
de2ed6e
Merge "Fix recursive lock in X509_PUBKEY_get"
digit-android Jan 30, 2013
bc8442f
am de2ed6ef: Merge "Fix recursive lock in X509_PUBKEY_get"
digit-android Jan 30, 2013
43c07da
Merge "Add another missing x86_64 assembly file generation step."
digit-android Feb 1, 2013
bb27a73
am 43c07da4: Merge "Add another missing x86_64 assembly file generati…
digit-android Feb 1, 2013
2c082d2
Make CBC decoding constant time
bdcgoogle Feb 2, 2013
7fe2109
Remove stray ssl/Makefile
bdcgoogle Feb 2, 2013
4b0baa1
Merge "Remove stray ssl/Makefile"
bdcgoogle Feb 2, 2013
fa75fdb
CVE-2013-0169: Make CBC decoding constant time
bdcgoogle Feb 2, 2013
3ccf38e
Merge "CVE-2013-0169: Make CBC decoding constant time"
bdcgoogle Feb 4, 2013
b15240d
resolved conflicts for merge of 4b0baa1e to master
bdcgoogle Feb 4, 2013
bfca550
am 4b0baa1e: Merge "Remove stray ssl/Makefile"
bdcgoogle Feb 5, 2013
dc9bb69
resolved conflicts for merge of 3ccf38e0 to master
bdcgoogle Feb 5, 2013
04ef91b
openssl-1.0.1d upgrade
bdcgoogle Feb 5, 2013
d1bb51b
Merge "openssl-1.0.1d upgrade"
bdcgoogle Feb 5, 2013
2dfaa41
resolved conflicts for merge of d1bb51b6 to master
bdcgoogle Feb 5, 2013
d38060a
Fix failures when eng_dyn scans multiple directories
kruton Feb 8, 2013
d8b571b
Merge "Fix failures when eng_dyn scans multiple directories"
kruton Feb 8, 2013
6c66304
am d8b571b2: Merge "Fix failures when eng_dyn scans multiple director…
kruton Feb 8, 2013
eefface
openssl-1.0.1e upgrade
bdcgoogle Feb 11, 2013
b592e08
Merge "openssl-1.0.1e upgrade"
bdcgoogle Feb 11, 2013
33369d8
am b592e085: Merge "openssl-1.0.1e upgrade"
bdcgoogle Feb 11, 2013
76ab38e
Add missing patch file to openssl.config
digit-android Feb 19, 2013
1762a55
Convert ISO-8859-1 files to UTF-8.
digit-android Feb 19, 2013
fb21955
Merge "Add missing patch file to openssl.config"
digit-android Feb 19, 2013
3b70ce8
Merge "Convert ISO-8859-1 files to UTF-8."
digit-android Feb 19, 2013
1ea4cf4
am fb219556: Merge "Add missing patch file to openssl.config"
digit-android Feb 19, 2013
463ad56
am 3b70ce86: Merge "Convert ISO-8859-1 files to UTF-8."
digit-android Feb 19, 2013
9fbf99a
Auto-generate configuration flags.
digit-android Feb 19, 2013
03e9262
Merge "Auto-generate configuration flags."
digit-android Mar 5, 2013
ff764e7
am 03e9262c: Merge "Auto-generate configuration flags."
digit-android Mar 5, 2013
365d7e8
Fix Clang build.
digit-android Mar 5, 2013
2b80108
Merge "Fix Clang build."
digit-android Mar 5, 2013
64629ad
am 2b801087: Merge "Fix Clang build."
digit-android Mar 5, 2013
063cfe1
Move more build configuration to openssl.config
digit-android Feb 19, 2013
c1b05eb
Merge "Move more build configuration to openssl.config"
digit-android Mar 12, 2013
4d2199e
am c1b05eb5: Merge "Move more build configuration to openssl.config"
digit-android Mar 12, 2013
32e8f93
Give unique name to host build shared libraries
bdcgoogle May 2, 2013
7f01ddc
Merge "Give unique name to host build shared libraries"
bdcgoogle May 2, 2013
271d3cf
Give unique name to host build shared libraries
bdcgoogle May 2, 2013
4398d0c
am 7f01ddce: Merge "Give unique name to host build shared libraries"
bdcgoogle May 2, 2013
9d6b691
Switch compiler to clang
kruton Feb 9, 2013
1cd0407
Merge "Switch compiler to clang"
kruton Jun 10, 2013
5022aa4
am 1cd04072: Merge "Switch compiler to clang"
kruton Jun 10, 2013
f264be4
Remove clang as compiler for static versions
kruton Jun 10, 2013
4768d15
Merge "Remove clang as compiler for static versions"
kruton Jun 10, 2013
0306b80
am 4768d150: Merge "Remove clang as compiler for static versions"
kruton Jun 10, 2013
fcd45de
Don't use clang for unbundled build target
kruton Jun 10, 2013
a417d05
Merge "Don't use clang for unbundled build target"
kruton Jun 11, 2013
d117568
am a417d05a: Merge "Don\'t use clang for unbundled build target"
kruton Jun 11, 2013
9296b4b
Add TLS 1.2 digests patch
kruton Jun 24, 2013
ee53ab1
Add ALPN support patch
kruton Jun 24, 2013
7b972f1
Merge changes I556b1ee8,I11b74472
kruton Jun 26, 2013
0613b7a
am 7b972f1a: Merge changes I556b1ee8,I11b74472
kruton Jun 26, 2013
9372a37
Fix typo in OPENSSL_DIR_ORIG variable name.
Jul 26, 2013
b0a80d3
Merge "Fix typo in OPENSSL_DIR_ORIG variable name."
Jul 29, 2013
7d8766c
Fix leak in setting certificate chain patch
kruton Sep 10, 2013
af3454c
Merge "Fix leak in setting certificate chain patch"
kruton Sep 10, 2013
1359ec0
update version to "1.0.1e" from https://android.googlesource.com/plat…
chenbd Sep 24, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
libs
obj
local.properties
16 changes: 10 additions & 6 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
LOCAL_PATH := $(call my-dir)

subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \
crypto \
ssl \
apps \
))
# Enable to be able to use ALOG* with #include "cutils/log.h"
#log_c_includes += system/core/include
#log_shared_libraries := liblog

include $(subdirs)
# 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.mk
include $(LOCAL_PATH)/Crypto.mk
include $(LOCAL_PATH)/Ssl.mk
include $(LOCAL_PATH)/Apps.mk
8 changes: 8 additions & 0 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.duh"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="9"/>
<application/>
</manifest>
133 changes: 133 additions & 0 deletions Apps-config.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
# Auto-generated - DO NOT EDIT!
# To regenerate, edit openssl.config, then run:
# ./import_openssl.sh import /path/to/openssl-1.0.1e.tar.gz
#
# Before including this file, the local Android.mk must define the following
# variables:
#
# local_c_flags
# local_c_includes
# local_additional_dependencies
#
# This script will define the following variables:
#
# target_c_flags
# target_c_includes
# target_src_files
#
# host_c_flags
# host_c_includes
# host_src_files
#

# Ensure these are empty.
unknown_arch_c_flags :=
unknown_arch_src_files :=
unknown_arch_exclude_files :=


common_c_flags := \
-DMONOLITH \

common_src_files := \
apps/app_rand.c \
apps/apps.c \
apps/asn1pars.c \
apps/ca.c \
apps/ciphers.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 := \
. \
include \

arm_c_flags :=

arm_src_files :=

arm_exclude_files :=

x86_c_flags :=

x86_src_files :=

x86_exclude_files :=

x86_64_c_flags :=

x86_64_src_files :=

x86_64_exclude_files :=

mips_c_flags :=

mips_src_files :=

mips_exclude_files :=

target_arch := $(TARGET_ARCH)
ifeq ($(target_arch)-$(TARGET_HAS_BIGENDIAN),mips-true)
target_arch := unknown_arch
endif

target_c_flags := $(common_c_flags) $($(target_arch)_c_flags) $(local_c_flags)
target_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes)
target_src_files := $(common_src_files) $($(target_arch)_src_files)
target_src_files := $(filter-out $($(target_arch)_exclude_files), $(target_src_files))

ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
host_arch := x86
else
host_arch := unknown_arch
endif

host_c_flags := $(common_c_flags) $($(host_arch)_c_flags) $(local_c_flags)
host_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes)
host_src_files := $(common_src_files) $($(host_arch)_src_files)
host_src_files := $(filter-out $($(host_arch)_exclude_files), $(host_src_files))

local_additional_dependencies += $(LOCAL_PATH)/Apps-config.mk

34 changes: 34 additions & 0 deletions Apps.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2006 The Android Open Source Project

LOCAL_PATH:= $(call my-dir)

local_c_includes := $(NDK_PROJECT_PATH) \
$(NDK_PROJECT_PATH)/include
local_c_flags :=

local_additional_dependencies := $(LOCAL_PATH)/android-config.mk $(LOCAL_PATH)/Apps.mk

include $(LOCAL_PATH)/Apps-config.mk

include $(CLEAR_VARS)
LOCAL_MODULE:= openssl
LOCAL_CLANG := true
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(target_src_files)
LOCAL_SHARED_LIBRARIES := libssl libcrypto
LOCAL_C_INCLUDES := $(target_c_includes)
LOCAL_CFLAGS := $(target_c_flags)
LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
include $(LOCAL_PATH)/android-config.mk
include $(BUILD_EXECUTABLE)

include $(CLEAR_VARS)
LOCAL_MODULE:= openssl
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(host_src_files)
LOCAL_SHARED_LIBRARIES := libssl-host libcrypto-host
LOCAL_C_INCLUDES := $(host_c_includes)
LOCAL_CFLAGS := $(host_c_flags)
LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
include $(LOCAL_PATH)/android-config.mk
#include $(BUILD_HOST_EXECUTABLE)
1 change: 1 addition & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libssl_interme
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libcrypto_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libssl_static_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libcrypto_static_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/*ssl*_intermediates $(PRODUCT_OUT)/obj/*/libssl_*intermediates $(PRODUCT_OUT)/obj/*/libcrypto_*intermediates)

# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
Expand Down
Loading