Skip to content
Snippets Groups Projects
  1. Jul 18, 2017
    • Haris Andrianakis's avatar
      - Upgrade org_pubref_rules_protobuf to 0.7.2 it has fixes needed for objc_proto_lib · 3a4ba55c
      Haris Andrianakis authored
      - Add com_google_protobuf_objc which uses a more recent version that has better support for Obj-C
      - Ran buildifier on it. Sorry vim does that automatically and it will keep changing things everytime I edit it so I thought it's a good idea.
      
      Change-Id: I764341ea49b84be45ed3c898678112a80135dd5d
      ORIGINAL_AUTHOR=Haris Andrianakis <candrian@google.com>
      GitOrigin-RevId: 4965b344abbb3f4dae43ca337343333c4f970e54
      3a4ba55c
    • Thanh Bui's avatar
      Change the input validation in GetPrimitiveFromSerializedKey() and · 2479c35e
      Thanh Bui authored
      GetPrimitiveFromSerializedKeyFormat() of HmacKeyManager.
      
      The validation now covers the case where input is an empty slice.
      
      Change-Id: I9d385ad1232b8916bd6a9d475e0705a2b2ec073f
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 8d8a3240b1f1b2e5126dbca9626f3e3fd03e74f5
      2479c35e
    • Thanh Bui's avatar
      Add KeysetHandle and utilities to extract KeysetInfo from a Keyset. · 101f0d8d
      Thanh Bui authored
      To test KeysetHandle, some utilities to create protobuf objects are also
      added.
      
      Change-Id: I070ddad116fb0075090e8fa04913a6823ab88976
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 9b213d80cdf5228ab27f7b298a8b3639a9053b8f
      101f0d8d
    • Erhan Nergiz's avatar
      Adds XChaCha20Poly1305. · bf5c946e
      Erhan Nergiz authored
      Additionally,
      Tests against libsodium test vectors for Poly1305.
      Gathers all the Poly1305 test into DjbCipherPoly1305Test.java file.
      
      Change-Id: I455337f6536ac1bd8bbae5249ab1c107f8646dde
      ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>
      GitOrigin-RevId: d85a76c414cb458659e739217845cce6213ad77b
      bf5c946e
    • Bartosz Przydatek's avatar
      Adding Key-protos and KeyManager for AES-CTR-HMAC-STREAMING. · a7fe1e04
      Bartosz Przydatek authored
      Change-Id: Ibaad196170d8ae065a01cbdd745250c1e8ad8a1c
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: c3d84e74287b0977e8f2f70e32c3cb150095b78b
      a7fe1e04
    • Thanh Bui's avatar
      Add crypto format constants and methods. · 8cd75b63
      Thanh Bui authored
      Change-Id: Iac770e0aa6ecd414ef4b0a389e66be6c07c81773
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: e372a717bb187e5a9545633a705c1d6cdcf5e013
      8cd75b63
    • Thanh Bui's avatar
      Add HmacKeyManager that implements KeyManager interface. · fb94186b
      Thanh Bui authored
      Also add an utility method that validates key manager version.
      
      Change-Id: I0d237c47cdaf2140b41db7f9c0cfb2123f1cb714
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: b9846d59cb651a685f059b10f6f5c97e4083f9eb
      fb94186b
    • Erhan Nergiz's avatar
      Removes DjbCipherTestBase.java · d5fae974
      Erhan Nergiz authored
      Change-Id: I7cc5f4e87c5f868b6c9784132828251bf978ba93
      ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>
      GitOrigin-RevId: 33d4d4cc19301ae047566809127dd47b02e98e61
      d5fae974
    • Erhan Nergiz's avatar
      Adds XChaCha20 DjbCipher. · 65aeced5
      Erhan Nergiz authored
      Puts all implementations of DjbCipher as inner classes in
      DjbCipher.java
      Also puts all DjbCipher tests into DjbCipherTest.java
      
      Change-Id: I61b9f950cb635ad3427d9afca3ede498b726cbe5
      ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>
      GitOrigin-RevId: baf879b979ba417d592576bfd7119a3a55b8dd46
      65aeced5
    • Thanh Bui's avatar
      Add PublicKeySign and PublicKeyVerify interfaces. · 76049582
      Thanh Bui authored
      Change-Id: I6d63e96d52430681c91dd9a69d7cfef63065bd3f
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 2466ac0ef4907274a044d42f9f5e79c69cd22321
      76049582
    • Thanh Bui's avatar
      Add Aead interface. · 5ceb1f70
      Thanh Bui authored
      Also, add a BUILD file to the go folder.
      
      Change-Id: I2c0429ce6a1af1c618ebdccf81b5fffc5bcec010
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 445aa7b1b9a4b325a581087f68952460eb9242f9
      5ceb1f70
  2. Jul 12, 2017
    • Thai Duong's avatar
      Set TEST_TMPDIR before running tests with Maven. · 5536d546
      Thai Duong authored
      Also test with random tmp files because some tests might fail if
      the files they want to write to already exist.
      
      Change-Id: Ia8be496ced6585e4914997975f04760cad5a1012
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: dc0215517fc44451e8fc86f08157ae97eb0d9e39
      5536d546
  3. Jul 11, 2017
  4. Jun 23, 2017
    • Thai Duong's avatar
      Add pre-generated signature and hybrid key templates. · 4d0e0daa
      Thai Duong authored
      Delete 96-bit IV AEAD key templates, as 128-bit templates offer better
      security.
      
      Also delete P-256 hybrid templates with 256-bit DEM keys.
      
      Change-Id: I898e862e4fd7d0734f02d3e38021c90cf9df68e0
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 5dc0ff5c3a7cbc820f2423f3bee92757d52c0546
      4d0e0daa
    • Thai Duong's avatar
      Allow writing KeysetHandle to an output stream. · c2905b52
      Thai Duong authored
      With this feature, users can now programmatically generate and persist
      new keysets, without having to use Tinkey.
      
      Change-Id: I1c0842b4fdaa3308a7600b2e3c7ae021fba92148
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 22a8cdf81fb8c468b8565a4b3740b93a693942dc
      c2905b52
    • Bartosz Przydatek's avatar
      Adding forgotten license notes. · 199b818f
      Bartosz Przydatek authored
      Change-Id: I396cbe0e3678d347700841336b52fc1f6f50fd0a
      ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
      GitOrigin-RevId: 97d1f1f51ecad057e250bfc4f6e6fced2ae88139
      199b818f
Loading