Upgrade to openssl-1.0.0f

Bug: 5822335
Change-Id: Iadf81526a10b072ff323730db0e1897faea7a13f
Upgrade to openssl-1.0.0g

Change-Id: I568ac8da185ddbaab980757c7bf902bf829ecd03
Add engines back to build

The new keystore work requires OpenSSL engines to be enabled again.

This adds back the Android.mk rules, tweaks the android-config.mk to
build engine support, and adds in some essential files that were deleted
during the subsequent merges since engine support was removed
(crypto/engine/tb_asnmth.c and crypto/engine/tb_pkmeth.c)

Change-Id: I7b8190d21f50c1dd1ed12bbd0961b6e543c18ecf
Add cleanspec for engine change

Change-Id: I4484b059c935c858d96aa9d1be28b61feccbf5c7
Upgrade to openssl-1.0.0h

Change-Id: I0bc9b6b486bf10ebae34b994b63cf6011afdf5e1
am db166823: Merge "From 67b1ae72527c9e173ace98e805e8b9c090455873 Mon Sep 17 00:00:00 2001 Subject: [MIPS] MIPS assembler pack update"

* commit 'db166823303559663b1c209e14b326160519c51c':
  From 67b1ae72527c9e173ace98e805e8b9c090455873 Mon Sep 17 00:00:00 2001 Subject: [MIPS] MIPS assembler pack update
openssl-1.0.1 upgrade

Bug: 6168278

Change-Id: I648f9172828120df5d19a14425e9ceec92647921
use client version when deciding whether to send supported signature algorithms extension

From http://cvs.openssl.org/chngview?cn=22286

Bug: 6234791
Change-Id: Icbb516f14a6cd3e2c873847e7d5aa51661b0c618
Enable additional asm on arm

Bug: 6168278
Change-Id: Icb87356462ff2219c939bfeedc6aac7f4db69af7
Fix integer overflow in ASN.1 parsing functions.

Bug: 6274291
Change-Id: Id0850ce39aebfc9018c0459ec3147e05506a646f
Move OpenSSL makefiles to one directory to avoid future patching issues

Change-Id: I39f6cfc61f484f4457bda3003e5992dfc7e20186
openssl-1.0.1a upgrade

Bug: 6366068

Change-Id: I0b6ec75b5c2a8f082b4b0fe6db2697d24f2f9b00
openssl-1.0.1b upgrade

Change-Id: I4fe854007f774cf7f386cd405a9d21e6ca94e7b6
openssl-1.0.1c upgrade

Bug: 6478397
Change-Id: If231aadbeb92eba4383adf91969361102cdfad69
Use OPENSSL_NO_HEARTBEATS for better wpa_supplicant interoperability

Bug: https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/969343/comments/70
Bug: http://rt.openssl.org/Ticket/Display.html?id=2825#txn-34312
Bug: http://code.google.com/p/android/issues/detail?id=34212
Bug: 6883259

(cherry-picked from 9b4b062050bf9a39ae49bce7b735a3c046d7452c)

Change-Id: I440deb622b51fd38d575f32bf70e9f1ce990aa71
Merge "Use OPENSSL_NO_HEARTBEATS for better wpa_supplicant interoperability"
[MIPS] Append private_ to AES_set_encrypt_key and AES_set_decrypt_key for MIPS.
Update import script to generate o32 .s files for MIPS.

Release 1.0.1 of openssl renamed the C and assembler routines for
AES_set_encrypt_key() and AES_set_decrypt_key(), but forgot to do this in the
Mips assembler version.  The following mips_private.patch fixes that
problem in the upstream source, until such time as it is fixed upstream.

The upstream version of openssl builds for a "n32" Mips abi used on SGI
workstations.  Android's import_openssl.sh script is now modified to
build for the "o32" abi used throughout Mips Android.  That change is
permanent, and will not be upstreamed.

Signed-off-by: Raghu Gandham <raghu@mips.com>

Change-Id: Iec5ce7f11a74a3674e96057f2ce97d8ba9238464
Merge "[MIPS] Append private_ to AES_set_encrypt_key and AES_set_decrypt_key for MIPS. Update import script to generate o32 .s files for MIPS."
Fix OpenSSL build for the Windows SDK

Add missing file from OpenSSL 1.0.1c and fix flags since Windows
does not have dlfcn.h.

(cherry-picked from b4f245f7519f2f8b8dd7fa0b3897220eda17a7ef)

Change-Id: I937c1effd937dfe7922d6472c7adec063103c924
Merge "Fix OpenSSL build for the Windows SDK"