Skip to content

Commit

Permalink
Fix go_package field in aes_* proto definitions
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 623614807
Change-Id: Iaf488f9f834ede29e8fd4a621cdc54710386beb9
  • Loading branch information
morambro authored and copybara-github committed Apr 10, 2024
1 parent 7e8b475 commit 826d2b9
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
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/tink-crypto/tink-go/v2/aes_cmac_prf_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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/tink-crypto/tink-go/v2/aes_ctr_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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/tink-crypto/tink-go/v2/aes_ctr_hmac_aead_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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/tink-crypto/tink-go/v2/aes_ctr_hmac_streaming_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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/tink-crypto/tink-go/v2/aes_eax_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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/tink-crypto/tink-go/v2/aes_gcm_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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/tink-crypto/tink-go/v2/aes_gcm_hkdf_streaming_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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/tink-crypto/tink-go/v2/aes_gcm_siv_go_proto";
option go_package = "github.com/tink-crypto/tink-go/v2/proto/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

0 comments on commit 826d2b9

Please sign in to comment.