• Home
  • History
  • Annotate
  • only in /external/openssl/crypto/ec/
History log of /external/openssl/crypto/ec/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c64f6fe2be99cb3fa8e491b5bede9a217de87a4c 06-Nov-2014 Kenny Root <kroot@google.com> Upgrade to 1.0.1j

Upgraded from archive:
cff86857507624f0ad42d922bb6f77c4f1c2b819 openssl-1.0.1j.tar.gz

(cherry picked from commit c642a4957fa6f518a02839abc38de4e1476cdfc6)

Bug: 18018599
Change-Id: I7db55f15e6c5670cc2ced1ffbc736b1b354be740
c.h
c2_smpl.c
c_ameth.c
c_asn1.c
c_lib.c
cp_mont.c
cp_nist.c
cp_smpl.c
ctest.c
77c6be7176c48d2ce4d5979a84876d34204eedaf 12-Jun-2014 Kenny Root <kroot@google.com> Upgrade to OpenSSL 1.0.1h

sha1sum of distribution:
b2239599c8bf8f7fc48590a55205c26abe560bf8 openssl-1.0.1h.tar.gz

Bug: 15442813
Change-Id: I9abd00afcb7efb0e80b27bf7beade3c6dc511082
c_ameth.c
c_asn1.c
c_lcl.h
7f7ea2d72f2e316ba518e82f06513e3477840c15 07-Apr-2014 Kenny Root <kroot@google.com> Update to OpenSSL 1.0.1g

Upgrade to the new OpenSSL 1.0.1g release. SHA-1 hash of file:
b28b3bcb1dc3ee7b55024c9f795be60eb3183e3c openssl-1.0.1g.tar.gz

Change-Id: Ie839cf2a4367afbd2919180ea4ce016b1c8d6668
c2_mult.c
23b9568fd705172c870175f42556ae21861da399 28-Jan-2014 Adam Langley <agl@chromium.org> Add option to harden (EC)DSA nonces against weak RNGs.

Private key information is leaked by (EC)DSA signatures when nonces
are produced by a weak RNG. This CL adds an option (disabled by
default) to mix in the private key and the hash of message into the
nonces produced by RNG for (EC)DSA signatures. This mitigates the
weakness, provided the private key was generated by strong RNG.

Change-Id: I60dbf57bff3cfcdcbbeb18be5d9dfba523cc6bb8
c.h
c_key.c
c_lcl.h
ff41a4bc41ae1e1391f9b05117623ff70b985983 07-Jan-2014 Kenny Root <kroot@google.com> Import OpenSSL 1.0.1f

Upgrade to the new OpenSSL 1.0.1f release. SHA-1 hash of file:
9ef09e97dfc9f14ac2c042f3b7e301098794fc0f openssl-1.0.1f.tar.gz

Some changes had to be made to the existing source:

Fixed the import script to work with "sh -x" for debugging problems.

Update some of the files from patches/ to work with 1.0.1f, because
1.0.1f fixes have used some of the constants that were used (0x20L was
changed to 0x80L and 0x40L was changed to 0x100L).

Delete the "Makefile.save" files that are newly present in the
OpenSSL 1.0.1f release tarball.

Change-Id: Ib0f13b91e863157da23ec1d736ff2d788897d9f1
c_ameth.c
c_asn1.c
c_lib.c
04ef91b390dfcc6125913e2f2af502d23d7a5112 05-Feb-2013 Brian Carlstrom <bdc@google.com> openssl-1.0.1d upgrade

Change-Id: Ie980c8834cf2c843858182d98d1f60c65a2a9b70
c.h
c_key.c
c_pmeth.c
cp_mont.c
ctest.c
392aa7cc7d2b122614c5393c3e357da07fd07af3 16-Mar-2012 Brian Carlstrom <bdc@google.com> openssl-1.0.1 upgrade

Bug: 6168278

Change-Id: I648f9172828120df5d19a14425e9ceec92647921
c.h
c2_mult.c
c2_oct.c
c2_smpl.c
c_ameth.c
c_asn1.c
c_curve.c
c_cvt.c
c_err.c
c_key.c
c_lcl.h
c_lib.c
c_oct.c
c_pmeth.c
ck_prn.c
cp_mont.c
cp_nist.c
cp_oct.c
cp_smpl.c
ctest.c
7b476c43f6a45574eb34697244b592e7b09f05a3 04-Jan-2012 Brian Carlstrom <bdc@google.com> Upgrade to openssl-1.0.0f

Bug: 5822335
Change-Id: Iadf81526a10b072ff323730db0e1897faea7a13f
c2_smpl.c
81c4de7869b646592127e952cda763abf8305069 08-Feb-2011 Brian Carlstrom <bdc@google.com> Upgrade to openssl-1.0.0d

Bug: 3435285
Change-Id: Ied92c240f0a3ef9b2ce9b841089c03e0b29018b8
c2_smpl.c
c_key.c
cp_smpl.c
43c12e3d4f9bbbbd4a8ba7b149686437514bc6b6 16-Nov-2010 Brian Carlstrom <bdc@google.com> Upgrade to openssl-1.0.0b

Bug: 3201137
Change-Id: I20cd6bed7717e5982abc3734e9a6522067f2908e
c2_mult.c
c_mult.c
904c5bb06deb8e0b17c3673c0ceb7d80420c16f3 14-May-2010 Brian Carlstrom <bdc@google.com> Adding SSL_set_cipher_lists and turning on elliptic curve

Summary:
- adding SSL_set_cipher_lists for JSSE support
- enabling elliptic curve for new JSSE cipher suites

Details:

Adding SSL_set_cipher_lists that allows setting of SSL ciphers (and
indirectly ciphers_by_id). This allows us to explicitly set a desired
cipher suite lists with our own ordering for JSSE support.

patches/jsse.patch

Enabling EC, ECDH, and ECDSA which are needed for RI 6 elliptic curve cipher suites.
- EC = Elliptic Curve
- ECDH = Elliptic Curve Diffie-Hellman
- ECDSA = Elliptic Curve Digital Signature Algorithm

android-config.mk
patches/apps_Android.mk
patches/crypto_Android.mk
openssl.config

Remove warning from openssl output to remove testssl warnings

patches/progs.patch
openssl.config

Misc

Update clean, build, and test instructions

README.android

Fixing whitespace inconsistency noted when updating clean target

patches/ssl_Android.mk

Generated files

Copied from patches:

apps/Android.mk
crypto/Android.mk
ssl/Android.mk

Newly imported EC files from openssl-1.0.0.tar.gz
Interestingly most of the needed files were already present, if not compiled.

crypto/ec/ec_ameth.c
crypto/ec/ec_pmeth.c
crypto/ec/eck_prn.c

SSL_set_cipher_lists

include/openssl/ssl.h
ssl/ssl.h
ssl/ssl_lib.c

Disabled warning

apps/openssl.c

Change-Id: I1d75f64b64e03f7bfb45456876b60ebbf3a09de5
c_ameth.c
c_pmeth.c
ck_prn.c
221304ee937bc0910948a8be1320cb8cc4eb6d36 15-Apr-2010 Brian Carlstrom <bdc@google.com> openssl-1.0.0 upgrade

external/openssl

Updated version to 1.0.0
openssl.version

Updated small records patch for 1.0.0. This is probably the most significant change.
patches/small_records.patch

Removed bad_version.patch since fix is included in 0.9.8n and beyond
patches/README
patches/bad_version.patch
openssl.config

Changed import_openssl.sh to generate armv4 asm with the 1.0.0
scripts, not our backported 0.9.9-dev backported version in
patches/arm-asm.patch.
import_openssl.sh
openssl.config
patches/README
patches/arm-asm.patch

Added -DOPENSSL_NO_STORE to match ./Configure output
Added -DOPENSSL_NO_WHIRLPOOL (no-whrlpool) to skip new optional cipher
android-config.mk
openssl.config

Fixed import to remove include directory during import like other
imported directories (apps, ssl, crypto)
import_openssl.sh

Updated UNNEEDED_SOURCES. Pruned Makefiles which we don't use.
openssl.config

Updated to build newly required files
patches/apps_Android.mk
patches/crypto_Android.mk

Disable some new openssl tools
patches/progs.patch

Updated upgrade testing notes to include running BigInteger tests
README.android

Automatically imported
android.testssl/
apps/
crypto/
e_os.h
e_os2.h
include/
ssl/

dalvik

Change makeCipherList to skip SSLv2 ciphers that 1.0.0 now returns
so there are not duplicate ciphersuite names in getEnabledCipherSuites.
libcore/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp

Updated OpenSSLSocketImpl_cipherauthenticationmethod for new
SSL_CIPHER algorithms -> algorithm_auth (and const-ness)
libcore/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp

Update to const SSL_CIPHER in OpenSSLSessionImpl_getCipherSuite (and cipherauthenticationmethod)
libcore/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp

test_EnabledCipherSuites on both SSLSocketTest and
SSLServerSocketTest caught the makeCipherList problem. However the
asserts where a bit out of sync and didn't give good messages
because they didn't actually show what was going on. As part of
debugging the issue they found, I tried to make align the asserts
and improve their output for the future.

libcore/x-net/src/test/java/tests/api/javax/net/ssl/SSLServerSocketTest.java
libcore/x-net/src/test/java/tests/api/javax/net/ssl/SSLSocketTest.java

vendor/google

Add const to X509V3_EXT_METHOD* for 1.0.0 compatibility
libraries/libjingle/talk/base/openssladapter.cc

Change-Id: I90fb1566dede6034eebc96d2b0dcf4533d9643bf
akefile
c.h
c2_mult.c
c2_smpl.c
c2_smpt.c
c_curve.c
c_err.c
c_lcl.h
c_lib.c
c_mult.c
cp_nist.c
ctest.c
98d58bb80c64b02a33662f0ea80351d4a1535267 09-Mar-2010 Brian Carlstrom <bdc@google.com> Summary: upgrading to openssl-0.9.8m and adding new testssl.sh

Testing Summary:
- Passed new android.testssl/testssl.sh
- General testing with BrowserActivity based program

Details:

Expanded detail in README.android about how to build and test openssl
upgrades based on my first experience.

modified: README.android

Significant rework of import_openssl.sh script that does most of
the work of the upgrade. Most of the existing code became the main
and import functions. The newly regenerate code helps regenerate
patch files, building on the fact that import now keeps and
original unmodified read-only source tree for use for patch
generation. Patch generation relies on additions to openssl.config
for defining which patches include which files. Note that
sometimes a file may be patched multiple times, in that case
manual review is still necessary to prune the patch after
auto-regeneration. Other enhancements to import_openssl.sh include
generating android.testssl and printing Makefile defines for
android-config.mk review.

modified: import_openssl.sh

Test support files for openssl/

Add support for building /system/bin/ssltest as test executible for
use by testssl script. Need confirmation that this is the right way
to define such a test binary.

modified: patches/ssl_Android.mk

Driver script that generates user and CA keys and certs on the
device with /system/bin/openssl before running testssl. Based on
openssl/test/testss for generation and openssl/test/Makefile
test_ssl for test execution.

new file: patches/testssl.sh

Note all following android.testssl files are automatically
imported from openssl, although possible with modifications by
import_openssl.sh

testssl script imported from openssl/test that does the bulk of
the testing. Includes new tests patched in for our additions.

new file: android.testssl/testssl

CA and user certificate configuration files from openssl.
Automatically imported from openssl/test/

new file: android.testssl/CAss.cnf
new file: android.testssl/Uss.cnf

certificate and key test file imported from openssl/apps

new file: android.testssl/server2.pem

Actual 0.9.8m upgrade specific bits

Trying to bring ngm's small records support into 0.9.8m. Needs
signoff by ngm although it does pass testing.

modified: patches/small_records.patch

Update openssl.config for 0.9.8m. Expanded lists of undeeded
directories and files for easier update and review, adding new
excludes. Also added new definitions to support "import_openssl.sh
regenerate" for patch updating.

modified: openssl.config

Updated OPENSSL_VERSION to 0.9.8m

modified: openssl.version

Automatically imported/patched files. Seems like it could be
further pruned in by openssl.config UNNEEDED_SOURCES, but extra
stuff doesn't end up impacting device.

modified: apps/...
modified: crypto/...
modified: include/...
modified: ssl/...

Other Android build stuff.

Note for these patches/... is source, .../Android.mk is derived.

Split LOCAL_CFLAGS additions into lines based on openssl/Makefile
source for easier comparison when upgrading. I knowingly left the
lines long and unwrapped for easy vdiff with openssl/Makefile

modified: android-config.mk

Removed local -DOPENSSL_NO_ECDH already in android-config.mk.

modified: patches/apps_Android.mk

Sync up with changes that had crept into derived crypto/Android.mk

modified: patches/crypto_Android.mk

Change-Id: I73204c56cdaccfc45d03a9c8088a6a93003d7ce6
c2_smpl.c
e45f106cb6b47af1f21efe76e933bdea2f5dd1ca 30-Sep-2009 Nagendra Modadugu <ngm@google.com> Upgrade to openssl-0.9.8k.
The source tree (and the size of the compiled library)
can be reduced further. This will be done in a future
commit.
akefile
c_key.c
656d9c7f52f88b3a3daccafa7655dec086c4756e 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
akefile
c.h
c2_mult.c
c2_smpl.c
c2_smpt.c
c_asn1.c
c_check.c
c_curve.c
c_cvt.c
c_err.c
c_key.c
c_lcl.h
c_lib.c
c_mult.c
c_print.c
cp_mont.c
cp_nist.c
cp_smpl.c
ctest.c
d2cbe6ee0fd4269543a9a243f2b0963ce6f46280 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
akefile
c.h
c2_mult.c
c2_smpl.c
c2_smpt.c
c_asn1.c
c_check.c
c_curve.c
c_cvt.c
c_err.c
c_key.c
c_lcl.h
c_lib.c
c_mult.c
c_print.c
cp_mont.c
cp_nist.c
cp_smpl.c
ctest.c
bdfb8ad83da0647e9b9a32792598e8ce7ba3ef4d 12-Jan-1970 Upstream <upstream-import@none> external/openssl 0.9.8h
akefile
c.h
c2_mult.c
c2_smpl.c
c2_smpt.c
c_asn1.c
c_check.c
c_curve.c
c_cvt.c
c_err.c
c_key.c
c_lcl.h
c_lib.c
c_mult.c
c_print.c
cp_mont.c
cp_nist.c
cp_smpl.c
ctest.c