summaryrefslogtreecommitdiff
path: root/Android.mk
AgeCommit message (Collapse)Author
2017-01-19Use BUILD_HOST_STATIC_DALVIK_JAVA_LIBRARY for bouncycastle-*-hostdexColin Cross
BUILD_HOST_STATIC_DALVIK_JAVA_LIBRARY must be used for libraries that will be linked with LOCAL_STATIC_JAVA_LIBRARIES. Test: m -j java Change-Id: I565315655d2c6d5504a1901dd4fbe6c209130c34
2016-04-04Fix bouncycastle-ocsp build breakage.Przemyslaw Szczepaniak
Same as in previous change, remove ext from target dependencies. Bug: 27812109 Change-Id: Icf0cbba58a016a14fc21cd46f1693f96962e245a
2016-04-04Fix bouncycastle-bcpkix build breakage.Przemyslaw Szczepaniak
Bug: 27812109 Change-Id: I80121e6a685fe9be8f68492ccbfd1864a317874b
2016-03-11Remove workaround Jack bug on package renamingYohann Roussel
The bug was preventing correct package renaming when classpath was incomplete, this is now fixed so cleaning. Bug: 27491842 Change-Id: I4f2571c1d3967bdfd3d3f26b1fee4623d98c5fe3
2016-03-04Add OCSP files for testing purposesKenny Root
Testing OCSP support needs some ASN.1 creation utilities. Bouncycastle has them, but we don't want to bloat up the built-in libraries. Add some new targets that will allow us to enable OCSP testing in the core-tests module without spreading it elsewhere. Change-Id: I4a75fc0d5186c70a764baa751ceab75d1a44539d
2016-02-22Force bouncycastle to continue to use v51 (1.7) .class filesNeil Fuller
The default is changing to v52 (1.8). The build for this package uses jarjar to repackage .class files. The version of jarjar in the Android tree does not currently support v52 .class files. Bug: 26753820 (cherry picked from commit 6ed4776c09a8c5d0f57b8fc2a3d712e109166b77) Change-Id: I03bcde063401547de7b9fb9db2e806ee25599bfb
2015-12-22Add core-oj to the list of dependenciesPrzemyslaw Szczepaniak
(cherry picked from commit 347d030de61d71fb6988d82ad72c0777531331f6) Change-Id: I1b6591678abe5963d24be8e4a620c27ba76a16a7
2015-03-30Remove -encoding UTF-8, it is now the defaultColin Cross
Change-Id: I29b98f58280168eb4469c223fd12a4314cd6f852
2015-01-06Build bouncycastle-hostdex only on linux hosts.Narayan Kamath
conscrypt is only buildable on linux and is a dependency. Change-Id: If383eeab3c6dab95772c9a0fc46da9eabed3cd68
2014-07-09Adding unbundled build target for bouncycastleJerome Poichet
(cherry picked from commit 81870f19b44030096dd613379a152c4406c65cb3) Change-Id: I2a974bb050fb50b94045d1aa39da8ebd8c0ccd52
2014-06-18Switch from core to core-libartBrian Carlstrom
Bug: 14298175 Change-Id: I6003d2a3f9c5e254632e8a67bfee0c11ea0348f3
2014-06-08Remove deprecated WITH_HOST_DALVIK.Ian Rogers
Bug: 13751317 Change-Id: Ie3b57c7f592cfdd478bdee0f1f6c0ea76d3ee418
2013-11-25Remove uses of LOCAL_BUILD_HOST_DEX.Narayan Kamath
(cherry picked from commit f4525824ed6e893500925b70f415a192a95f49da) Change-Id: Icb98590851e2a4571c8f4a037b08507eee961b21
2013-10-18Do not build bouncycastle-hostdex for PDKKenny Root
Conscrypt is not in the PDK build, so don't build modules that depend on it. Change-Id: Iaf950650e937eb12578295af1ec876c05923d753
2013-10-18Do not build target libraries for PDKKenny Root
Change-Id: I0f9707d48cf19ffd8d0fbe9543cd5648ad333cf7
2013-06-03Allow CipherTest to run on RIBrian Carlstrom
(cherry picked from commit ee1cdde4bcea1635a6af99c2ada1e155cf1b7a3b) Change-Id: Idc2bbd24722f6f2ca046f8dff197c63cf9dfa03b
2013-04-30Track change to JSSEKenny Root
Change-Id: If07ed8c6af6b55738f7df39e7d5f22292500e07f
2013-04-29Track change to JSSE providerKenny Root
Change-Id: Iaef3e3f325e43736fa19c701f6609e5ffd1535fa
2013-04-03Make bouncycastle-nojarjar static to keep it off the deviceBrian Carlstrom
Change-Id: I02c3b467e16c10a2259ba75932291029a1804579
2013-04-03Add bouncycastle-nojarjar for building okhttp-testsBrian Carlstrom
Change-Id: Id8cfb06440d6d39e7374aa73d8b5b8991d4d45d5
2012-12-04Simplify makefile.Elliott Hughes
Change-Id: I2c308a5d5e07830829b3e73488353f866e12326c
2012-09-19Make existing bouncycastle bcprov build on host and add host-only bcpkix buildBrian Carlstrom
- Move existing provider source to bcprov - Added bcpkix host build to support built/tooks/signapk sha1sum of sources: - 10bfea344842fe8e065c80e399c93f8651dc87d8 bcprov-jdk15on-147.tar.gz - 913828c7ae36e030508e97e07b3c213fb1db1e9c bcpkix-jdk15on-147.tar.gz Bug: 7056297 Change-Id: Id4f957f300a39aa34b4c3c679b2312631d3f1639
2011-01-24jarjar org.bouncycastle to com.android.org.bouncycastleBrian Carlstrom
Repackaging org.bouncycastle.* into the private namespace com.android.org.bouncycastle.* to avoid collisions with applications bundling their own version of BouncyCastle. Bug: 3086427 Change-Id: If3b02f9e9a3e2c9bf220a420de17d61932feb165
2010-09-16Add optional tags to bouncycastle modules.Jesse Wilson
Change-Id: Ic7ae563593d827da6c2f92effe92a5ee4787b93a
2010-09-14make new module optionalJean-Baptiste Queru
Change-Id: Ibfc53be9b453db9dbde222e1aa1a431af06f95f0
2010-09-13Make bouncycastle available to the host build.Jesse Wilson
Change-Id: Iaeac6c7642b0ab5cb337bd1a65fbfdc8a3cb564f
2010-06-25Remove libcore's dependency on bouncycastleBrian Carlstrom
external/bouncycastle - Change to be the primary build for bouncycastle sources (as opposed to part of libcore) - Moved OpenSSLMessageDigest from libcore to OpenSSLDigest It uses NativeCrypto API from core, but implements a bouncycastle specific interface - restored registration of bouncycastle MessageDigests for SHA-1, SHA-256, MD5 OpenSSLProvider versions take precedence, but explicit provider of "BC" allows choice - enabled native versions of SHA-384 and SHA-512 - pruned MD4 implementation frameworks/base - frameworks and CoreTests modules now depend on bouncycastle - update preloades classes for NativeBN package change - moved CryptoTest to libcore libcore - core now builds without bouncycastle sources - core-tests, core-tests-support, core-tests-supportlib now depend on bouncycastle - removed libcore/openssl directory, moving NativeBN to java/math - minor cleanup of Provider, Security, Services style while working on ProviderTest - added new OpenSSLProvider registered as first provider to have priority over the others to ensure our native implementations are used - moved BouncyCastle to have priority as a provider over Harmony - JarVerifier and JarUtils now implicitly use OpenSSLMessageDigest - Cleanedup OpenSSLSignature, implementation needs to be finished to move to OpenSSLProvider - To avoid using PEMWriter from BouncyCastle, NativeCrypto now takes binary encoded certs and keys This is more efficient as well avoiding the base64 decode/encode of the binary data - removed SHA-224 to match the RI packages/apps/CertInstaller - CertificateInstaller module now depends on bouncycastle this is the only app to depend on bouncycastle system/core - updated BOOTCLASSPATH Change-Id: I42ac63a1669b03d0243f9714c89312227e48241d
2010-06-21Upgrade bouncycastle from 1.34 to 1.45Brian Carlstrom
This maintains the same set of provided algorithms as tested with libcore's javax.security.PreparerTest. A further checkin will try to bring the supported list in line with the RI. Details: Upgraded to JDK 1.6 version of 1.45 release bouncycastle.version First pass of triming unneeded files bouncycastle.config Compile with UTF-8 to avoid warnings Android.mk The updated patch patches/android.patch The rest of the files are generated from the release tar ball and the patch ./import_bouncycastle.sh import .../bcprov-jdk16-145.tar.gz src/main/java/... Change-Id: I1df5ad8a7161ec578415ae23f01c3b550e381927
2010-06-18Enable UTF-8 in libcore bouncycastle sourceBrian Carlstrom
Bouncy Castle has UTF-8 javadoc upstream and we don't want to change that but we don't want the warnings either. Change-Id: I439a5a0b75507d5969fa7ab5dc9719ba53b25c9b
2010-06-17Add phony target to run proguard on bouncycastle to find dead codeBrian Carlstrom
Change-Id: Ie1e8c973d302b112709de8ec4b3d3e42da48b461