Commit Graph

45 Commits

Author SHA1 Message Date
bleichen 044cfbea26 Documentation
NOKEYCHECK=True
PiperOrigin-RevId: 281712273
GitOrigin-RevId: de1b278ef6898c9762f063ab2a08423fed033c4c
2019-11-25 17:45:51 -08:00
bleichen f4112b2d18 Fixing links
NOKEYCHECK=True
PiperOrigin-RevId: 281037853
GitOrigin-RevId: c642ca08a7ac9cc4d1f0daefc6b3fba67efc3d55
2019-11-25 17:45:25 -08:00
bleichen c6604764cf Fixing references
NOKEYCHECK=True
PiperOrigin-RevId: 280831367
GitOrigin-RevId: abcf7e3cb16cb49fbfbe3dd8f8eca08a34fefbd8
2019-11-25 17:45:17 -08:00
bleichen 0c9a698536 Extending documentation of elliptic curves:
- adding OIDs
- completing list.

NOKEYCHECK=True
PiperOrigin-RevId: 280178779
GitOrigin-RevId: 51693b067bc3bf009496db2a4211d4de044c4b24
2019-11-25 17:45:08 -08:00
bleichen 70e9c3d98f Updating documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 278352044
GitOrigin-RevId: 941c9bc63eac1ada29f92e035f69e1b36007eb48
2019-11-25 17:44:36 -08:00
bleichen e50b5bf1dd Adding truncated hashes.
NOKEYCHECK=True
PiperOrigin-RevId: 274586173
GitOrigin-RevId: 8fe2fc1e432ee4c5b6835335c25d421acaa9ff67
2019-11-25 17:43:55 -08:00
bleichen 3373b63f27 Updating documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 271746606
GitOrigin-RevId: b87303d019b6453402a8a1babf99539bb867d6ad
2019-11-25 17:43:40 -08:00
bleichen e4219aa4c8 Updating documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 267625688
GitOrigin-RevId: 4df73e541c5ef5164fe76a6aa985c095c5ff88fb
2019-11-25 17:43:16 -08:00
bleichen c2f1a59591 Adding difference between NIST standard and RFC for KeyWrap.
NOKEYCHECK=True
PiperOrigin-RevId: 265045010
GitOrigin-RevId: e6a7420bac93cc3e0e610f8f511a3c5f36309f7f
2019-11-25 17:43:09 -08:00
bleichen 90b33e27b2 Updating documentation:
New algorithms are GMAC and VMAC.

NOKEYCHECK=True
PiperOrigin-RevId: 257602522
GitOrigin-RevId: d5c7564b2fc364a38f05fef328308f21af7334f7
2019-11-25 17:42:19 -08:00
Wycheproof Team 098eeb5616 Wycheproof g3doc: Fix typo and add link to GitHub source-code
NOKEYCHECK=True
PiperOrigin-RevId: 253518500
GitOrigin-RevId: 4b56508500c5d535c5a033b3d40ef3098cb61b79
2019-11-25 17:41:55 -08:00
bleichen cf457615e3 Updating documentation.
* including new primitives
* more detailed description of JSON types.
* adding links for algorithms

NOKEYCHECK=True
PiperOrigin-RevId: 252799091
GitOrigin-RevId: ebf54ad59ebc55f4cbee010d67867ee9a95ce987
2019-11-25 17:41:39 -08:00
bleichen 29ccd8ecac Updating Wycheproof documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 247415707
GitOrigin-RevId: 8efba735f6dd1f735aa1ee0a963453e2801bf3fb
2019-11-25 17:41:22 -08:00
bleichen e36f091b42 Making another doc file more? compatible.
NOKEYCHECK=True
PiperOrigin-RevId: 236832376
GitOrigin-RevId: 0548eea608460e635a820293a6d2100944addb12
2019-11-25 17:41:03 -08:00
bleichen 6e734f1166 Reverting some mdformat features off
to avoid making tables incompatible with other
markdown dialects.

NOKEYCHECK=True
PiperOrigin-RevId: 236831405
GitOrigin-RevId: 25641287cde9b5ba7b631d5d4b6c26c226c3cc18
2019-11-25 17:40:55 -08:00
bleichen 4cd199592b Minor updates to documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 234783631
GitOrigin-RevId: da809b7f5aecc3bf184fdfe1788399cd8316c329
2019-11-25 17:40:39 -08:00
bleichen bfb11c57f3 Updating documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 234606518
GitOrigin-RevId: 1afaee2eaa4c9a9daad23f57569e035facbb8243
2019-11-25 17:40:32 -08:00
bleichen e2178c755a Adding tests for RSA key generation to the plans for version 0.8.
NOKEYCHECK=True
PiperOrigin-RevId: 234466663
GitOrigin-RevId: 89986698fa5eee07927d34d651479007d173923f
2019-11-25 17:40:24 -08:00
bleichen 386767b289 Adding more links to type names.
NOKEYCHECK=True
PiperOrigin-RevId: 233588531
GitOrigin-RevId: eb79f2b0c494cc9b993f7391494074bd98e442d7
2019-11-25 17:40:16 -08:00
bleichen 441894f256 Updating documentation
NOKEYCHECK=True
PiperOrigin-RevId: 233075077
GitOrigin-RevId: 59df0b095f9640e9f1e9f0a31e699c8396b189e7
2019-11-25 17:40:08 -08:00
bleichen 851de3dd9c Adding more links to the documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 233071591
GitOrigin-RevId: 4a3c72335c61b0d5b2e3715b139bfb62de4f0eb1
2019-11-25 17:40:01 -08:00
bleichen cb98c9f432 Adding references to types in the documentation.
NOKEYCHECK=True
PiperOrigin-RevId: 233065086
GitOrigin-RevId: a4af2453b9798b7e14bd14c2b4c5e07a1e9d72d0
2019-11-25 17:39:53 -08:00
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