aboutsummaryrefslogtreecommitdiff
path: root/proto
AgeCommit message (Collapse)Author
2023-04-27Document how Tink handles associatedData='' in AES SIV.juerg
AES SIV allows the user to import a list of associated datas, but Tink only uses a single associated data in its interface. When the user inputs an empty associated data byte sequence, Tink will handle this as a list of one empty byte sequence, and not as an empty list. PiperOrigin-RevId: 527491521
2023-02-13Update go proto path in Tink proto definitions.juerg
Do the same as pull request # 669 for all the other protos. PiperOrigin-RevId: 509216831
2023-02-09Merge pull request #669 from timruffles:masterCopybara-Service
PiperOrigin-RevId: 508400324
2023-02-07Clarify documentation about default HKDF salt value.ckl
PiperOrigin-RevId: 507991558
2023-01-25fix go proto module pathTim Ruffles
2023-01-04Add version field to ECDSA key format proto and validate it in key derivation.juerg
Note that key derivation for ECDSA is currently only supported in C++. PiperOrigin-RevId: 499410971
2022-11-15Fix linting issue in tink ed25519 proto (message indented 4 spaces instead ↵Tink Team
of 2). PiperOrigin-RevId: 488685146
2022-08-15Internal change.Tink Team
PiperOrigin-RevId: 467848064
2022-07-26Rewrite comment about key version.juerg
PiperOrigin-RevId: 463353675
2022-07-25Make sphincs.proto enum definitions for unspecified values consistent with ↵kste
other proto definitions. PiperOrigin-RevId: 463050887
2022-06-27Add additional KEM, KDF options to HPKE Params.felobato
Adds the parameters required to support DHKEM over the NIST(P-256, P-384, P-521) curves. This includes additional HKDF function (HKDF-SHA-384, HKDF-SHA-512) PiperOrigin-RevId: 457452302
2022-06-22Add an internal class "ProtoKeyFormatSerializationTester" for testing ↵tholenst
serialization implementations. With this user, can first create a tester, and then simply check the implementation by calling tester.testParseAndSerialize(format, protoFormat, outputPrefixType); to check if the given format serializes to the given protoFormat with the outputPrefixType. PiperOrigin-RevId: 456487967
2022-05-30Make proto/testing local to testing/(cc|java_src|python|go|cross_language).ambrosin
PiperOrigin-RevId: 451828716
2022-05-11Add/change some comments in JWT key proto files.juerg
- Replace "bigendian" with "big-endian". - Add comment on encoding of (x,y) in ECDSA key. - Add links to RFC where the JWA constants are defined. PiperOrigin-RevId: 447934090
2022-05-06Some reorderings for consistency with google3.tholenst
PiperOrigin-RevId: 446937072
2022-05-03Make protos local to the @tink_cc workspace.ambrosin
PiperOrigin-RevId: 446181757
2022-04-04Allow JSON for reading and writing encrypted keysets in cross-language tests.juerg
Currently, the cross-langauge test API always uses the BinaryKeysetReader/Writer to read and write encrypted keysets. With this CL we can also test reading and writing encrypted keyset with the JsonKeysetReader/Writer. PiperOrigin-RevId: 439259259
2022-02-25Changed HPKE Internet-Draft references to its official RFC.wconner
PiperOrigin-RevId: 431054579
2022-02-18Document what an AesGcmKey represents.tholenst
As usual in Tink, Tink Keys represent fixed cryptographic functions. They should be documented in the proto; unfortunately we currently don't do this. I hope in the future we can add all these. PiperOrigin-RevId: 429498845
2022-01-28Add a placeholder for internal usage.tholenst
PiperOrigin-RevId: 424806379
2022-01-26reverting bad changeTink Team
PiperOrigin-RevId: 424365909
2022-01-25Internal build cleanupTink Team
PiperOrigin-RevId: 424178059
2022-01-19Add read and write methods to keyset service in the testing API.juerg
These methods test that encrypted keysets are correctly read and written. associated_data is an optional argument, so that both the methods with and without associated data can be tested. Also, implement these methods in Java. PiperOrigin-RevId: 422823700
2022-01-14Add TestProtoWithoutCtypewiktorg
PiperOrigin-RevId: 421778404
2021-12-11Added access to RAW AES GCM key generation and the AES GCM key proto for ↵Tink Team
Objective-C. PiperOrigin-RevId: 415747538
2021-11-29Remove period after LLC in all non-C++ files.cinlin
PiperOrigin-RevId: 413017889
2021-10-29TPM internal changefelobato
PiperOrigin-RevId: 406400107
2021-10-29TPM AES HMAC AEAD Protosfelobato
PiperOrigin-RevId: 406392103
2021-10-01Fix Bazel Typosfelobato
PiperOrigin-RevId: 400123161
2021-09-30This change defines a key format for an HMAC TPM Backed key. This will be ↵felobato
used to produce a MAC primitive backed by the TPM which along with a TPM encryption primitive will be used as an EncryptThenAuthenticate AEAD. The proto stores: 1. The wrapped key material (wrapped with a TPM primary key). 2. The TPM template parameters needed to import the key back to the TPM. 3. The TPM HMAC parameters, similar to the normal HMAC parameters but also contain two different parameters: a. The TPM authorization policy to unlock this key (either a set of PCRs or a password). b. The public template of the primary key that wraps this key, so it can be recreated. PiperOrigin-RevId: 399958098
2021-09-17Add Falcon Digital Signature Schemes to the key manager.Tink Team
PiperOrigin-RevId: 397276897
2021-09-03Create proto file for the Sphincs Digital Signature Algorithm and add ↵Tink Team
ProtoToSubtle/SubtleToProto functions for corresponding enums. PiperOrigin-RevId: 394650844
2021-09-02Add the AES versions of dilithium to the key manager.Tink Team
PiperOrigin-RevId: 394441098
2021-09-02Add methods to JWT testing API for JWK set key conversion.juerg
PiperOrigin-RevId: 394434472
2021-08-24Remove expect_subject from JWT cross-language testing api.juerg
PiperOrigin-RevId: 392668947
2021-08-23Add other versions of dilithium to the key manager.Tink Team
PiperOrigin-RevId: 392376467
2021-08-20Add a function to the testing_api that maps names to key templates.juerg
This function will allow us to implement cross-language tests for key templates, and we can remove the key templates in testdata. PiperOrigin-RevId: 391934203
2021-08-11Add JWT "iat" claim validation to cross-language testsjuerg
PiperOrigin-RevId: 390145875
2021-08-10Add "go_package" option to testing_api.proto.juerg
This generates a warning, so it is better to add it. PiperOrigin-RevId: 389906560
2021-08-06Add a new sign key manager for the PQ signature scheme.Tink Team
PiperOrigin-RevId: 389138723
2021-08-05Register protocol buffers for CachedDekEnvelopeAead implementationTink Team
PiperOrigin-RevId: 388965670
2021-07-08In tink.proto, make the description of the OutputPrefixType clearer.lizatretyakova
Clarify the behaviour of the type Legacy. PiperOrigin-RevId: 383617753
2021-07-07Removed `app_info` field from HPKE key protobufs.Tink Team
Guidance from latest HPKE draft clarifies that single-shot APIs should not allow users to set both per-context and per-message auxiliary authenticated application information. https://github.com/cfrg/draft-irtf-cfrg-hpke/pull/231 PiperOrigin-RevId: 383494777
2021-07-02Added protocol buffers for HPKE implementation of Tink hybrid encryption.Tink Team
PiperOrigin-RevId: 382730385
2021-06-15Remove unused dependency from jwt_hmac_proto.juerg
PiperOrigin-RevId: 379470507
2021-06-14Add "custom_kid" from key to JWTs header in Java.juerg
PiperOrigin-RevId: 379277217
2021-06-11Move CECPQ2 hybrid encryption from tink/experimental to tink/cc/experimental.rafaelmisoczki
PiperOrigin-RevId: 378867590
2021-06-11Add optional custom "kid" parameter to JWT key types.juerg
This value should only be set for RAW keys. If set, the kid value is set when signing a token. For verification, the kid is always ignored, as for all RAW keys. PiperOrigin-RevId: 378833740
2021-06-10Move CECPQ2 hybrid encryption from tink/experimental to tink/cc/experimental.tholenst
PiperOrigin-RevId: 378654311
2021-06-10Move CECPQ2 hybrid encryption from tink/experimental to tink/cc/experimental.rafaelmisoczki
PiperOrigin-RevId: 378634145