Proto commits in tink-crypto/tink-cc

These 52 commits are when the Protocol Buffers files have changed:

Commit:091c493
Author:William Conner
Committer:Copybara-Service

Update `JWT ML-DSA` reference from draft-ietf-cose-dilithium to RFC 9964. PiperOrigin-RevId: 918990575 Change-Id: I2094360103e6e41299676facf2ab11f74c7c125e

The documentation is generated from this commit.

Commit:b3782d9
Author:William Conner
Committer:Copybara-Service

Define protos for `JWT ML-DSA` keys. PiperOrigin-RevId: 917403016 Change-Id: I25559051134ce369cffa60aa78ca338967b851c0

Commit:4b6cba4
Author:Stefan Kölbl
Committer:Copybara-Service

Implement ML-DSA-44 parameter set in Tink C++. PiperOrigin-RevId: 911934364 Change-Id: I47a3fa87fe7e6dc85abe4d096127ee3eb9ef735c

Commit:a0a18de
Author:Jérémy Prudhommeaux
Committer:Copybara-Service

Add legacy lint to composite_ml_dsa.proto, and regenerate associated go proto file. PiperOrigin-RevId: 908134653 Change-Id: I5ee68daf0419e518850ae7fc2cb0e02934d0aa81

Commit:f36d943
Author:Lukas Zobernig
Committer:Copybara-Service

Add composite ML-DSA proto. PiperOrigin-RevId: 869235095 Change-Id: I3e7435c2636243025ea4b0c3f1ba0f7486ee69e2

Commit:1ad59a0
Author:Guillaume Endignoux
Committer:Copybara-Service

[ML-DSA-87] Add ML-DSA-87 instance to the parameters. PiperOrigin-RevId: 827499173 Change-Id: I2f7ef2723ad00ed271e2644161bd7efb0acb433e

Commit:7ed4fda
Author:Charles Lee
Committer:Copybara-Service

Update go_package in proto definitions to reference new package location. PiperOrigin-RevId: 826621533 Change-Id: Ic369ad881f00a0b2b27bfab87236f521a71bcb11

Commit:01e404d
Author:Ioanna Tzialla
Committer:Copybara-Service

Add ML-KEM-768 and ML-KEM-1024 to the list of supported HPKE KEMs. PiperOrigin-RevId: 826007489 Change-Id: I5896e2db5327050e8242fb46189ed3d842740d93

Commit:dfb939e
Author:Lukas Zobernig
Committer:Copybara-Service

Add X-Wing to list of supported HPKE KEMs. PiperOrigin-RevId: 806256555 Change-Id: I9466bb4706e5d8d0a4bc5753fb34b0b35004b9a2

Commit:62a0090
Author:Ioana Nedelcu
Committer:Copybara-Service

Remove Sphincs implementation from Tink experimental. Now that we have the SLH-DSA boringssl-based implementation, this is not needed anymore. PiperOrigin-RevId: 803153704 Change-Id: I2696db071685cf2b949ef81e5532936d233b3c7c

Commit:177b86b
Author:Ioana Nedelcu
Committer:Copybara-Service

Remove Falcon implementation from Tink experimental. This is not needed anymore. PiperOrigin-RevId: 803050556 Change-Id: I2fcc57c6c6ad49a725cb1a95550600a4d181b97e

Commit:a99a8ae
Author:Ioana Nedelcu
Committer:Copybara-Service

Remove Dilithium implementation from Tink experimental. Now that we have the ML-DSA boringssl-based implementation, this is not needed anymore. PiperOrigin-RevId: 803031311 Change-Id: Ic2f50146ced4d7478f93a8e0443ceb3064eb6237

Commit:e983f52
Author:Thomas Holenstein
Committer:Copybara-Service

Remove the underscore before the number in the test proto files. The proto style guide disallows this now. PiperOrigin-RevId: 742644078 Change-Id: If3641ab69280d4bb54ded3639f38dd9060fb2abf

Commit:fc64acb
Author:Thomas Holenstein
Committer:Copybara-Service

Add Uint64 fields to the parser. PiperOrigin-RevId: 732150957 Change-Id: I6704a6cb80a2b340345454ed3bfa36b2a5992643

Commit:9cc8616
Author:Guillaume Endignoux
Committer:Copybara-Service

Add ML-DSA proto file options for Java and Go. PiperOrigin-RevId: 731723399 Change-Id: I89f8067a1f24102fef9f97d811def6a07ec5afb6

Commit:1164805
Author:William Conner
Committer:Copybara-Service

Add SLH-DSA proto file options for Java and Go. PiperOrigin-RevId: 722664025 Change-Id: I3dbd4f10c9382ec23df1b3c0224524dde0e1803d

Commit:c7d39c3
Author:Ioana Nedelcu
Committer:Copybara-Service

Internal change. PiperOrigin-RevId: 719232527 Change-Id: I674ca0c96ba3337dca4f60525acc5d4a5dbf7f47

Commit:70fac47
Author:Moreno Ambrosin
Committer:Copybara-Service

Add X-AES-GCM proto to Tink Go PiperOrigin-RevId: 706789066 Change-Id: I8a06e0b9da2d4cfbf1d3293dadba7cd855e2b182

Commit:952ebb9
Author:Ioana Nedelcu
Committer:Copybara-Service

Internal change. PiperOrigin-RevId: 693123259 Change-Id: Ibba9d3fe148bf15db6f911a0353cc84a3a89858a

Commit:363ee08
Author:Ioana Nedelcu
Committer:Copybara-Service

Move ML-DSA implementation to Tink public API. PiperOrigin-RevId: 691821140 Change-Id: I624368d58396743c6268bebba47b953ece92675e

Commit:38eff86
Author:Tink Team
Committer:Copybara-Service

Internal change PiperOrigin-RevId: 669037425 Change-Id: I84eec4b15d24251765c12a3b386daca502f4ebb1

Commit:a0e3ef8
Author:Fernando Lobato
Committer:Copybara-Service

X-AES-GCM proto files PiperOrigin-RevId: 668074997 Change-Id: I872529163e9fec902cf5998a1ced2a265b8d37c6

Commit:c348696
Author:Guillaume Endignoux
Committer:Copybara-Service

Migrate Tink ML-DSA from BoringSSL's experimental Dilithium backend to the final ML-DSA backend. PiperOrigin-RevId: 668019608 Change-Id: I7fea4b343cc94e3e12ca76904091bba269c34fba

Commit:73a6b44
Author:Thomas Holenstein
Committer:Copybara-Service

Some more proto fields for testing. PiperOrigin-RevId: 660795836 Change-Id: I06a3587507efe1cf7160a5d0200b0c67ad9f7455

Commit:752dd4a
Author:Thomas Holenstein
Committer:Copybara-Service

Add a test which explicitly tests that subfields are not cleared when a non-repeated submessage is repeated. PiperOrigin-RevId: 660361188 Change-Id: Ic115a75f4551afa11ff601e868430354d7e3feaa

Commit:e85027a
Author:Thomas Holenstein
Committer:Copybara-Service

Add ProtoParser.AddMessageField. PiperOrigin-RevId: 659564426 Change-Id: I8f2c18ad7edf2e62c5143d0eea4b9af74bcafef9

Commit:7a86e74
Author:Thomas Holenstein
Committer:Copybara-Service

Parse bytes into SecretData or std::string. PiperOrigin-RevId: 656378849 Change-Id: I8a4048f32f28df83fb3c924bf66c4a8012e8b959

Commit:6169aac
Author:Thomas Holenstein
Committer:Copybara-Service

Add a TPB Parser. This currently can only parse uint fields. More will be added later. PiperOrigin-RevId: 656300336 Change-Id: I16c8b986419bce256e39cd85c172dbfeab870b54

Commit:b380606
Author:Guillaume Endignoux
Committer:Copybara-Service

Add proto serialization for ML-DSA. PiperOrigin-RevId: 649028276 Change-Id: I46a5f13a3b58073aa640ea47cbdf67d24fc38f30

Commit:788a48d
Author:Guillaume Endignoux
Committer:Copybara-Service

Add proto serialization for ML-KEM. PiperOrigin-RevId: 646435111 Change-Id: Ie027739acb4f123a9be28694ca7f8d521a5cc0b9

Commit:4705c5e
Author:Guillaume Endignoux
Committer:Copybara-Service

Add ML-KEM protos. PiperOrigin-RevId: 640525633 Change-Id: If2db23c396995e9ac28e69e44dd7ca6454e77642

Commit:e77bfe0
Author:Juerg Wullschleger
Committer:Copybara-Service

Fix type URL in comment. PiperOrigin-RevId: 633523032 Change-Id: I0852e33bd5a9993a460c77d4cb4ab2f1ef6649fb

Commit:0d09353
Author:Wiktor Garbacz
Committer:Copybara-Service

Use `ctype = STRING_PIECE` on all `key_value`s PiperOrigin-RevId: 633521257 Change-Id: I2754393df8663b0d9cecdd0b797365c8c32bfbcf

Commit:e61c5b1
Author:Thomas Holenstein
Committer:Copybara-Service

Mark aes eax proto as STRING_PIECE. AFAIK this does nothing open source. See https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto PiperOrigin-RevId: 630048902 Change-Id: Ibb96e6e67082aff96dc663ba8ef422f236dd1eb8

Commit:ac71903
Author:Moreno Ambrosin
Committer:Copybara-Service

Fix `go_package` field in `aes_*` proto definitions PiperOrigin-RevId: 623614807 Change-Id: Ia9852c5b6c80e6f8b0e4e3d62b6af42e5873666b

Commit:2a2eab2
Author:Ioana Nedelcu
Committer:Copybara-Service

Add a proto structure for the Stateless Hash-Based Digital Signature Algorithm (SLH-DSA) PiperOrigin-RevId: 622938993 Change-Id: I21e647e06738cbbe68b73ffb7732362cc4d7d916

Commit:69e5ec8
Author:Juerg Wullschleger
Committer:Copybara-Service

Update golang github link for protos. PiperOrigin-RevId: 616834349 Change-Id: I029a47f8e404fd8a1d9aa3f25a3c429ade8a12af

Commit:99c416a
Author:Juerg Wullschleger
Committer:Copybara-Service

Rewrite comment in tink.proto. PiperOrigin-RevId: 592182495 Change-Id: Idecd8645503430a759cd68586cf0b79ef4b5d8ec

Commit:a55570e
Author:Thomas Holenstein
Committer:Copybara-Service

Add tests for behavior of Tink under changing OutputPrefixType in the aead_dem key_template. PiperOrigin-RevId: 592148069 Change-Id: I59597493e875f0c6bd5b1efd06c76c0756c6193c

Commit:50ff4ba
Author:Juerg Wullschleger
Committer:Copybara-Service

Remove cached DEK key protos. These are now unused. PiperOrigin-RevId: 556805140 Change-Id: I125d0b74e7ada39e6ca40a64ddc6440e10f93ebe

Commit:808dbb7
Author:Juerg Wullschleger
Committer:Moreno Ambrosin

Document how Tink handles associatedData='' in AES SIV. 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 Change-Id: Iedfcbee204db27856d5891027a57709ef8a5c754 (cherry picked from commit c851f9e586fa110b700bc41ee363c6edc2f3cb6d)

Commit:c851f9e
Author:Juerg Wullschleger
Committer:Copybara-Service

Document how Tink handles associatedData='' in AES SIV. 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 Change-Id: Iedfcbee204db27856d5891027a57709ef8a5c754

Commit:1a17d48
Author:Juerg Wullschleger
Committer:Copybara-Service

Update go proto path in Tink proto definitions. Do the same as pull request # 669 for all the other protos. PiperOrigin-RevId: 509216831 Change-Id: Ie84a29bda3f25083998c540fa8d7bf74785d33ee

Commit:98fac28
Author:Tim Ruffles
Committer:Copybara-Service

fix go proto module path (Pull request #669) PiperOrigin-RevId: 508400324 Change-Id: I70cb64d562a43d8b592ac1c688a454644a51bc50

Commit:7541014
Author:Charles Lee
Committer:Copybara-Service

Clarify documentation about default HKDF salt value. PiperOrigin-RevId: 507991558 Change-Id: Idcd93e648ea9076c3f0f30f04aa9158183fed796

Commit:922f984
Author:Juerg Wullschleger
Committer:Copybara-Service

Add version field to ECDSA key format proto and validate it in key derivation. Note that key derivation for ECDSA is currently only supported in C++. PiperOrigin-RevId: 499410971 Change-Id: Ia2b6a614a6db72553a7a5baf211e7f5b74845e1d

Commit:1133b73
Author:Tink Team
Committer:Copybara-Service

Fix linting issue in tink ed25519 proto (message indented 4 spaces instead of 2). PiperOrigin-RevId: 488685146 Change-Id: Ia7d513496d2eb960e45d119e88c293935399ce59

Commit:e41e4a1
Author:Juerg Wullschleger
Committer:Copybara-Service

Rewrite comment about key version. PiperOrigin-RevId: 463353675 Change-Id: I8a2efb45e42832157e589364ef3256e2e76488db

Commit:f8b2939
Author:Stefan Kölbl
Committer:Copybara-Service

Make sphincs.proto enum definitions for unspecified values consistent with other proto definitions. PiperOrigin-RevId: 463050887 Change-Id: Ibac4220854bc39f8dcfb5cac19325a6306bbec55

Commit:f31d7d9
Author:Fernando Lobato
Committer:Copybara-Service

Add additional KEM, KDF options to HPKE Params. 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 Change-Id: Iae604d7bb9032e4200e6d909785062a067c2a3cd

Commit:52461ca
Author:Thomas Holenstein
Committer:Copybara-Service

Add an internal class "ProtoKeyFormatSerializationTester" for testing 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 Change-Id: Ia1079c025c3dfe00f3a8f34529a5a334ac8da6f3

Commit:d7ab827
Author:Moreno Ambrosin
Committer:Moreno Ambrosin

Internal change. COPYBARA_INTEGRATE_REVIEW=https://github.com/google/tink/pull/520 from carloscbl:master e7408114fe12ec90b00978ba1d6e07e7c48275a1 PiperOrigin-RevId: 448431955 Change-Id: I2c35bed0de81817b51d21715bddcad35dd2491a4