summaryrefslogtreecommitdiffstats
path: root/bcprov
Commit message (Collapse)AuthorAgeFilesLines
* bouncycastle: upgrade to version 1.52Sergio Giro2015-04-2090-1721/+2812
| | | | Change-Id: I227db8e458e67af46ccb1c07bfca77a733f25979
* Avoid things that cause CertBlacklist to be preinitializedKenny Root2014-10-172-11/+13
| | | | | | | | | Move the CertBlacklist instance to a NoPreloadHolder, then move the System.getenv call in CertBlacklist to a constructor so it's not called during class initialization. Bug: 18013422 Change-Id: I39d0f43f948dec243d2d7cb79726d0642638b77a
* Upgrade to 1.51Kenny Root2014-08-06265-5379/+19618
| | | | | | | | f98b02ab394044a3c237d2c7a2ee5ef65793e8e9 bcpkix-jdk15on-151.tar.gz 95e59ad2492598d729cfc559b480c3f172de5dc3 bcprov-jdk15on-151.tar.gz Bug: 16578237 Change-Id: Ie4a3cd01b52b504a1098b00b413f1418273a6ef2
* Add OID for Diffie-Hellman keysKenny Root2014-05-071-0/+11
| | | | | | | Without this, decoding X.509 certificates doesn't get a valid DH public key since this OID is not registered by any other provider. Change-Id: I82a5e4cfc3b63c3928299523725d24b838ca939c
* Remove static initializer from StreamUtilKenny Root2014-05-051-3/+8
| | | | | | This causes class preinitialization to fail unnecessarily. Change-Id: I48d55fd2ef4864fb02768ca804c1f2f3c9a84b12
* OpenSSLDigest: length to length-offsetKenny Root2014-02-271-1/+1
| | | | | | | doFinal(...) length was being passed in incorrectly. Bug: 13224655 Change-Id: Ie738446910532a67940fbcd06c5cc961cf7ef9cc
* OpenSSLDigest needs to be ExtendedDigestKenny Root2014-02-251-10/+19
| | | | | | | BcKeyStoreSpi requires an ExtendedDigest to be able to see what byte length the output is before calling it. Change-Id: Ibcade36a96d222d48b933883f9f1d653aca627f0
* OpenSSLDigest: use delegate modelKenny Root2014-02-251-104/+26
| | | | | | | Instead of invoking NativeCrypto directly, delegate to the JCE subsystem to select the AndroidOpenSSL provider. Change-Id: I91c01fc5c21c6d674203226a89a9f4fb2f30426f
* Remove Signature.SHA{384,512}withDSAKenny Root2013-12-161-2/+4
| | | | | | Accidentally added during the upgrade to Bouncycastle 1.50. Change-Id: I91439c1a53f7d46e56d966b551f06b120003a2a8
* Add support for Cipher#getIV with GCMKenny Root2013-12-131-0/+5
| | | | Change-Id: I80cb9e09d75fdb690721c07f54701e6d043cf7b1
* Upgrade to Bouncycastle 1.50Kenny Root2013-12-12135-2762/+9333
| | | | | | | | SHA256 sums of source packages: 0be5bb948ec481b3d1f30ee80ef593b298b3782697f9eeee5c74cf270689b520 bcpkix-jdk15on-150.tar.gz 468259c9166fbcf87ad284ae46fae45408cb7cfc9c406862ea75d5b8696f4f2a bcprov-jdk15on-150.tar.gz Change-Id: Id566e9137f85d8328e9f0cb0472ff2f6ae7a71d3
* Add ANSSI intermediate to the on-device blacklist.Geremy Condra2013-12-101-2/+6
| | | | Change-Id: I0ab409f39d0ca5712c75bd5b2ffed041bba3521d
* Restore SHA-224Kenny Root2013-09-2622-154/+503
| | | | | | In the StandardNames 8 document, SHA-224 has made a comeback. Change-Id: I2cfd04df026502efa3ccbae17eb509588f43292f
* Track changes to JSSEKenny Root2013-06-031-2/+5
| | | | | | | | Bug: 8769295 (cherry picked from commit 0f9937b494fc6dd31fd04956963a3e258aece11b) Change-Id: I8c8f1572c79adc48b0dbd44e5c889c4432dce56a
* Allow CipherTest to run on RIBrian Carlstrom2013-06-031-1/+3
| | | | | | (cherry picked from commit ee1cdde4bcea1635a6af99c2ada1e155cf1b7a3b) Change-Id: Idc2bbd24722f6f2ca046f8dff197c63cf9dfa03b
* bouncycastle 1.49 upgradeBrian Carlstrom2013-06-03129-5091/+6237
| | | | Change-Id: Icbf5a147409c810060a5acc884834fb2a778e860
* Fix PBKDF2WithHmacSHA1 to use high bitsWilliam Luh2013-05-284-10/+57
| | | | | | | | | Bug: 8312059 Bug: https://code.google.com/p/android/issues/detail?id=40578 Cherry picked from commit a2ab0a62bc1ca3978e3ab3a3c1f8288f29a30e7e Change-Id: I749380979671709d63cc87f798b77ed5d8eaef6e
* Merge "Track change to JSSE provider"Kenny Root2013-04-301-1/+1
|\
| * Track change to JSSE providerKenny Root2013-04-291-1/+1
| | | | | | | | Change-Id: Iaef3e3f325e43736fa19c701f6609e5ffd1535fa
* | Revert of DERT61String change from 44021512997b337e6079e46fd4230ce979c20b6fBrian Carlstrom2013-04-221-2/+6
|/ | | | | Bug: 8685209 Change-Id: I72865d6db1ff567da4b24566fa3878053819f826
* Make ECDH KeyAgreement reject AlgorithmParameterSpec.Alex Klyubin2013-03-191-0/+6
| | | | | | | This makes the BouncyCastle JCA Provider pass libcore.javax.crypto.ECDHKeyAgreementTest. Change-Id: I462c93a19c5dfc00733deb76351631ab4b4601da
* Tracking libcore change to use longs instead of ints to store pointers in ↵Brian Carlstrom2013-02-271-9/+9
| | | | | | OpenSSL binding Change-Id: Ibe48a3e6a5356dad5832eac90d23418d89ad7486
* Fix CertPath APIsKenny Root2013-02-202-2/+6
| | | | | | | There was a missing getCertPathEncodings() implementation and the "PEM" encoding wasn't fully removed. Change-Id: I514910eec34ad39e0a2d56677ffdd400b38c6bc9
* bouncycastle 1.48 upgradeBrian Carlstrom2013-02-12156-1405/+2284
| | | | Change-Id: Idb04baf42de07b18ddb162e5cd1f98cdadf366f4
* resolved conflicts for merge of e0c8f221 to jb-mr1-dev-plus-aospBrian Carlstrom2013-02-011-2/+10
|\ | | | | | | Change-Id: I9988ca591a8632df0f67008a79942c8a8e4174ba
| * Add certs to blacklist.Geremy Condra2013-01-221-2/+10
| | | | | | | | Change-Id: I34040b2fe12f81dc0e40653c635f061c499f815b
* | Restore PBE Cipher wrap and unwrap support from upstreamBrian Carlstrom2013-01-292-2/+227
| | | | | | | | | | Bug: https://code.google.com/p/android/issues/detail?id=41405 Change-Id: I9bf90613c510f753032110724b074d31ae76a1fb
* | Add getIssuerAlternativeNames() to JCE APIKenny Root2013-01-162-1/+7
| | | | | | | | | | | | Also make sure the Collection returned is an unmodifiableCollection Change-Id: I9b91a36bd9f5c6264519510c1ac6ac86d4043e34
* | Add getSubjectAlternativeNames() to certificate JCEKenny Root2013-01-073-6/+50
| | | | | | | | Change-Id: I4a486878447111fa53d0d78ae9c2bf9365e154ed
* | am 036093e8: Fix registration of MD5withRSA SignaturesBrian Carlstrom2012-11-011-8/+14
|\| | | | | | | | | * commit '036093e8793923cf6b6bd920d7a2254ab0afa8a1': Fix registration of MD5withRSA Signatures
| * Fix registration of MD5withRSA SignaturesBrian Carlstrom2012-11-011-8/+14
| | | | | | | | | | Bug: 7453821 Change-Id: Ibcd0f02376bd7a56761597e20096d75ced9c56a5
* | Fix non-BC EC private key usageKenny Root2012-10-122-0/+31
|/ | | | | | This is a port of the previous patch to BC 1.47 Change-Id: I67d95635e05379fdbd09560c5be622de08f6018f
* Make existing bouncycastle bcprov build on host and add host-only bcpkix buildBrian Carlstrom2012-09-19562-0/+93113
- 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