Skip to content

Commit

Permalink
Update golang github link for protos.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 616834349
Change-Id: I8a310c1e341dcaea4be3b729bf757f9d5824f199
  • Loading branch information
juergw authored and copybara-github committed Mar 18, 2024
1 parent 0b66132 commit 76aa014
Show file tree
Hide file tree
Showing 32 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion proto/aes_cmac.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_cmac_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/aes_cmac_go_proto";

message AesCmacParams {
uint32 tag_size = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_cmac_prf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_cmac_prf_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_cmac_prf_go_proto";

// key_type: type.googleapis.com/google.crypto.tink.AesCmacPrfKey
message AesCmacPrfKey {
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_ctr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_ctr_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_ctr_go_proto";

message AesCtrParams {
uint32 iv_size = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_ctr_hmac_aead.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import "proto/hmac.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_ctr_hmac_aead_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_ctr_hmac_aead_go_proto";

message AesCtrHmacAeadKeyFormat {
AesCtrKeyFormat aes_ctr_key_format = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_ctr_hmac_streaming.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import "proto/hmac.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_ctr_hmac_streaming_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_ctr_hmac_streaming_go_proto";

message AesCtrHmacStreamingParams {
uint32 ciphertext_segment_size = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_eax.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_eax_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_eax_go_proto";

// only allowing tag size in bytes = 16
message AesEaxParams {
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_gcm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_gcm_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_gcm_go_proto";
option objc_class_prefix = "TINKPB";

message AesGcmKeyFormat {
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_gcm_hkdf_streaming.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import "proto/common.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_gcm_hkdf_streaming_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_gcm_hkdf_streaming_go_proto";

message AesGcmHkdfStreamingParams {
uint32 ciphertext_segment_size = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_gcm_siv.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_gcm_siv_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/aes_gcm_siv_go_proto";

// The only allowed IV size is 12 bytes and tag size is 16 bytes.
// Thus, accept no params.
Expand Down
2 changes: 1 addition & 1 deletion proto/aes_siv.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/aes_siv_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/aes_siv_go_proto";

// Tink implements RFC 5297 (https://www.rfc-editor.org/rfc/rfc5297) for
// AES-SIV, putting the SIV/Tag at the beginning of the ciphertext.
Expand Down
2 changes: 1 addition & 1 deletion proto/chacha20_poly1305.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/chacha20_poly1305_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/chacha20_poly1305_go_proto";

message ChaCha20Poly1305KeyFormat {}

Expand Down
2 changes: 1 addition & 1 deletion proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/common_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/common_go_proto";

enum EllipticCurveType {
UNKNOWN_CURVE = 0;
Expand Down
2 changes: 1 addition & 1 deletion proto/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/config_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/config_go_proto";

// An entry that describes a key type to be used with Tink library,
// specifying the corresponding primitive, key manager, and deprecation status.
Expand Down
2 changes: 1 addition & 1 deletion proto/ecdsa.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import "proto/common.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/ecdsa_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/ecdsa_go_proto";

enum EcdsaSignatureEncoding {
UNKNOWN_ENCODING = 0;
Expand Down
2 changes: 1 addition & 1 deletion proto/ecies_aead_hkdf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import "proto/tink.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/ecies_aead_hkdf_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/ecies_aead_hkdf_go_proto";

// Protos for keys for ECIES with HKDF and AEAD encryption.
//
Expand Down
2 changes: 1 addition & 1 deletion proto/ed25519.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/ed25519_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/ed25519_go_proto";

message Ed25519KeyFormat {
uint32 version = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/empty.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/empty_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/empty_go_proto";

message Empty {}
2 changes: 1 addition & 1 deletion proto/hkdf_prf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import "proto/common.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/hkdf_prf_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/hkdf_prf_proto";

message HkdfPrfParams {
HashType hash = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/hmac.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import "proto/common.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/hmac_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/hmac_go_proto";

message HmacParams {
HashType hash = 1; // HashType is an enum.
Expand Down
2 changes: 1 addition & 1 deletion proto/hmac_prf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import "proto/common.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/hmac_prf_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/hmac_prf_go_proto";

message HmacPrfParams {
HashType hash = 1; // HashType is an enum.
Expand Down
2 changes: 1 addition & 1 deletion proto/hpke.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/hpke_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/hpke_proto";

enum HpkeKem {
KEM_UNKNOWN = 0;
Expand Down
2 changes: 1 addition & 1 deletion proto/jwt_ecdsa.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/jwt_ecdsa_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/jwt_ecdsa_go_proto";

// See https://datatracker.ietf.org/doc/html/rfc7518#section-3.4
enum JwtEcdsaAlgorithm {
Expand Down
2 changes: 1 addition & 1 deletion proto/jwt_hmac.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/jwt_hmac_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/jwt_hmac_go_proto";

// See https://datatracker.ietf.org/doc/html/rfc7518#section-3.2
enum JwtHmacAlgorithm {
Expand Down
2 changes: 1 addition & 1 deletion proto/jwt_rsa_ssa_pkcs1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/rsa_ssa_pkcs1_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/rsa_ssa_pkcs1_go_proto";

// See https://datatracker.ietf.org/doc/html/rfc7518#section-3.3
enum JwtRsaSsaPkcs1Algorithm {
Expand Down
2 changes: 1 addition & 1 deletion proto/jwt_rsa_ssa_pss.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/jwt_rsa_ssa_pss_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/jwt_rsa_ssa_pss_go_proto";

// See https://datatracker.ietf.org/doc/html/rfc7518#section-3.5
enum JwtRsaSsaPssAlgorithm {
Expand Down
2 changes: 1 addition & 1 deletion proto/kms_aead.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/kms_aead_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/kms_aead_go_proto";

message KmsAeadKeyFormat {
// Required.
Expand Down
2 changes: 1 addition & 1 deletion proto/kms_envelope.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import "proto/tink.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/kms_envelope_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/kms_envelope_go_proto";

message KmsEnvelopeAeadKeyFormat {
// Required.
Expand Down
2 changes: 1 addition & 1 deletion proto/prf_based_deriver.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import "proto/tink.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/prf_based_deriver_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/prf_based_deriver_go_proto";

message PrfBasedDeriverParams {
KeyTemplate derived_key_template = 1;
Expand Down
2 changes: 1 addition & 1 deletion proto/rsa_ssa_pkcs1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import "proto/common.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/rsa_ssa_pkcs1_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/rsa_ssa_pkcs1_go_proto";

message RsaSsaPkcs1Params {
// Hash function used in computing hash of the signing message
Expand Down
2 changes: 1 addition & 1 deletion proto/rsa_ssa_pss.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import "proto/common.proto";

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/rsa_ssa_pss_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/rsa_ssa_pss_go_proto";

message RsaSsaPssParams {
// Hash function used in computing hash of the signing message
Expand Down
2 changes: 1 addition & 1 deletion proto/tink.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/tink_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/tink_go_proto";
option objc_class_prefix = "TINKPB";

// Each instantiation of a Tink primitive is identified by type_url,
Expand Down
2 changes: 1 addition & 1 deletion proto/xchacha20_poly1305.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package google.crypto.tink;

option java_package = "com.google.crypto.tink.proto";
option java_multiple_files = true;
option go_package = "github.com/google/tink/go/proto/xchacha20_poly1305_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/xchacha20_poly1305_go_proto";

message XChaCha20Poly1305KeyFormat {
uint32 version = 1;
Expand Down

0 comments on commit 76aa014

Please sign in to comment.