Skip to content
Snippets Groups Projects
  1. Jul 28, 2017
    • Thai Duong's avatar
      Add AwsKmsAead and support for AWS KMS. · 1bb83708
      Thai Duong authored
      Change-Id: I98029e0fe321b69ae85d362fe2d5789372e42a00
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: e87d1de8dc07378f5f0e851653f966b66002b967
      1bb83708
    • Thai Duong's avatar
      Clean up SubtleUtil and TinkeyUtil. · 314c9a6e
      Thai Duong authored
      Change-Id: I80c222652b882731a231b00349f71ff0780f89f6
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: e72de97e04a45a75e4afd3c5fe67bf1e2175804e
      314c9a6e
    • Thai Duong's avatar
      Refactor envelope encryption. · afc766ee
      Thai Duong authored
      GcpKmsAeadKeyManager now accepts a CloudKMS client, not just a
      credential provider. All provider classes are no longer needed.
      Credential related functions are moved to a single class.
      
      Change-Id: I43357dafa0b0ef62d03aef33aaa3b0291207f679
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 9bc1169e70bad0643f6b79f17d91fe1914e46bd6
      afc766ee
    • Thai Duong's avatar
      Fix Kokoro build issue. · 7792f35e
      Thai Duong authored
      Change-Id: I9b5e49c2e2c84647959db87f1f34ad35c27568ca
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: 79a576ef14b5803f7004301b79af9a0320ab0cb3
      7792f35e
    • Thanh Bui's avatar
      Add Registry, KeysetManager, and CleartextKeysetHandle. · 8d71bc88
      Thanh Bui authored
      Change-Id: I67faa36a64f3c3314ab7bed554940f46eafc8d5c
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 782767c9a2b5e2fbca69edd6424b505ad5e94e0f
      8d71bc88
    • Thanh Bui's avatar
      Add AesGcmKeyManager. · f9a0e062
      Thanh Bui authored
      Change-Id: Icdeb5d8ba0ef23cf92d52146e066cdf84d571cbc
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: b3f0dfc9f829d8b868a8f553d1645244ff3e3e88
      f9a0e062
  2. Jul 22, 2017
    • Thanh Bui's avatar
      Add MAC's key templates. · 0705c7ba
      Thanh Bui authored
      Change-Id: I2e7a14094657a24594f7e2f17bb10fe4ddb6de58
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 2699ce6cfeb42869db63777108423d13965eab3d
      0705c7ba
    • 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 PrimitiveSet. · 26714347
      Thanh Bui authored
      Also add package testutil that contains dummy structs and utilities for
      testing. Note that PrimitiveSet's APIs are not restricted yet.
      
      Change-Id: Ia7816afa1b6ed1d2cf2fe8187e3cb0c57218ebea
      ORIGINAL_AUTHOR=Thanh Bui <thanhb@google.com>
      GitOrigin-RevId: 05f378c28dbfe1320a7d6c8ec3b5ef6ef040deba
      26714347
    • 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
    • Erhan Nergiz's avatar
      Changes Poly1305 to accept {nonce || ciphertext || tag} format. · c71c8a91
      Erhan Nergiz authored
      Also adds comments to explain the format and a note on random nonce generation.
      
      Change-Id: I6d040bfbe7fce96eec9174374fe2cfe1c2387008
      ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>
      GitOrigin-RevId: a9f4c694af53220aa7abab987b2b33117f90c8bf
      c71c8a91
    • Thai Duong's avatar
      Add PrivateKeyManager interface. · c585b493
      Thai Duong authored
      This interface extends KeyManager and allows obtaining the public key from the
      managed private key. With this interface, users can now programmatically obtain
      a public keyset from a private one, without relying on reflection (which is
      ugly, insecure and does not even work on Android because of ProGuard).
      
      Change-Id: Ie71d8562c4e17c1a7bcc6e59ccd59acc791ae874
      ORIGINAL_AUTHOR=Thai Duong <thaidn@google.com>
      GitOrigin-RevId: e766dd2bc0bee91d93b9dd07f1efac193af8eefb
      c585b493
  3. 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
  4. 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
  5. Jul 11, 2017
Loading