aboutsummaryrefslogtreecommitdiff
path: root/java/com/google
AgeCommit message (Collapse)Author
2020-05-05Revert "Remove deprecated BouncyCastle algorithms"Jack He
Revert "Remove deprecated BouncyCastle algorithms" Revert submission 1299358-remove_bc_algos Reason for revert: broke higkey-userdebug Bug: 155693016 Reverted Changes: I98adb4d2f:Load default KeyFactory instead of BC's implementa... I5256fe1c7:Remove deprecated BouncyCastle algorithms I0437de742:Remove deprecated BouncyCastle algorithms Ie9e0cfa02:Remove deprecated BouncyCastle algorithms Change-Id: I6030fdd2339b62ba51e7322caa3224f18023373e
2020-05-02Remove deprecated BouncyCastle algorithmsDaulet Zhanguzin
Stop testing BouncyCastle for removed algorithms. Bug: 67761667 Test: cts -m CtsLibcoreWycheproofBCTestCases Test: cts -m CtsLibcoreWycheproofConscryptTestCases Change-Id: I5256fe1c7fefa2bd44ab29603e1bf9e3df51631b
2017-03-27Change Wycheproof makefile to use jarjared rulesAdam Vartanian
Since these tests have to run using the version installed on a device, we need to use the jarjared rules, since we jarjar the libraries that are installed on the devices. Bug: 31182886 Test: vogar com.google.security.wycheproof.ConscryptTest Change-Id: I7f87541ec52fe8a8cd3f32fc9927e34ae2d3d772
2017-03-23Add Wycheproof makefileAdam Vartanian
In addition, DsaTest and EcdsaTest use JMX to run timing tests, which isn't supported on Android, so remove that code. Bug: 31182886 Test: make wycheproof Change-Id: I98926ed429294bb1d8c26ceebbeffeeee3bc7a8d
2017-02-23RSA decryption tests with specific PKCS#1 valid/inalid values (#27)Juraj Somorovsky
* RSA decryption tests with specific PKCS#1 valid/inalid values * Typo (Hopefully nobody noticed this :-/)
2017-02-21Disable @SlowTest testWrappedAroundCounter because bazel ignores test ↵quannguyentm
annotation (#28) This is a workaround for #26.
2017-02-07Typo and style fixes (#25)Thai Duong
2017-02-03Fix #23 and #2 (#24)Thai Duong
2017-02-03Updates for release of BouncyCastle 1.56 (#8)Peter Dettman
- add maven entry for BC 1.56 and update the versions range - DHIES weak crypto tests now pass if algs not even supported - some ECIES entries moved to the invalid list - ECIES decryption init calls fixed to pass the correct parameters - EciesTest.testModifyPoint now expects GeneralSecurityException
2017-02-01Suppress more warnings, sighed (#22)Thai Duong
2017-02-01Fix ErrorProne build errors (#21)Thai Duong
* Fix ErrorProne build errors
2017-02-01Google -> GitHub Sync, 1 Feb 2017 (#19)Thai Duong
* Removing duplicates from BigIntegerTest. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142548323 * Remove @NoPresubmitCheck from testModifiedPublic() and testModifiedPublicSpec(). The corresponding bug was fixed in BC 1.55 or BC 1.56. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142561682 * minor typos ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142743772 * Regenerating the test vectors for ECDSA: - this adds more comments for bugtypes and modifications or the signatures. - fixes some ugly formatting. - adds some additional test vectors. There are no new bugs. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144619819 * Regenerating DSA test vectors: This adds a few more test vectors. The test vectors are now divided between test vectors with valid BER encodings and test vectors with invalid DER encodings. The description of the test vector better describes what was modified. Also fixing issue #17 on Github: testVectors in DsaTest not using the message parameter There are no changes to the presubmit tests. Tests that can be enabled because of the Oracles security update will be added in another CL. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144814889 * Regenerating test vectors for EcdhTest.java Merging a test with small order into the test vectors. Fixing ASN encoding of 0 (from 0200 to 020100, i.e. length must be > 0). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144815129 * Regenerating RSA signatures. Adding test vectors that were removed because of b/31575502. Oracle fixes this with CVE-2016-5547. Changing ASN tags with value 0x50 to 0x30 (0x50 would be something like sequence of sequence but does not exist), hence the old vectors are unlikely to cause problems. Adding more modifications of OIDs. The new vectors unpack the OIDs and change the nodes. (E.g. the OID for sha256 is the hexadecimal string "608648016503040201" which is an ASN encoding of "2.16.840.1.101.3.4.2.1". The new test vectors include invalid encoding, encodings with additional nodes, deleted nodes and nodes that are changed to large integers) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144846826 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145060646 * Removing presubmit restrictions for tests that have been fixed internally and upstream. Mainly these are tests with CVEs that were announced during the Jan 17 security update by Oracle. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145397539 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145418516 * Adding the CVE numbers from Oracles Jan 17 security update to the documentation. Minor changes to some test vectors: Some of the garbage added to the ASN encoding was itself incorrect and has been replaced. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145650774 * ECDSA MODIFIED_SIGNATURES should be public now. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146186539
2016-12-13Some last minute changes before public announcement.Thai Duong
2016-11-30Initial GitHub exportEmilia Kasper