xref: /aosp_15_r20/external/tink/go/proto/ecdsa_go_proto/ecdsa.pb.go (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1// Copyright 2017 Google Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15////////////////////////////////////////////////////////////////////////////////
16
17// Definitions for Elliptic Curve Digital Signature Algorithm (ECDSA).
18
19// Code generated by protoc-gen-go. DO NOT EDIT.
20// versions:
21// 	protoc-gen-go v1.28.1
22// 	protoc        v3.21.12
23// source: third_party/tink/proto/ecdsa.proto
24
25package ecdsa_go_proto
26
27import (
28	common_go_proto "github.com/google/tink/go/proto/common_go_proto"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31	reflect "reflect"
32	sync "sync"
33)
34
35const (
36	// Verify that this generated code is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38	// Verify that runtime/protoimpl is sufficiently up-to-date.
39	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40)
41
42type EcdsaSignatureEncoding int32
43
44const (
45	EcdsaSignatureEncoding_UNKNOWN_ENCODING EcdsaSignatureEncoding = 0
46	// The signature's format is r || s, where r and s are zero-padded and have
47	// the same size in bytes as the order of the curve. For example, for NIST
48	// P-256 curve, r and s are zero-padded to 32 bytes.
49	EcdsaSignatureEncoding_IEEE_P1363 EcdsaSignatureEncoding = 1
50	// The signature is encoded using ASN.1
51	// (https://tools.ietf.org/html/rfc5480#appendix-A):
52	//
53	//	ECDSA-Sig-Value :: = SEQUENCE {
54	//	 r INTEGER,
55	//	 s INTEGER
56	//	}
57	EcdsaSignatureEncoding_DER EcdsaSignatureEncoding = 2
58)
59
60// Enum value maps for EcdsaSignatureEncoding.
61var (
62	EcdsaSignatureEncoding_name = map[int32]string{
63		0: "UNKNOWN_ENCODING",
64		1: "IEEE_P1363",
65		2: "DER",
66	}
67	EcdsaSignatureEncoding_value = map[string]int32{
68		"UNKNOWN_ENCODING": 0,
69		"IEEE_P1363":       1,
70		"DER":              2,
71	}
72)
73
74func (x EcdsaSignatureEncoding) Enum() *EcdsaSignatureEncoding {
75	p := new(EcdsaSignatureEncoding)
76	*p = x
77	return p
78}
79
80func (x EcdsaSignatureEncoding) String() string {
81	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
82}
83
84func (EcdsaSignatureEncoding) Descriptor() protoreflect.EnumDescriptor {
85	return file_third_party_tink_proto_ecdsa_proto_enumTypes[0].Descriptor()
86}
87
88func (EcdsaSignatureEncoding) Type() protoreflect.EnumType {
89	return &file_third_party_tink_proto_ecdsa_proto_enumTypes[0]
90}
91
92func (x EcdsaSignatureEncoding) Number() protoreflect.EnumNumber {
93	return protoreflect.EnumNumber(x)
94}
95
96// Deprecated: Use EcdsaSignatureEncoding.Descriptor instead.
97func (EcdsaSignatureEncoding) EnumDescriptor() ([]byte, []int) {
98	return file_third_party_tink_proto_ecdsa_proto_rawDescGZIP(), []int{0}
99}
100
101// Protos for Ecdsa.
102type EcdsaParams struct {
103	state         protoimpl.MessageState
104	sizeCache     protoimpl.SizeCache
105	unknownFields protoimpl.UnknownFields
106
107	// Required.
108	HashType common_go_proto.HashType `protobuf:"varint,1,opt,name=hash_type,json=hashType,proto3,enum=google.crypto.tink.HashType" json:"hash_type,omitempty"`
109	// Required.
110	Curve common_go_proto.EllipticCurveType `protobuf:"varint,2,opt,name=curve,proto3,enum=google.crypto.tink.EllipticCurveType" json:"curve,omitempty"`
111	// Required.
112	Encoding EcdsaSignatureEncoding `protobuf:"varint,3,opt,name=encoding,proto3,enum=google.crypto.tink.EcdsaSignatureEncoding" json:"encoding,omitempty"`
113}
114
115func (x *EcdsaParams) Reset() {
116	*x = EcdsaParams{}
117	if protoimpl.UnsafeEnabled {
118		mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[0]
119		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
120		ms.StoreMessageInfo(mi)
121	}
122}
123
124func (x *EcdsaParams) String() string {
125	return protoimpl.X.MessageStringOf(x)
126}
127
128func (*EcdsaParams) ProtoMessage() {}
129
130func (x *EcdsaParams) ProtoReflect() protoreflect.Message {
131	mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[0]
132	if protoimpl.UnsafeEnabled && x != nil {
133		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134		if ms.LoadMessageInfo() == nil {
135			ms.StoreMessageInfo(mi)
136		}
137		return ms
138	}
139	return mi.MessageOf(x)
140}
141
142// Deprecated: Use EcdsaParams.ProtoReflect.Descriptor instead.
143func (*EcdsaParams) Descriptor() ([]byte, []int) {
144	return file_third_party_tink_proto_ecdsa_proto_rawDescGZIP(), []int{0}
145}
146
147func (x *EcdsaParams) GetHashType() common_go_proto.HashType {
148	if x != nil {
149		return x.HashType
150	}
151	return common_go_proto.HashType(0)
152}
153
154func (x *EcdsaParams) GetCurve() common_go_proto.EllipticCurveType {
155	if x != nil {
156		return x.Curve
157	}
158	return common_go_proto.EllipticCurveType(0)
159}
160
161func (x *EcdsaParams) GetEncoding() EcdsaSignatureEncoding {
162	if x != nil {
163		return x.Encoding
164	}
165	return EcdsaSignatureEncoding_UNKNOWN_ENCODING
166}
167
168// key_type: type.googleapis.com/google.crypto.tink.EcdsaPublicKey
169type EcdsaPublicKey struct {
170	state         protoimpl.MessageState
171	sizeCache     protoimpl.SizeCache
172	unknownFields protoimpl.UnknownFields
173
174	// Required.
175	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
176	// Required.
177	Params *EcdsaParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
178	// Affine coordinates of the public key in bigendian representation. The
179	// public key is a point (x, y) on the curve defined by params.curve. For
180	// ECDH, it is crucial to verify whether the public key point (x, y) is on the
181	// private's key curve. For ECDSA, such verification is a defense in depth.
182	// Required.
183	X []byte `protobuf:"bytes,3,opt,name=x,proto3" json:"x,omitempty"`
184	// Required.
185	Y []byte `protobuf:"bytes,4,opt,name=y,proto3" json:"y,omitempty"`
186}
187
188func (x *EcdsaPublicKey) Reset() {
189	*x = EcdsaPublicKey{}
190	if protoimpl.UnsafeEnabled {
191		mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[1]
192		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193		ms.StoreMessageInfo(mi)
194	}
195}
196
197func (x *EcdsaPublicKey) String() string {
198	return protoimpl.X.MessageStringOf(x)
199}
200
201func (*EcdsaPublicKey) ProtoMessage() {}
202
203func (x *EcdsaPublicKey) ProtoReflect() protoreflect.Message {
204	mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[1]
205	if protoimpl.UnsafeEnabled && x != nil {
206		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
207		if ms.LoadMessageInfo() == nil {
208			ms.StoreMessageInfo(mi)
209		}
210		return ms
211	}
212	return mi.MessageOf(x)
213}
214
215// Deprecated: Use EcdsaPublicKey.ProtoReflect.Descriptor instead.
216func (*EcdsaPublicKey) Descriptor() ([]byte, []int) {
217	return file_third_party_tink_proto_ecdsa_proto_rawDescGZIP(), []int{1}
218}
219
220func (x *EcdsaPublicKey) GetVersion() uint32 {
221	if x != nil {
222		return x.Version
223	}
224	return 0
225}
226
227func (x *EcdsaPublicKey) GetParams() *EcdsaParams {
228	if x != nil {
229		return x.Params
230	}
231	return nil
232}
233
234func (x *EcdsaPublicKey) GetX() []byte {
235	if x != nil {
236		return x.X
237	}
238	return nil
239}
240
241func (x *EcdsaPublicKey) GetY() []byte {
242	if x != nil {
243		return x.Y
244	}
245	return nil
246}
247
248// key_type: type.googleapis.com/google.crypto.tink.EcdsaPrivateKey
249type EcdsaPrivateKey struct {
250	state         protoimpl.MessageState
251	sizeCache     protoimpl.SizeCache
252	unknownFields protoimpl.UnknownFields
253
254	// Required.
255	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
256	// Required.
257	PublicKey *EcdsaPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
258	// Unsigned big integer in bigendian representation.
259	// Required.
260	KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
261}
262
263func (x *EcdsaPrivateKey) Reset() {
264	*x = EcdsaPrivateKey{}
265	if protoimpl.UnsafeEnabled {
266		mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[2]
267		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268		ms.StoreMessageInfo(mi)
269	}
270}
271
272func (x *EcdsaPrivateKey) String() string {
273	return protoimpl.X.MessageStringOf(x)
274}
275
276func (*EcdsaPrivateKey) ProtoMessage() {}
277
278func (x *EcdsaPrivateKey) ProtoReflect() protoreflect.Message {
279	mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[2]
280	if protoimpl.UnsafeEnabled && x != nil {
281		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
282		if ms.LoadMessageInfo() == nil {
283			ms.StoreMessageInfo(mi)
284		}
285		return ms
286	}
287	return mi.MessageOf(x)
288}
289
290// Deprecated: Use EcdsaPrivateKey.ProtoReflect.Descriptor instead.
291func (*EcdsaPrivateKey) Descriptor() ([]byte, []int) {
292	return file_third_party_tink_proto_ecdsa_proto_rawDescGZIP(), []int{2}
293}
294
295func (x *EcdsaPrivateKey) GetVersion() uint32 {
296	if x != nil {
297		return x.Version
298	}
299	return 0
300}
301
302func (x *EcdsaPrivateKey) GetPublicKey() *EcdsaPublicKey {
303	if x != nil {
304		return x.PublicKey
305	}
306	return nil
307}
308
309func (x *EcdsaPrivateKey) GetKeyValue() []byte {
310	if x != nil {
311		return x.KeyValue
312	}
313	return nil
314}
315
316type EcdsaKeyFormat struct {
317	state         protoimpl.MessageState
318	sizeCache     protoimpl.SizeCache
319	unknownFields protoimpl.UnknownFields
320
321	// Required.
322	Params  *EcdsaParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
323	Version uint32       `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
324}
325
326func (x *EcdsaKeyFormat) Reset() {
327	*x = EcdsaKeyFormat{}
328	if protoimpl.UnsafeEnabled {
329		mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[3]
330		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
331		ms.StoreMessageInfo(mi)
332	}
333}
334
335func (x *EcdsaKeyFormat) String() string {
336	return protoimpl.X.MessageStringOf(x)
337}
338
339func (*EcdsaKeyFormat) ProtoMessage() {}
340
341func (x *EcdsaKeyFormat) ProtoReflect() protoreflect.Message {
342	mi := &file_third_party_tink_proto_ecdsa_proto_msgTypes[3]
343	if protoimpl.UnsafeEnabled && x != nil {
344		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
345		if ms.LoadMessageInfo() == nil {
346			ms.StoreMessageInfo(mi)
347		}
348		return ms
349	}
350	return mi.MessageOf(x)
351}
352
353// Deprecated: Use EcdsaKeyFormat.ProtoReflect.Descriptor instead.
354func (*EcdsaKeyFormat) Descriptor() ([]byte, []int) {
355	return file_third_party_tink_proto_ecdsa_proto_rawDescGZIP(), []int{3}
356}
357
358func (x *EcdsaKeyFormat) GetParams() *EcdsaParams {
359	if x != nil {
360		return x.Params
361	}
362	return nil
363}
364
365func (x *EcdsaKeyFormat) GetVersion() uint32 {
366	if x != nil {
367		return x.Version
368	}
369	return 0
370}
371
372var File_third_party_tink_proto_ecdsa_proto protoreflect.FileDescriptor
373
374var file_third_party_tink_proto_ecdsa_proto_rawDesc = []byte{
375	0x0a, 0x22, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69,
376	0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x63, 0x64, 0x73, 0x61, 0x2e, 0x70,
377	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79,
378	0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x1a, 0x23, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f,
379	0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
380	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01,
381	0x0a, 0x0b, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, 0x0a,
382	0x09, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
383	0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
384	0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08,
385	0x68, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x63, 0x75, 0x72, 0x76,
386	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
387	0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x6c, 0x6c,
388	0x69, 0x70, 0x74, 0x69, 0x63, 0x43, 0x75, 0x72, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05,
389	0x63, 0x75, 0x72, 0x76, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e,
390	0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
391	0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x64,
392	0x73, 0x61, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64,
393	0x69, 0x6e, 0x67, 0x52, 0x08, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x7f, 0x0a,
394	0x0e, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12,
395	0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
396	0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x06, 0x70, 0x61, 0x72,
397	0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
398	0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45,
399	0x63, 0x64, 0x73, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61,
400	0x6d, 0x73, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x78,
401	0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x79, 0x22, 0x8b,
402	0x01, 0x0a, 0x0f, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b,
403	0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
404	0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a,
405	0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
406	0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
407	0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50, 0x75, 0x62, 0x6c, 0x69,
408	0x63, 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12,
409	0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01,
410	0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x63, 0x0a, 0x0e,
411	0x45, 0x63, 0x64, 0x73, 0x61, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x37,
412	0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f,
413	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74,
414	0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x64, 0x73, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52,
415	0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
416	0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
417	0x6e, 0x2a, 0x47, 0x0a, 0x16, 0x45, 0x63, 0x64, 0x73, 0x61, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
418	0x75, 0x72, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x10, 0x55,
419	0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x10,
420	0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x45, 0x45, 0x45, 0x5f, 0x50, 0x31, 0x33, 0x36, 0x33, 0x10,
421	0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x52, 0x10, 0x02, 0x42, 0x50, 0x0a, 0x1c, 0x63, 0x6f,
422	0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e,
423	0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69,
424	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
425	0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x63,
426	0x64, 0x73, 0x61, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72,
427	0x6f, 0x74, 0x6f, 0x33,
428}
429
430var (
431	file_third_party_tink_proto_ecdsa_proto_rawDescOnce sync.Once
432	file_third_party_tink_proto_ecdsa_proto_rawDescData = file_third_party_tink_proto_ecdsa_proto_rawDesc
433)
434
435func file_third_party_tink_proto_ecdsa_proto_rawDescGZIP() []byte {
436	file_third_party_tink_proto_ecdsa_proto_rawDescOnce.Do(func() {
437		file_third_party_tink_proto_ecdsa_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_party_tink_proto_ecdsa_proto_rawDescData)
438	})
439	return file_third_party_tink_proto_ecdsa_proto_rawDescData
440}
441
442var file_third_party_tink_proto_ecdsa_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
443var file_third_party_tink_proto_ecdsa_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
444var file_third_party_tink_proto_ecdsa_proto_goTypes = []interface{}{
445	(EcdsaSignatureEncoding)(0),            // 0: google.crypto.tink.EcdsaSignatureEncoding
446	(*EcdsaParams)(nil),                    // 1: google.crypto.tink.EcdsaParams
447	(*EcdsaPublicKey)(nil),                 // 2: google.crypto.tink.EcdsaPublicKey
448	(*EcdsaPrivateKey)(nil),                // 3: google.crypto.tink.EcdsaPrivateKey
449	(*EcdsaKeyFormat)(nil),                 // 4: google.crypto.tink.EcdsaKeyFormat
450	(common_go_proto.HashType)(0),          // 5: google.crypto.tink.HashType
451	(common_go_proto.EllipticCurveType)(0), // 6: google.crypto.tink.EllipticCurveType
452}
453var file_third_party_tink_proto_ecdsa_proto_depIdxs = []int32{
454	5, // 0: google.crypto.tink.EcdsaParams.hash_type:type_name -> google.crypto.tink.HashType
455	6, // 1: google.crypto.tink.EcdsaParams.curve:type_name -> google.crypto.tink.EllipticCurveType
456	0, // 2: google.crypto.tink.EcdsaParams.encoding:type_name -> google.crypto.tink.EcdsaSignatureEncoding
457	1, // 3: google.crypto.tink.EcdsaPublicKey.params:type_name -> google.crypto.tink.EcdsaParams
458	2, // 4: google.crypto.tink.EcdsaPrivateKey.public_key:type_name -> google.crypto.tink.EcdsaPublicKey
459	1, // 5: google.crypto.tink.EcdsaKeyFormat.params:type_name -> google.crypto.tink.EcdsaParams
460	6, // [6:6] is the sub-list for method output_type
461	6, // [6:6] is the sub-list for method input_type
462	6, // [6:6] is the sub-list for extension type_name
463	6, // [6:6] is the sub-list for extension extendee
464	0, // [0:6] is the sub-list for field type_name
465}
466
467func init() { file_third_party_tink_proto_ecdsa_proto_init() }
468func file_third_party_tink_proto_ecdsa_proto_init() {
469	if File_third_party_tink_proto_ecdsa_proto != nil {
470		return
471	}
472	if !protoimpl.UnsafeEnabled {
473		file_third_party_tink_proto_ecdsa_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
474			switch v := v.(*EcdsaParams); i {
475			case 0:
476				return &v.state
477			case 1:
478				return &v.sizeCache
479			case 2:
480				return &v.unknownFields
481			default:
482				return nil
483			}
484		}
485		file_third_party_tink_proto_ecdsa_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
486			switch v := v.(*EcdsaPublicKey); i {
487			case 0:
488				return &v.state
489			case 1:
490				return &v.sizeCache
491			case 2:
492				return &v.unknownFields
493			default:
494				return nil
495			}
496		}
497		file_third_party_tink_proto_ecdsa_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
498			switch v := v.(*EcdsaPrivateKey); i {
499			case 0:
500				return &v.state
501			case 1:
502				return &v.sizeCache
503			case 2:
504				return &v.unknownFields
505			default:
506				return nil
507			}
508		}
509		file_third_party_tink_proto_ecdsa_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
510			switch v := v.(*EcdsaKeyFormat); i {
511			case 0:
512				return &v.state
513			case 1:
514				return &v.sizeCache
515			case 2:
516				return &v.unknownFields
517			default:
518				return nil
519			}
520		}
521	}
522	type x struct{}
523	out := protoimpl.TypeBuilder{
524		File: protoimpl.DescBuilder{
525			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
526			RawDescriptor: file_third_party_tink_proto_ecdsa_proto_rawDesc,
527			NumEnums:      1,
528			NumMessages:   4,
529			NumExtensions: 0,
530			NumServices:   0,
531		},
532		GoTypes:           file_third_party_tink_proto_ecdsa_proto_goTypes,
533		DependencyIndexes: file_third_party_tink_proto_ecdsa_proto_depIdxs,
534		EnumInfos:         file_third_party_tink_proto_ecdsa_proto_enumTypes,
535		MessageInfos:      file_third_party_tink_proto_ecdsa_proto_msgTypes,
536	}.Build()
537	File_third_party_tink_proto_ecdsa_proto = out.File
538	file_third_party_tink_proto_ecdsa_proto_rawDesc = nil
539	file_third_party_tink_proto_ecdsa_proto_goTypes = nil
540	file_third_party_tink_proto_ecdsa_proto_depIdxs = nil
541}
542