Commit Graph

23 Commits

Author SHA1 Message Date
bleichen 7ca8c8d16f Updating files.md
NOKEYCHECK=True
PiperOrigin-RevId: 233042755
GitOrigin-RevId: 3bd24145ecdd0f6c9d4a6e7716ca188d1fa0dd19
2019-11-25 17:39:45 -08:00
bleichen 89b996d789 Some updates to the documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 232680784
GitOrigin-RevId: b94a428ffce59724af70395a8f859d9f02841f6b
2019-11-25 17:39:30 -08:00
bleichen 8ca57ca2b9 Just adding a reference.
There might be some test cases not covered yet. That will be done
later.

NOKEYCHECK=True
PiperOrigin-RevId: 232472199
GitOrigin-RevId: 8821bbd10f7917f161b83e26edc19a213d67c8c0
2019-11-25 17:39:06 -08:00
bleichen 1ab23e11b0 Refactoring the documentation.
index.md is now an index.

NOKEYCHECK=True
PiperOrigin-RevId: 232468414
GitOrigin-RevId: 7dde78d93627c14c213ce5c5d8f62429cd9e4a64
2019-11-25 17:38:58 -08:00
bleichen 30c04bdbda Refactoring ecdh.md.
Adding some references to dh.md and dsa.md
Adding a bibliography.
There does not seem to be any simple support for references in g3doc.

NOKEYCHECK=True
PiperOrigin-RevId: 231400389
GitOrigin-RevId: db928a9f57d11ee736348c468412a320e03698d4
2019-11-25 17:38:43 -08:00
bleichen 1025b43dd7 Adding timing analysis to the plans for version 0.8.
NOKEYCHECK=True
PiperOrigin-RevId: 231194032
GitOrigin-RevId: bbe9af9542f60547f7ebbfeb4efe879327e06f50
2019-11-25 17:38:35 -08:00
bleichen 8d36c35a19 Adding documentation for the test vector files.
NOKEYCHECK=True
PiperOrigin-RevId: 228866607
GitOrigin-RevId: a04fbc5b6604b399e1943a04713cc19e909f9905
2019-11-25 17:38:20 -08:00
bleichen eab248dd02 Adding RFC 4055 (which has some unused definitions).
NOKEYCHECK=True
PiperOrigin-RevId: 224315053
GitOrigin-RevId: 98aa28833a26c3223c4c37c8a9847823cc699701
2019-11-25 17:37:42 -08:00
bleichen d6a8486784 Adding documentation for RSA-PSS.
NOKEYCHECK=True
PiperOrigin-RevId: 223961711
GitOrigin-RevId: 9c352efc3d75473b942597a7752651a824329672
2019-11-25 17:37:35 -08:00
bleichen 3fb47e7403 Adding documentation for Key-wrap tests.
NOKEYCHECK=True
PiperOrigin-RevId: 222393282
GitOrigin-RevId: 3b3559b215aa7bd121611c501860db3a937b9e03
2019-11-25 17:37:18 -08:00
bleichen 95552fc2e2 Wycheproof version 0.6
NOKEYCHECK=True
PiperOrigin-RevId: 222384581
Change-Id: I1749fc9e570634e5429c3162787de0539cbcfd4d
GitOrigin-RevId: 4f8bfc19eb425f6a1083637b2810002dc0ae5b41
2019-11-25 17:37:09 -08:00
Daniel Bleichenbacher 8e7e87adb8 Adding a test for faulty RSA signature generation.
Instead of inducing a fault (I don't know how to do this), the test uses
faulty CRT parameters.
Results:
All Java providers pass.

OpenJdk: Generating PKCS#1 signature with faulty key throws:java.security.SignatureException: Could not sign data
BouncyCastle: Generating PKCS#1 signature with faulty key throws:java.security.SignatureException: java.lang.IllegalStateException: RSA engine faulty decryption/signing detected
Conscrypt: Generating PKCS#1 signature with faulty key throws:java.security.SignatureException: java.lang.RuntimeException: error:04000044:RSA routines:OPENSSL_internal:internal error
PiperOrigin-RevId: 207514657
GitOrigin-RevId: ced32b741745a87fb13672eeb2e0ef17ab778d78
2019-11-25 16:56:59 -08:00
Alex Gaynor c313761979 Added two additional findings (#63) 2018-09-20 17:31:11 -07:00
Thai Duong 31387e2cd5 Project import generated by Copybara.
PiperOrigin-RevId: 191113399
GitOrigin-RevId: cfebd59d1f086e907f468004c7d033199d116fad
2018-04-04 13:54:50 -07:00
Thai Duong 72412ae03c Move Wycheproof to third_party/wycheproof. Each language will have its own subdirectory.
Approved by third-party-help@: https://groups.google.com/a/google.com/forum/#!topic/third-party-help/K-JKmnxAGoU.

PiperOrigin-RevId: 126106900
GitOrigin-RevId: cb4418c62d6412f61134cbee74074bdbd2cd3657
2018-04-04 13:54:42 -07:00
quannguyentm 9c44da8d18 Release a few more bugs. (#33) 2017-06-13 16:18:15 -07:00
quannguyentm 7cb50d31f6 Fix format bugs.md (#31)
* Fix format bugs.md

The internal Google format doesn't seem to work with github.

* Update bugs.md
2017-06-05 10:41:17 -07:00
quannguyentm d16e6915e5 Bugs found by Wycheproof Project. (#30)
There are bugs that are not publishable yet.
2017-06-02 15:23:07 -07:00
Thai Duong 7dfe46ba87 Typo and style fixes (#25) 2017-02-07 17:01:34 -08:00
Ange Albertini eef0c4262e typos (#1) 2017-02-01 11:39:49 -08:00
Alex Lau ca5bdb45ba Typo (#14) 2017-02-01 11:15:24 -08:00
Thai Duong 397bfb49f8 Google -> GitHub Sync, 1 Feb 2017 (#19)
* 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
2017-02-01 10:45:16 -08:00
Emilia Kasper f7ecb0dfad Initial GitHub export 2016-11-30 17:59:14 -08:00