summaryrefslogtreecommitdiff
path: root/repackaged/bcprov/src/main/java/com
AgeCommit message (Collapse)Author
2019-05-09Upstream partner request to add BC methods to core platform API.android-mainline-10.0.0_r9android-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r10android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12android10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-mainline-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releasePete Bentley
This change adds methods and a field inadvertently missed in http://r.android.com/954559 and http://ag/7277168 Bug: 129665886 Bug: 129440746 Test: m && flashall Change-Id: Ia31cb34b09a6759da739b821deba7f0e82a57041 Merged-in: Ia31cb34b09a6759da739b821deba7f0e82a57041 (cherry picked from commit 5df38692a9fc3ba2f140f1d98c6dff424c398615)
2019-05-01Upstream partner request to add BC methods to core platform API.Pete Bentley
Bug: 129665886 Bug: 129440746 Test: m && flashall Change-Id: Ia4b081f7f240ccc52177c1b7fea29cf48261da75 Merged-In: Ia4b081f7f240ccc52177c1b7fea29cf48261da75 (cherry picked from commit d1cc1bde893a4d7013a5f22daee5a00a19107d78)
2019-03-01Remove DH keygen special caseAdam Vartanian
BC added an optimization for a BC-specific key generation params class that ultimately causes Wycheproof's DhTest to fail. While I believe it would be safe to include that optimization, in the interest of being conservative, I'm going to disable it to maintain the behavior of previous versions. Bug: 124926190 Test: cts -m CtsLibcoreTestCases Test: cts -m CtsLibcoreWycheproofBCTestCases Change-Id: I6aa9945d1e0f55cc4789d35edd41cc47fe61a3d6
2019-02-18Update Bouncy Castle to 1.61Adam Vartanian
Test: cts -m CtsLibcoreTestCases Test: cts -m CtsLibcoreWycheproofBCTestCases Change-Id: Ifcd182a8537439b945aedf80741bd51cbce37e49
2019-02-13Fix the spelling error in ReasonsMaskAurimas Liutikas
This fixed the warning that is being printed by metalava: external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ReasonsMask.java:69: warning: Replaced teh with the in the documentation for method com.android.org.bouncycastle.jce.provider.ReasonsMask.intersect(com.android.org.bouncycastle.jce.provider.ReasonsMask) [Typo] This has been fixed upstream already in: https://github.com/bcgit/bc-java/pull/454 Test: None Change-Id: Ide5df1089f173d1e23e2bfa144a47ebb95b060ca
2018-11-23Move android_bcprov to repackaged/bcprovPaul Duffin
This is needed to provide consistency between bouncycastle and other users of RepackagingTransform to allow them to switch to using a common script. The previous change to switch from jarjar to currysrc did not correctly update the build exclusion of the repackaged version of org/bouncycastle/asn1/ocsp which is not required on Android. That meant it was incorrectly being included in the bouncycastle library. This updates the build script to remove the repackaged versions of those files altogether and removes the unnecessary build exclusion. Tested by running the script and verifying that apart from the now deleted files the repackaged files only differed by location and not content. Bug: 117818301 Test: see above Change-Id: I88eef5583071156c277ac82bb89ec76a91603df9