summaryrefslogtreecommitdiffstats
path: root/README.android
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2012-09-17 16:04:47 -0700
committerBrian Carlstrom <bdc@google.com>2012-09-19 14:26:13 -0700
commite6bf3e8dfa2804891a82075cb469b736321b4827 (patch)
tree8d78ebadb9c33191a0490537dbd50da4e6c85b49 /README.android
parent517da5b1cf8927b100e5e1d9df870854b09aa2ce (diff)
downloadandroid_external_bouncycastle-e6bf3e8dfa2804891a82075cb469b736321b4827.tar.gz
android_external_bouncycastle-e6bf3e8dfa2804891a82075cb469b736321b4827.tar.bz2
android_external_bouncycastle-e6bf3e8dfa2804891a82075cb469b736321b4827.zip
Make existing bouncycastle bcprov build on host and add host-only bcpkix build
- 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
Diffstat (limited to 'README.android')
-rw-r--r--README.android11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.android b/README.android
index 80f8ea1..ec227bb 100644
--- a/README.android
+++ b/README.android
@@ -11,20 +11,25 @@ Porting New Versions of Bouncy Castle.
The following steps are recommended for porting new Bouncy Castle versions.
1) Retrieve the appropriate version of the Bouncy Castle source from
- www.bouncycastle.org/latest_releases.html (in bcprov-jdk*-*.tar.gz
- file). Check the checksum (found at http://bouncycastle.org/checksums.html) with:
+ www.bouncycastle.org/latest_releases.html (both bcprov-jdk*-*.tar.gz
+ and bcpkix-jdk*-*.tar.gz files).
+
+ Check the checksum (found at http://bouncycastle.org/checksums.html) with:
md5sum bcprov-jdk*-*.tar.gz
sha1sum bcprov-jdk*-*.tar.gz
+ md5sum bcpkix-jdk*-*.tar.gz
+ sha1sum bcpkix-jdk*-*.tar.gz
2) Update the variables in bouncycastle.config and bouncycastle.version as appropriate.
At the very least you will need to update the bouncycastle.version.
- Similarly update ThirdPartyProject.prop.
3) Run:
./import_bouncycastle.sh import bcprov-jdk*-*.tar.gz
+ Note the script expects to find the bcpkix-jdk*-*.tar.gz alongside the bcprov file.
+
4) If there are any errors, then modify bouncycastle.config, bouncycastle.version
and patches in patches/ as appropriate. You might want to use: