Skip to content
Snippets Groups Projects
  1. Jun 15, 2017
  2. Jun 12, 2017
    • Raphaël Jamet's avatar
      Add a assertExceptionContains(...) function for tests. · b6795f2b
      Raphaël Jamet authored
      Using e.toString() also brings the stacktrace while
      we only look for exception messages, and this matcher
      fails more verbosely than just AssertionFailure.
      
      Change-Id: I398e3ae269364697ef0982ee4ae7eee6b6f7b525
      ORIGINAL_AUTHOR=Raphaël Jamet <rjamet@google.com>
      GitOrigin-RevId: 5134d19aaf520cfdbfc11e23c2bc4abc21e3b173
      b6795f2b
    • Raphaël Jamet's avatar
      Add FooKeysetHandle.parseFrom(InputStream) methods, and test for empty keysets. · 1cb2ec6d
      Raphaël Jamet authored
      It's easier to read from files this way, byte[] are fairly unwieldy there.
      Along the way, I saw that we allow keysethandles with null/empty fields,
      so check that there is enough key material before building these.
      
      Change-Id: I7d27520ecf1259f89fe4869fab2edb4a9d092bf5
      ORIGINAL_AUTHOR=Raphaël Jamet <rjamet@google.com>
      GitOrigin-RevId: fc7b6145cf1c559df9398c069b280a983ab8d3df
      1cb2ec6d
    • Raphaël Jamet's avatar
      Fix kokoro. · aa3e9899
      Raphaël Jamet authored
      Done through adding a objc directory (with an empty BUILD) and
      removing the two lines causing flakyness in
      ecies_aead_hkdf_hybrid_decrypt_test.
      
      Change-Id: I4589d0f5164e3921baca0d8d750f1b162c940540
      ORIGINAL_AUTHOR=Raphaël Jamet <rjamet@google.com>
      GitOrigin-RevId: c868877539e3a40ab61a4fc9d537df1f295cbd14
      aa3e9899
    • Google Engineers's avatar
      Add platform specific build scripts for kokoro · 516881de
      Google Engineers authored
      Change-Id: Ie10d3f23fbdfb7975f98d38f15775ee575f02054
      ORIGINAL_AUTHOR=Google Engineers <noreply@google.com>
      GitOrigin-RevId: 198b88eaa2874d1eff933c91ac50a9a46cdad734
      516881de
    • Bartosz Przydatek's avatar
      Adding the actual C++ ECIES-AEAD-HKDF implementation. · 0919de99
      Bartosz Przydatek authored
      Change-Id: I62b3161a7c0218c78791ed750b2b3b8bd55c623f
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: 71c1d0e5a35cace54ea0cf066358818371607032
      0919de99
    • Erhan Nergiz's avatar
      Adds Poly1305 authenticator. · 092cb62f
      Erhan Nergiz authored
      Change-Id: I7151ec9edd2ef18026974246353d1286715bff7a
      ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>
      GitOrigin-RevId: 88f2f1f477f67577f4dc8acda417992828cc7927
      092cb62f
  3. Jun 07, 2017
  4. Jun 01, 2017
    • Thai Duong's avatar
      Add Ed25519 key manager. · 3a4f9564
      Thai Duong authored
      Change-Id: Iba385e729649a61e01c21115df97a3f6de34b50a
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 3449372c5d568ed9939c565bede044d11b33ce74
      3a4f9564
    • Bartosz Przydatek's avatar
      Refactoring initialization of Registry. · b95ee76f
      Bartosz Przydatek authored
      Change-Id: Id98ae3b57b30f0b817aa58462873d13c033d13d6
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: 798abecdee225055d4e919031fa7ead5de4e4079
      b95ee76f
    • Bartosz Przydatek's avatar
      Adding C++ ECIES-AEAD-HKDF hybrid encryption. · 12c2c180
      Bartosz Przydatek authored
      Change-Id: Iaf3e6bd2615273618a5f5c9dd1527aab47e659de
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: b8386a7057ea9586aa332424ecea4d22fd7114d8
      12c2c180
  5. 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
    • Thai Duong's avatar
      Move C++ to google::crypto::tink. · 2675d260
      Thai Duong authored
      Change-Id: I115b64a1d4a3e4eadb330ed707c9206efd42ae31
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 58c9c7744df883bbbe906d3928027607208a7d1a
      2675d260
    • Thai Duong's avatar
      Generate source and javadoc package. · 52402180
      Thai Duong authored
      Change-Id: Ie40c5f24350e37aa075bb12b126b0cc9168dedd0
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 1cd7ca30352d34ec4252e3e3ef6659f748e2d079
      52402180
  6. May 25, 2017
    • Thai Duong's avatar
      Fix Lint errors and rearrange BUILD targets. · 40d3b469
      Thai Duong authored
      Change-Id: I9a0f108b74fc3be2a92243d3a40cc49b90c0d3e0
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 7b95565afad9497b2265e9bb2382c7be048ef7d6
      40d3b469
    • KB Sriram's avatar
      Enable additional lint and errorprone checks · 2f99ed99
      KB Sriram authored
      Enable more robust lint and error-prone checks,
      and suppress warnings on existing code or fix where
      it is easy.
      
      1. PrimitiveSet inner class set to static, callers fixed.
      2. Suppress other warnings in Registry.
      
      Change-Id: I33ca51fd465e646107b2d7244fea5edc115793d2
      ORIGINAL_AUTHOR=KB Sriram <kbsriram@google.com>
      GitOrigin-RevId: 3ebbd1121f174b94d020de7987df1f075c04d5b2
      2f99ed99
    • Thai Duong's avatar
      Stop using reflection in Tink because reflection doesn't work with ProGuard. · 582b2da9
      Thai Duong authored
      Reflection is used in functions that transform a private keyset to a public
      keyset. At the moment only Tinkey needs this feature, so these functions
      are temporarily moved to TinkeyUtil. Android apps might also need this feature
      so we're working on a solution that doesn't depend on reflection.
      
      Change-Id: I90358713215a3ab222e3b62ba5deb898b9b450a3
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: d5e62cf596f5ec878595c8bd4ee9ac093f116193
      582b2da9
    • Thai Duong's avatar
      Upload Maven artifacts to GCS. · 8f600e8c
      Thai Duong authored
      Change-Id: Ibfb472491ba253c5f023ee43fa14280d3249a58b
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 04902a0eada13374e44ec5baf81ee4a79c634f21
      8f600e8c
    • Thai Duong's avatar
      Merge "Add Kokoro build badge." · 21b2d190
      Thai Duong authored
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: fa236d8d4ad84bf59e5d20f958735c7ccad6b352
      21b2d190
    • KB Sriram's avatar
      Fix mutable bytearrays returned/used by some APIs. · 937adfe0
      KB Sriram authored
      Certain APIs and classes retain or return bytearrays
      which can be mutated by the callers.
      
      1. Use @Immutable annotations to statically check
         if a class exposes any mutable data.
      2. Add an ImmutableByteArray class that prevents mutable
         bytearrays by making or returning a copy of an underlying
         set of bytes.
      
      Change-Id: I2c5804eeb3d2e736eb45bb3283979b2874b5d7b4
      ORIGINAL_AUTHOR=KB Sriram <kbsriram@google.com>
      GitOrigin-RevId: 1c9804a2101360ddf41db719eef1d763e965d9ed
      937adfe0
    • Thai Duong's avatar
      Merge "Build with maven." · f157bd17
      Thai Duong authored
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 7630dd48704d7afd8708b08d2c36cd4d8abfe0d8
      f157bd17
    • Erhan Nergiz's avatar
      Merge "Adds ChaCha20 stream cipher." · 20b69522
      Erhan Nergiz authored
      ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>
      GitOrigin-RevId: 9badc6d7c67ddb7af4b3010653f3857b71bc0917
      20b69522
  7. May 24, 2017
Loading