Permalink
Commits on Oct 9, 2018
  1. Golang: make all key managers private.

    thaidn authored and Tink Team committed Oct 9, 2018
    PiperOrigin-RevId: 216285801
    GitOrigin-RevId: a280917905eb892cb13dd527dd05434a6b950b3d
  2. Fix a race issue in the registry and prevent overwriting of existing …

    thaidn authored and Tink Team committed Oct 9, 2018
    …key managers.
    
    PiperOrigin-RevId: 216285546
    GitOrigin-RevId: 48d53e4b6e528fcfd32a3a53504900e817422660
  3. Java: Add XChaCha20Poly1305 AEAD, based on https://tools.ietf.org/htm…

    thaidn authored and Tink Team committed Oct 8, 2018
    …l/draft-arciszewski-xchacha-00.
    
    PiperOrigin-RevId: 216203052
    GitOrigin-RevId: 490484ef07222e7bd615326091a184ee821db506
  4. Remove the generics from Registry methods where it was not needed. Al…

    tholenst authored and Tink Team committed Oct 8, 2018
    …so, make getPublicKeyData fail with a GeneralSecurityException in case the manager is not a PrivateKeyManager (instead of a class cast).
    
    This will make callers fail if they explicitly specify the generic type. I don't expect there to be such callers, since most likely everyone anyhow tries without it and it just works.
    
    PiperOrigin-RevId: 216178374
    GitOrigin-RevId: a9ae272d32bf46de28819104c61bd86506352196
  5. go: Fix typo in signature/ecdsa.

    tl0gic authored and Tink Team committed Oct 5, 2018
    PiperOrigin-RevId: 215983146
    GitOrigin-RevId: 661d4ad90280999108c1480e1cb86aaf63eb991d
  6. Golang: move registry initialization to init.

    thaidn authored and Tink Team committed Oct 5, 2018
    Ref: #93.
    PiperOrigin-RevId: 215967965
    GitOrigin-RevId: 4eeba51b1ae8d4b71e0512c385d57f2e317479ba
  7. Updating C++ how-to to include DeterministicAead.

    przydatek authored and Tink Team committed Oct 5, 2018
    PiperOrigin-RevId: 215902831
    GitOrigin-RevId: 9a3ed3eceea6d70f8f6ebaf4c5be2f93cd159d1c
  8. Adding cross-language tests for DeterministicAead.

    przydatek authored and Tink Team committed Oct 5, 2018
    PiperOrigin-RevId: 215901264
    GitOrigin-RevId: 4079780f50df723fcec835b89ad5529f356710e7
  9. Adding C++ DeterministicEncryption to TinkConfig.

    przydatek authored and Tink Team committed Oct 5, 2018
    PiperOrigin-RevId: 215896406
    GitOrigin-RevId: a62e7efa8d508f0f3f325208e37047a179d313db
  10. Adding C++ DeterministicAead to public API.

    przydatek authored and Tink Team committed Oct 5, 2018
    PiperOrigin-RevId: 215891943
    GitOrigin-RevId: 8002eeb97d9744310883f99588dc372a5ac713a0
  11. objc: Adding support for RSA PSS and PKCS1 signatures.

    tl0gic authored and Tink Team committed Oct 4, 2018
    PiperOrigin-RevId: 215791994
    GitOrigin-RevId: 6751690bc4de6ece44862af10c9c99defc761fa6
  12. Add constructor for ECDSA verifier which takes an EC_KEY.

    ise-crypto authored and Tink Team committed Oct 4, 2018
    Key Transparency gets keys in DER format, which can be easily deserialized into an EC_KEY. Extracting the curve and x,y points to make an EcKey struct which will then be converted back to an EC_KEY seemed unnecessary.
    
    PiperOrigin-RevId: 215790073
    GitOrigin-RevId: 55ec839d1cf516c8ab7ba9461d854b542643bc16
Commits on Oct 4, 2018
  1. Fix a bug that allows to compile Tink for Java with Bazel 0.17.2 (lat…

    thaidn authored and Tink Team committed Oct 4, 2018
    …est).
    
    Kokoro hasn't failed because its macOS and Ubuntu machines are using old Bazel versions.
    
    Related issues:
    #131
    #136
    bazelbuild/bazel#5997
    bazelbuild/bazel#5594
    
    PiperOrigin-RevId: 215787620
    GitOrigin-RevId: 7b978f1374938e4b839f8357fc50d36b7ab96be5
  2. Should not generate master key when Android Keystore is unavailable.

    thaidn authored and Tink Team committed Oct 4, 2018
    This is a fix for #142.
    
    Also run AndroidKeysetManagerTest on Android K/L devices to detect these issues.
    
    PiperOrigin-RevId: 215775656
    GitOrigin-RevId: 9d12db529cda4b83dee9aa71fc2ba218c09ac64b
  3. Change to use the non-deprecated versions of RegisterKeyManager and A…

    tholenst authored and Tink Team committed Oct 4, 2018
    …ddCatalogue.
    
    PiperOrigin-RevId: 215739830
    GitOrigin-RevId: d92587742b8641f66eb9fd8b3b7b8db6b4a82911
  4. Adding supporting classes for C++ DeterministicAead.

    przydatek authored and Tink Team committed Oct 4, 2018
    PiperOrigin-RevId: 215736707
    GitOrigin-RevId: 11bc06ca2bb5d390685f96f865cdf787189dc082
  5. Unify the key_manager maps.

    tholenst authored and Tink Team committed Oct 4, 2018
    I think this is an improvement overall, it reduces code and clarifies that these entries exist at the same time.
    
    I'm unsure about the inplace construction using std::piecewise_construct... let me know what you think of it.
    
    PiperOrigin-RevId: 215719536
    GitOrigin-RevId: a6f96850a268e5b8b3881d76ba83fb418f5497fc
  6. Make AddCatalogue work properly with unique pointers.

    tholenst authored and Tink Team committed Oct 4, 2018
    This is the same fix as for the registry before.
    
    PiperOrigin-RevId: 215716532
    GitOrigin-RevId: 04fb7d1b20fa73921403d034516a86983ee713d7
  7. Adding C++ AeadSivKeyManager.

    przydatek authored and Tink Team committed Oct 4, 2018
    PiperOrigin-RevId: 215715293
    GitOrigin-RevId: 80e07d9c0b633860f95c31e45d8d8deb26bf8353
  8. Renaming C++ Daead-interface to DeterministicAead (for compatibility …

    przydatek authored and Tink Team committed Oct 4, 2018
    …with Java).
    
    PiperOrigin-RevId: 215708241
    GitOrigin-RevId: b596f3df1821ab588e144bbd47790cda3fcf082a
  9. Change the templating for the registry keymanager so that the type ca…

    tholenst authored and Tink Team committed Oct 4, 2018
    …n be inferred.
    
    Also, add tests of the new, non-deprecated functionality.
    
    PiperOrigin-RevId: 215707924
    GitOrigin-RevId: 957c628080f38bbc8a36992cf43ace903b2f402b
  10. Change the functions RegisterCatalogue and RegisterKeyManager so they…

    tholenst authored and Tink Team committed Oct 4, 2018
    … take unique_ptr instead of raw pointers.
    
    PiperOrigin-RevId: 215701167
    GitOrigin-RevId: 7bbbbce6db88dbae15614016f229b6e282e4e50d
  11. Add generateMutations to TestUtil.

    quannguyentm authored and Tink Team committed Oct 3, 2018
    This will reduce duplicate code and as the code is shorten we can add more test.
    
    PiperOrigin-RevId: 215632983
    GitOrigin-RevId: c82fde11989e7bed255b5d444fa3ca997daba066
  12. Golang: Make sure testkeysethandle can only be used in test code.

    thaidn authored and Tink Team committed Oct 3, 2018
    PiperOrigin-RevId: 215618439
    GitOrigin-RevId: caf0c71e1456aa1b79bd67a956cae8da64c71b6a
  13. Project import generated by Copybara.

    tholenst authored and Tink Team committed Oct 3, 2018
    PiperOrigin-RevId: 215570590
    GitOrigin-RevId: 7c887e67cb957d1fd7d608dd0910f3739d648c0b
Commits on Oct 3, 2018
  1. Merge pull request #141 from jhult:patch-2

    chuckx committed Oct 3, 2018
    GitOrigin-RevId: 6b0df2af2eef384eb82bd8063a093ef1ec87f862
  2. Merge pull request #140 from jhult:patch-1

    chuckx committed Oct 3, 2018
    GitOrigin-RevId: aec70d2dd8b63857d3abad588ce1609d3203e0ac
  3. Merge pull request #139 from phxql:fix-table-in-java-howto

    chuckx committed Oct 3, 2018
    GitOrigin-RevId: 7b43169d65eaed302ea059f3a3424ea5ac8391ec
  4. Fix outbound transformations order and add license text to template f…

    chuckx committed Oct 3, 2018
    …ile.
    
    PiperOrigin-RevId: 215494863
    GitOrigin-RevId: 711bf3637a8dacc49545acb0e599bbf888f2a784
  5. Add version to Cloud KMS's application name.

    thaidn authored and chuckx committed Oct 3, 2018
    PiperOrigin-RevId: 215486990
    GitOrigin-RevId: b8a61218646033cd7713c2bb5398c825f680ddc9
Commits on Oct 2, 2018
  1. Golang: more refactoring, following #93.

    thaidn authored and Tink Team committed Oct 2, 2018
    This is a rather large change because it touches public APIs, so I want to include all possible changes to make it easier for our current users to migrate in one go.
    
    Notable changes:
    * Add a mechanism that allows to restrict the visibility of functions that accept cleartext keys.
    * s/Aead/AEAD/, s/Mac/MAC/, s/ComputeMac/ComputeMAC/, s/VerifyMac/VerifyMAC/, s/PublicKeySign/Signer/, s/PublicKeyVerify/Verifier/
    * s/aead.GetPrimitive/aead.New/, etc.
    * s/aead.RegisterStandardKeyTypes/aead.Register/, etc.
    
    PiperOrigin-RevId: 215424138
    GitOrigin-RevId: 3e9452ec61d04294ab0afdc9c395fe320cefa6a7
  2. Fixing C++ include guards.

    przydatek authored and Tink Team committed Oct 2, 2018
    PiperOrigin-RevId: 215393164
    GitOrigin-RevId: 4722ec1d886d61a86a9f0624d3f64425768fe473