Skip to content
Snippets Groups Projects
  1. Sep 17, 2019
  2. Jul 11, 2019
    • tanujdhir's avatar
      Remove Apache 2.0 comments from build files. · 5c33dec2
      tanujdhir authored
      To replicate:
      find -name BUILD.bazel -exec sed -Ei 's/\s+# Apache 2.0$//' {} \;
      find -name BUILD.bazel -exec sed -Ei 's/\s+# Apache 2.0 # keep$/  # keep/' {} \;
      
      PiperOrigin-RevId: 257604221
      5c33dec2
  3. May 29, 2019
  4. May 02, 2019
  5. Mar 20, 2019
    • baskaran's avatar
      internal cleanup · 0a394eba
      baskaran authored
      NOKEYCHECK=True
      PiperOrigin-RevId: 237356228
      GitOrigin-RevId: 984d57fd725606039db54712e668cd5c184c16fc
      0a394eba
    • baskaran's avatar
      AWS KMS integration · 6d0765ae
      baskaran authored
      NOKEYCHECK=True
      PiperOrigin-RevId: 237348599
      GitOrigin-RevId: 7f2e08b2b5871f02b139dd9b5ac55b3e0c30c62f
      6d0765ae
  6. Apr 06, 2018
  7. Mar 31, 2018
    • Thai Duong's avatar
      Fixing ECDH tests. · 157277bf
      Thai Duong authored
      1/ Catching unchecked exceptions to not crash the JVM.
      
      Wycheproof found that some Java security providers would throw unchecked exceptions when processing attacker-controlled input. To prevent DoS attacks, we'd catch these exceptions in Tink.
      
      2/ Do not report errors if the shared secret is correct.
      
      Android M and N ignore the public key parameters, thus we'd stop reporting errors in tests that modify parameters if the shared secret is still correct.
      
      3/ Skipping CVE-2017-10176 test because it's not a severe issue.
      
      PiperOrigin-RevId: 191113399
      GitOrigin-RevId: b069f3af3f515b30b5cc1e2af791b226fb0635c5
      157277bf
  8. Mar 23, 2018
    • Daniel Bleichenbacher's avatar
      Test vectors for version 0.4. · 34d7ed70
      Daniel Bleichenbacher authored
      There are some format changes:
      - The field notes in the header is now a dictionary.
      - Test vectors have a new field flags, that should document the
        test vectors better. Additionally it can be used to change
        tests easier (e.g. a test can define if it cares about signature
        malleability or not).
      - There are more special cases (e.g. implementations for brainpool curves
        can use the group isomorphisms defined in the standard).
      
      Bug fixes:
      - Some ECDH test vectors were missing a shared value.
      - Some ECDH test vectors where the public key has modifications in unused
        parameters are now acceptable, as long as the change does not modify the
        shared secret.
      
      PiperOrigin-RevId: 189929126
      GitOrigin-RevId: b3e2b1caee4ba33c3dc4fcc223402527479e7140
      34d7ed70
  9. Mar 13, 2018
  10. Mar 09, 2018
  11. Feb 27, 2018
    • Google Engineers's avatar
      Mass renaming BUILD to BUILD.bazel. · d98847ce
      Google Engineers authored
      This allows to use BUILD for Blaze.
      
      Change-Id: I6fa84543b8ec927b0bdf5641f698b00d9c4de416
      ORIGINAL_AUTHOR=Google Engineers <noreply@google.com>
      GitOrigin-RevId: c049652c44d7e575d04169caf19d85b0d5371181
      d98847ce
  12. Dec 20, 2017
    • Daniel Bleichenbacher's avatar
      Adding more tests for AES-SIV. · 7354c9c0
      Daniel Bleichenbacher authored
      Bug: 66947041
      Bug: 65864441
      
      Change-Id: I367b1f6ee318b8b42ade5467a9ce649f25731efb
      ORIGINAL_AUTHOR=Daniel Bleichenbacher <bleichen@google.com>
      GitOrigin-RevId: 19b921d2d165971059e087294ffae893156e7657
      7354c9c0
  13. Nov 10, 2017
  14. Nov 09, 2017
    • Quan Nguyen's avatar
      Add Wycheproof's ECDH tests. · ba5acec6
      Quan Nguyen authored
      Based on cl/172745913.
      
      Change-Id: I651986b6e4f0cf826a30df80126af16090bc3173
      ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com>
      GitOrigin-RevId: e8e09845aa30680fc12b21686e5aa5be029c832b
      ba5acec6
  15. Nov 03, 2017
    • Quan Nguyen's avatar
      Add Wycheproof's ChaCha20Poly1305 tests. · b88d54f3
      Quan Nguyen authored
      Wycheproof tests will shield us from making mistakes for the
      follow-up refactoring/rewritting CLs.
      
      Change-Id: I585038f2218497d1038ce4857c7de31dc2b6c606
      ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com>
      GitOrigin-RevId: 6177280951ea114ba7da35b185b655e27dd604f3
      b88d54f3
  16. Oct 14, 2017
    • Quan Nguyen's avatar
      Use Wycheproof test vector for AesEaxJce. · f589755e
      Quan Nguyen authored
      Move checkAlgAndVersion method to WycheproofTestUtil.
      
      Change-Id: I25b81f9bf421a4c5c34604cdd3335c6714f4e2ce
      ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com>
      GitOrigin-RevId: 3e3c339ad6a5059da0cead658bc3783f67fb4def
      f589755e
  17. Oct 06, 2017
    • Thai Duong's avatar
      Fixing issues found during sync. · f77a51a1
      Thai Duong authored
      - Moving wycheproof test vectors to testdata/wycheproof so that
      they can be excluded in sync.
      
      - StreamingAeadConfig does not use AeadConfig, removing the
      dependency.
      
      - Adding ToString() in a few places.
      
      - Removing unused dependencies in AesGcmBoringSsl.
      
      - Removing TestUtil.getBytes() and renaming TestUtil.getJsonObject
      to readJson.
      
      Change-Id: I5216275fa7050524af98c11ce6a8007cbab37212
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 4fdc9b5759d0f37b0ce054fe56a57bb27c3ba594
      f77a51a1
    • Quan Nguyen's avatar
      Fix a bug in Ed25519 and add Wycheproof tests. · 2da371ee
      Quan Nguyen authored
      The bug is that isNonZeroVarTime assumes the input is reduced while it
      isn't. Furthermore, the reduced number representation is not unique,
      e.g., the following array is essentially zero
      [67108845,33554431,67108863,33554431,67108863,33554431,67108863,33554431,67108863,33554431]
      We have to call Field25519.contract() before checking for zero.
      
      Change-Id: Ib4f80a686de3f72e44dc602664c9f12616663db8
      ORIGINAL_AUTHOR=Quan Nguyen <quannguyen@google.com>
      GitOrigin-RevId: c735f0857fad861647a53eb842838cf0e499636d
      2da371ee
  18. Jul 28, 2017
    • Thanh Bui's avatar
      Remove AES-GCM and ECDSA test vector files. · 1a8d7249
      Thanh Bui authored
      AES-GCM and ECDSA tests now obtain the test vectors directly from Wycheproof's repository.
      
      Change-Id: I614ba141c342a34286b7f2f11af87e25b0f1dc81
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 176deedb86d4d4ebd10aed07aa9ad1042e467fba
      1a8d7249
  19. Jul 22, 2017
    • Thanh Bui's avatar
      Add ECDSA implementation. · cd3117f7
      Thanh Bui authored
      To test ECDSA, also add test vectors from Wycheproof.
      
      Change-Id: I08157184e727acecf854b2d4dda766ae8e613217
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: adfb86b2ebb474386f3aa51906a3cfdf632977c3
      cd3117f7
    • Thanh Bui's avatar
      Add AES-GCM subtle. · 45b8562e
      Thanh Bui authored
      To test AES-GCM, also add AES-GCM test vectors from Wycheproof.
      
      Change-Id: Ib367b2dff4200ca27068d78b1cbe026381ef4b32
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 83e830ecaa3cd321161b2240897c940876c484c9
      45b8562e
  20. May 26, 2017
    • Thai Duong's avatar
      Move Java to com.google.crypto.tink. · c0412713
      Thai Duong authored
      Change-Id: I7822198a4257a81db34231d1c4d416f87fb9b65a
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: e38021ac0481d7c14f68778d60468e66767a91d6
      c0412713
  21. May 16, 2017
  22. Apr 12, 2017
Loading