Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
patches/ | 03-May-2024 | - | 13,150 | 12,781 | ||
src/main/java/org/bouncycastle/ | 03-May-2024 | - | 69,749 | 46,303 | ||
Android.mk | D | 03-May-2024 | 3.8 KiB | 81 | 59 | |
CleanSpec.mk | D | 03-May-2024 | 2.2 KiB | 50 | 0 | |
MODULE_LICENSE_BSD_LIKE | D | 03-May-2024 | 0 | |||
NOTICE | D | 03-May-2024 | 1.1 KiB | 23 | 21 | |
README.android | D | 03-May-2024 | 1.5 KiB | 52 | 31 | |
ThirdPartyProject.prop | D | 03-May-2024 | 319 | 11 | 10 | |
bouncycastle.config | D | 03-May-2024 | 21.2 KiB | 438 | 434 | |
bouncycastle.version | D | 03-May-2024 | 45 | 3 | 2 | |
import_bouncycastle.sh | D | 03-May-2024 | 6.7 KiB | 243 | 138 |
README.android
1Bouncy Castle on the Android platform. 2--- 3 4The code in this directory is based on $BOUNCYCASTLE_VERSION in the 5file bouncycastle.version. See patches/README for more information on 6how the code differs from $BOUNCYCASTLE_VERSION. 7 8Porting New Versions of Bouncy Castle. 9-- 10 11The following steps are recommended for porting new Bouncy Castle versions. 12 131) Retrieve the appropriate version of the Bouncy Castle source from 14 www.bouncycastle.org/latest_releases.html (in bcprov-jdk*-*.tar.gz 15 file). Check the checksum (found at bouncycastle.org/checksums.html) with: 16 17 md5sum bcprov-jdk*-*.tar.gz 18 sha1sum bcprov-jdk*-*.tar.gz 19 202) Update the variables in bouncycastle.config and bouncycastle.version as appropriate. 21 At the very least you will need to update the bouncycastle.version. 22 233) Run: 24 25 ./import_bouncycastle.sh import bcprov-jdk*-*.tar.gz 26 274) If there are any errors, then modify bouncycastle.config, bouncycastle.version 28 and patches in patches/ as appropriate. You might want to use: 29 30 ./import_bouncycastle.sh regenerate patches/*.patch 31 32 Repeat step 3. 33 345) Cleanup before building with: 35 36 m -j16 clean-bouncycastle 37 386) Build the bouncycastle target from the external/bouncycastle directory with: 39 40 mm -j16 snod && adb sync system 41 42 If there are build errors, then patches/*.mk or bouncycastle.config 43 may need updating. 44 457) Run tests to make sure things are working: 46 47 See external/openssl/README.android for test instructions 48 498) Do a full build before checking in: 50 51 m -j16 52