xref: /aosp_15_r20/external/tink/go/proto/ecies_aead_hkdf_go_proto/ecies_aead_hkdf.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/ecies_aead_hkdf.proto
24
25package ecies_aead_hkdf_go_proto
26
27import (
28	common_go_proto "github.com/google/tink/go/proto/common_go_proto"
29	tink_go_proto "github.com/google/tink/go/proto/tink_go_proto"
30	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32	reflect "reflect"
33	sync "sync"
34)
35
36const (
37	// Verify that this generated code is sufficiently up-to-date.
38	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39	// Verify that runtime/protoimpl is sufficiently up-to-date.
40	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41)
42
43// Parameters of KEM (Key Encapsulation Mechanism)
44type EciesHkdfKemParams struct {
45	state         protoimpl.MessageState
46	sizeCache     protoimpl.SizeCache
47	unknownFields protoimpl.UnknownFields
48
49	// Required.
50	CurveType common_go_proto.EllipticCurveType `protobuf:"varint,1,opt,name=curve_type,json=curveType,proto3,enum=google.crypto.tink.EllipticCurveType" json:"curve_type,omitempty"`
51	// Required.
52	HkdfHashType common_go_proto.HashType `protobuf:"varint,2,opt,name=hkdf_hash_type,json=hkdfHashType,proto3,enum=google.crypto.tink.HashType" json:"hkdf_hash_type,omitempty"`
53	// Optional.
54	HkdfSalt []byte `protobuf:"bytes,11,opt,name=hkdf_salt,json=hkdfSalt,proto3" json:"hkdf_salt,omitempty"`
55}
56
57func (x *EciesHkdfKemParams) Reset() {
58	*x = EciesHkdfKemParams{}
59	if protoimpl.UnsafeEnabled {
60		mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[0]
61		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62		ms.StoreMessageInfo(mi)
63	}
64}
65
66func (x *EciesHkdfKemParams) String() string {
67	return protoimpl.X.MessageStringOf(x)
68}
69
70func (*EciesHkdfKemParams) ProtoMessage() {}
71
72func (x *EciesHkdfKemParams) ProtoReflect() protoreflect.Message {
73	mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[0]
74	if protoimpl.UnsafeEnabled && x != nil {
75		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76		if ms.LoadMessageInfo() == nil {
77			ms.StoreMessageInfo(mi)
78		}
79		return ms
80	}
81	return mi.MessageOf(x)
82}
83
84// Deprecated: Use EciesHkdfKemParams.ProtoReflect.Descriptor instead.
85func (*EciesHkdfKemParams) Descriptor() ([]byte, []int) {
86	return file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescGZIP(), []int{0}
87}
88
89func (x *EciesHkdfKemParams) GetCurveType() common_go_proto.EllipticCurveType {
90	if x != nil {
91		return x.CurveType
92	}
93	return common_go_proto.EllipticCurveType(0)
94}
95
96func (x *EciesHkdfKemParams) GetHkdfHashType() common_go_proto.HashType {
97	if x != nil {
98		return x.HkdfHashType
99	}
100	return common_go_proto.HashType(0)
101}
102
103func (x *EciesHkdfKemParams) GetHkdfSalt() []byte {
104	if x != nil {
105		return x.HkdfSalt
106	}
107	return nil
108}
109
110// Parameters of AEAD DEM (Data Encapsulation Mechanism).
111type EciesAeadDemParams struct {
112	state         protoimpl.MessageState
113	sizeCache     protoimpl.SizeCache
114	unknownFields protoimpl.UnknownFields
115
116	// Required.
117	// Contains an Aead or DeterministicAead key format (e.g:
118	// AesCtrHmacAeadKeyFormat, AesGcmKeyFormat or AesSivKeyFormat).
119	AeadDem *tink_go_proto.KeyTemplate `protobuf:"bytes,2,opt,name=aead_dem,json=aeadDem,proto3" json:"aead_dem,omitempty"`
120}
121
122func (x *EciesAeadDemParams) Reset() {
123	*x = EciesAeadDemParams{}
124	if protoimpl.UnsafeEnabled {
125		mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[1]
126		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
127		ms.StoreMessageInfo(mi)
128	}
129}
130
131func (x *EciesAeadDemParams) String() string {
132	return protoimpl.X.MessageStringOf(x)
133}
134
135func (*EciesAeadDemParams) ProtoMessage() {}
136
137func (x *EciesAeadDemParams) ProtoReflect() protoreflect.Message {
138	mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[1]
139	if protoimpl.UnsafeEnabled && x != nil {
140		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
141		if ms.LoadMessageInfo() == nil {
142			ms.StoreMessageInfo(mi)
143		}
144		return ms
145	}
146	return mi.MessageOf(x)
147}
148
149// Deprecated: Use EciesAeadDemParams.ProtoReflect.Descriptor instead.
150func (*EciesAeadDemParams) Descriptor() ([]byte, []int) {
151	return file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescGZIP(), []int{1}
152}
153
154func (x *EciesAeadDemParams) GetAeadDem() *tink_go_proto.KeyTemplate {
155	if x != nil {
156		return x.AeadDem
157	}
158	return nil
159}
160
161type EciesAeadHkdfParams struct {
162	state         protoimpl.MessageState
163	sizeCache     protoimpl.SizeCache
164	unknownFields protoimpl.UnknownFields
165
166	// Key Encapsulation Mechanism.
167	// Required.
168	KemParams *EciesHkdfKemParams `protobuf:"bytes,1,opt,name=kem_params,json=kemParams,proto3" json:"kem_params,omitempty"`
169	// Data Encapsulation Mechanism.
170	// Required.
171	DemParams *EciesAeadDemParams `protobuf:"bytes,2,opt,name=dem_params,json=demParams,proto3" json:"dem_params,omitempty"`
172	// EC point format.
173	// Required.
174	EcPointFormat common_go_proto.EcPointFormat `protobuf:"varint,3,opt,name=ec_point_format,json=ecPointFormat,proto3,enum=google.crypto.tink.EcPointFormat" json:"ec_point_format,omitempty"`
175}
176
177func (x *EciesAeadHkdfParams) Reset() {
178	*x = EciesAeadHkdfParams{}
179	if protoimpl.UnsafeEnabled {
180		mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[2]
181		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
182		ms.StoreMessageInfo(mi)
183	}
184}
185
186func (x *EciesAeadHkdfParams) String() string {
187	return protoimpl.X.MessageStringOf(x)
188}
189
190func (*EciesAeadHkdfParams) ProtoMessage() {}
191
192func (x *EciesAeadHkdfParams) ProtoReflect() protoreflect.Message {
193	mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[2]
194	if protoimpl.UnsafeEnabled && x != nil {
195		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
196		if ms.LoadMessageInfo() == nil {
197			ms.StoreMessageInfo(mi)
198		}
199		return ms
200	}
201	return mi.MessageOf(x)
202}
203
204// Deprecated: Use EciesAeadHkdfParams.ProtoReflect.Descriptor instead.
205func (*EciesAeadHkdfParams) Descriptor() ([]byte, []int) {
206	return file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescGZIP(), []int{2}
207}
208
209func (x *EciesAeadHkdfParams) GetKemParams() *EciesHkdfKemParams {
210	if x != nil {
211		return x.KemParams
212	}
213	return nil
214}
215
216func (x *EciesAeadHkdfParams) GetDemParams() *EciesAeadDemParams {
217	if x != nil {
218		return x.DemParams
219	}
220	return nil
221}
222
223func (x *EciesAeadHkdfParams) GetEcPointFormat() common_go_proto.EcPointFormat {
224	if x != nil {
225		return x.EcPointFormat
226	}
227	return common_go_proto.EcPointFormat(0)
228}
229
230// EciesAeadHkdfPublicKey represents HybridEncryption primitive.
231// key_type: type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey
232type EciesAeadHkdfPublicKey struct {
233	state         protoimpl.MessageState
234	sizeCache     protoimpl.SizeCache
235	unknownFields protoimpl.UnknownFields
236
237	// Required.
238	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
239	// Required.
240	Params *EciesAeadHkdfParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
241	// Affine coordinates of the public key in bigendian representation.
242	// The public key is a point (x, y) on the curve defined by
243	// params.kem_params.curve. Required.
244	X []byte `protobuf:"bytes,3,opt,name=x,proto3" json:"x,omitempty"`
245	// Required.
246	Y []byte `protobuf:"bytes,4,opt,name=y,proto3" json:"y,omitempty"`
247}
248
249func (x *EciesAeadHkdfPublicKey) Reset() {
250	*x = EciesAeadHkdfPublicKey{}
251	if protoimpl.UnsafeEnabled {
252		mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[3]
253		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
254		ms.StoreMessageInfo(mi)
255	}
256}
257
258func (x *EciesAeadHkdfPublicKey) String() string {
259	return protoimpl.X.MessageStringOf(x)
260}
261
262func (*EciesAeadHkdfPublicKey) ProtoMessage() {}
263
264func (x *EciesAeadHkdfPublicKey) ProtoReflect() protoreflect.Message {
265	mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[3]
266	if protoimpl.UnsafeEnabled && x != nil {
267		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268		if ms.LoadMessageInfo() == nil {
269			ms.StoreMessageInfo(mi)
270		}
271		return ms
272	}
273	return mi.MessageOf(x)
274}
275
276// Deprecated: Use EciesAeadHkdfPublicKey.ProtoReflect.Descriptor instead.
277func (*EciesAeadHkdfPublicKey) Descriptor() ([]byte, []int) {
278	return file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescGZIP(), []int{3}
279}
280
281func (x *EciesAeadHkdfPublicKey) GetVersion() uint32 {
282	if x != nil {
283		return x.Version
284	}
285	return 0
286}
287
288func (x *EciesAeadHkdfPublicKey) GetParams() *EciesAeadHkdfParams {
289	if x != nil {
290		return x.Params
291	}
292	return nil
293}
294
295func (x *EciesAeadHkdfPublicKey) GetX() []byte {
296	if x != nil {
297		return x.X
298	}
299	return nil
300}
301
302func (x *EciesAeadHkdfPublicKey) GetY() []byte {
303	if x != nil {
304		return x.Y
305	}
306	return nil
307}
308
309// EciesKdfAeadPrivateKey represents HybridDecryption primitive.
310// key_type: type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey
311type EciesAeadHkdfPrivateKey struct {
312	state         protoimpl.MessageState
313	sizeCache     protoimpl.SizeCache
314	unknownFields protoimpl.UnknownFields
315
316	// Required.
317	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
318	// Required.
319	PublicKey *EciesAeadHkdfPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
320	// Required.
321	KeyValue []byte `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // Big integer in bigendian representation.
322}
323
324func (x *EciesAeadHkdfPrivateKey) Reset() {
325	*x = EciesAeadHkdfPrivateKey{}
326	if protoimpl.UnsafeEnabled {
327		mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[4]
328		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
329		ms.StoreMessageInfo(mi)
330	}
331}
332
333func (x *EciesAeadHkdfPrivateKey) String() string {
334	return protoimpl.X.MessageStringOf(x)
335}
336
337func (*EciesAeadHkdfPrivateKey) ProtoMessage() {}
338
339func (x *EciesAeadHkdfPrivateKey) ProtoReflect() protoreflect.Message {
340	mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[4]
341	if protoimpl.UnsafeEnabled && x != nil {
342		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
343		if ms.LoadMessageInfo() == nil {
344			ms.StoreMessageInfo(mi)
345		}
346		return ms
347	}
348	return mi.MessageOf(x)
349}
350
351// Deprecated: Use EciesAeadHkdfPrivateKey.ProtoReflect.Descriptor instead.
352func (*EciesAeadHkdfPrivateKey) Descriptor() ([]byte, []int) {
353	return file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescGZIP(), []int{4}
354}
355
356func (x *EciesAeadHkdfPrivateKey) GetVersion() uint32 {
357	if x != nil {
358		return x.Version
359	}
360	return 0
361}
362
363func (x *EciesAeadHkdfPrivateKey) GetPublicKey() *EciesAeadHkdfPublicKey {
364	if x != nil {
365		return x.PublicKey
366	}
367	return nil
368}
369
370func (x *EciesAeadHkdfPrivateKey) GetKeyValue() []byte {
371	if x != nil {
372		return x.KeyValue
373	}
374	return nil
375}
376
377type EciesAeadHkdfKeyFormat struct {
378	state         protoimpl.MessageState
379	sizeCache     protoimpl.SizeCache
380	unknownFields protoimpl.UnknownFields
381
382	// Required.
383	Params *EciesAeadHkdfParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
384}
385
386func (x *EciesAeadHkdfKeyFormat) Reset() {
387	*x = EciesAeadHkdfKeyFormat{}
388	if protoimpl.UnsafeEnabled {
389		mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[5]
390		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
391		ms.StoreMessageInfo(mi)
392	}
393}
394
395func (x *EciesAeadHkdfKeyFormat) String() string {
396	return protoimpl.X.MessageStringOf(x)
397}
398
399func (*EciesAeadHkdfKeyFormat) ProtoMessage() {}
400
401func (x *EciesAeadHkdfKeyFormat) ProtoReflect() protoreflect.Message {
402	mi := &file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[5]
403	if protoimpl.UnsafeEnabled && x != nil {
404		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
405		if ms.LoadMessageInfo() == nil {
406			ms.StoreMessageInfo(mi)
407		}
408		return ms
409	}
410	return mi.MessageOf(x)
411}
412
413// Deprecated: Use EciesAeadHkdfKeyFormat.ProtoReflect.Descriptor instead.
414func (*EciesAeadHkdfKeyFormat) Descriptor() ([]byte, []int) {
415	return file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescGZIP(), []int{5}
416}
417
418func (x *EciesAeadHkdfKeyFormat) GetParams() *EciesAeadHkdfParams {
419	if x != nil {
420		return x.Params
421	}
422	return nil
423}
424
425var File_third_party_tink_proto_ecies_aead_hkdf_proto protoreflect.FileDescriptor
426
427var file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDesc = []byte{
428	0x0a, 0x2c, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69,
429	0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x61,
430	0x65, 0x61, 0x64, 0x5f, 0x68, 0x6b, 0x64, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12,
431	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69,
432	0x6e, 0x6b, 0x1a, 0x23, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x79, 0x2f,
433	0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
434	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x74, 0x68, 0x69, 0x72, 0x64, 0x5f, 0x70,
435	0x61, 0x72, 0x74, 0x79, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
436	0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x12, 0x45,
437	0x63, 0x69, 0x65, 0x73, 0x48, 0x6b, 0x64, 0x66, 0x4b, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d,
438	0x73, 0x12, 0x44, 0x0a, 0x0a, 0x63, 0x75, 0x72, 0x76, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
439	0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
440	0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x6c, 0x6c, 0x69, 0x70,
441	0x74, 0x69, 0x63, 0x43, 0x75, 0x72, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x75,
442	0x72, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0e, 0x68, 0x6b, 0x64, 0x66, 0x5f,
443	0x68, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
444	0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e,
445	0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x68,
446	0x6b, 0x64, 0x66, 0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x68,
447	0x6b, 0x64, 0x66, 0x5f, 0x73, 0x61, 0x6c, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08,
448	0x68, 0x6b, 0x64, 0x66, 0x53, 0x61, 0x6c, 0x74, 0x22, 0x50, 0x0a, 0x12, 0x45, 0x63, 0x69, 0x65,
449	0x73, 0x41, 0x65, 0x61, 0x64, 0x44, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3a,
450	0x0a, 0x08, 0x61, 0x65, 0x61, 0x64, 0x5f, 0x64, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
451	0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
452	0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x4b, 0x65, 0x79, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
453	0x65, 0x52, 0x07, 0x61, 0x65, 0x61, 0x64, 0x44, 0x65, 0x6d, 0x22, 0xee, 0x01, 0x0a, 0x13, 0x45,
454	0x63, 0x69, 0x65, 0x73, 0x41, 0x65, 0x61, 0x64, 0x48, 0x6b, 0x64, 0x66, 0x50, 0x61, 0x72, 0x61,
455	0x6d, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x6b, 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
456	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
457	0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x69, 0x65,
458	0x73, 0x48, 0x6b, 0x64, 0x66, 0x4b, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x09,
459	0x6b, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x0a, 0x64, 0x65, 0x6d,
460	0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
461	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69,
462	0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x69, 0x65, 0x73, 0x41, 0x65, 0x61, 0x64, 0x44, 0x65, 0x6d, 0x50,
463	0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x09, 0x64, 0x65, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
464	0x12, 0x49, 0x0a, 0x0f, 0x65, 0x63, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x66, 0x6f, 0x72,
465	0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
466	0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45,
467	0x63, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x0d, 0x65, 0x63,
468	0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x8f, 0x01, 0x0a, 0x16,
469	0x45, 0x63, 0x69, 0x65, 0x73, 0x41, 0x65, 0x61, 0x64, 0x48, 0x6b, 0x64, 0x66, 0x50, 0x75, 0x62,
470	0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
471	0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
472	0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
473	0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
474	0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x69, 0x65, 0x73, 0x41, 0x65, 0x61, 0x64, 0x48,
475	0x6b, 0x64, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d,
476	0x73, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x78, 0x12,
477	0x0c, 0x0a, 0x01, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x79, 0x22, 0x9b, 0x01,
478	0x0a, 0x17, 0x45, 0x63, 0x69, 0x65, 0x73, 0x41, 0x65, 0x61, 0x64, 0x48, 0x6b, 0x64, 0x66, 0x50,
479	0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72,
480	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,
481	0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65,
482	0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
483	0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x69,
484	0x65, 0x73, 0x41, 0x65, 0x61, 0x64, 0x48, 0x6b, 0x64, 0x66, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
485	0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b,
486	0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
487	0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x59, 0x0a, 0x16, 0x45,
488	0x63, 0x69, 0x65, 0x73, 0x41, 0x65, 0x61, 0x64, 0x48, 0x6b, 0x64, 0x66, 0x4b, 0x65, 0x79, 0x46,
489	0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18,
490	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
491	0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x45, 0x63, 0x69, 0x65, 0x73,
492	0x41, 0x65, 0x61, 0x64, 0x48, 0x6b, 0x64, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06,
493	0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x5a, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
494	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b,
495	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
496	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x69, 0x6e, 0x6b,
497	0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x63, 0x69, 0x65, 0x73, 0x5f,
498	0x61, 0x65, 0x61, 0x64, 0x5f, 0x68, 0x6b, 0x64, 0x66, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f,
499	0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
500}
501
502var (
503	file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescOnce sync.Once
504	file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescData = file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDesc
505)
506
507func file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescGZIP() []byte {
508	file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescOnce.Do(func() {
509		file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescData = protoimpl.X.CompressGZIP(file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescData)
510	})
511	return file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDescData
512}
513
514var file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
515var file_third_party_tink_proto_ecies_aead_hkdf_proto_goTypes = []interface{}{
516	(*EciesHkdfKemParams)(nil),             // 0: google.crypto.tink.EciesHkdfKemParams
517	(*EciesAeadDemParams)(nil),             // 1: google.crypto.tink.EciesAeadDemParams
518	(*EciesAeadHkdfParams)(nil),            // 2: google.crypto.tink.EciesAeadHkdfParams
519	(*EciesAeadHkdfPublicKey)(nil),         // 3: google.crypto.tink.EciesAeadHkdfPublicKey
520	(*EciesAeadHkdfPrivateKey)(nil),        // 4: google.crypto.tink.EciesAeadHkdfPrivateKey
521	(*EciesAeadHkdfKeyFormat)(nil),         // 5: google.crypto.tink.EciesAeadHkdfKeyFormat
522	(common_go_proto.EllipticCurveType)(0), // 6: google.crypto.tink.EllipticCurveType
523	(common_go_proto.HashType)(0),          // 7: google.crypto.tink.HashType
524	(*tink_go_proto.KeyTemplate)(nil),      // 8: google.crypto.tink.KeyTemplate
525	(common_go_proto.EcPointFormat)(0),     // 9: google.crypto.tink.EcPointFormat
526}
527var file_third_party_tink_proto_ecies_aead_hkdf_proto_depIdxs = []int32{
528	6, // 0: google.crypto.tink.EciesHkdfKemParams.curve_type:type_name -> google.crypto.tink.EllipticCurveType
529	7, // 1: google.crypto.tink.EciesHkdfKemParams.hkdf_hash_type:type_name -> google.crypto.tink.HashType
530	8, // 2: google.crypto.tink.EciesAeadDemParams.aead_dem:type_name -> google.crypto.tink.KeyTemplate
531	0, // 3: google.crypto.tink.EciesAeadHkdfParams.kem_params:type_name -> google.crypto.tink.EciesHkdfKemParams
532	1, // 4: google.crypto.tink.EciesAeadHkdfParams.dem_params:type_name -> google.crypto.tink.EciesAeadDemParams
533	9, // 5: google.crypto.tink.EciesAeadHkdfParams.ec_point_format:type_name -> google.crypto.tink.EcPointFormat
534	2, // 6: google.crypto.tink.EciesAeadHkdfPublicKey.params:type_name -> google.crypto.tink.EciesAeadHkdfParams
535	3, // 7: google.crypto.tink.EciesAeadHkdfPrivateKey.public_key:type_name -> google.crypto.tink.EciesAeadHkdfPublicKey
536	2, // 8: google.crypto.tink.EciesAeadHkdfKeyFormat.params:type_name -> google.crypto.tink.EciesAeadHkdfParams
537	9, // [9:9] is the sub-list for method output_type
538	9, // [9:9] is the sub-list for method input_type
539	9, // [9:9] is the sub-list for extension type_name
540	9, // [9:9] is the sub-list for extension extendee
541	0, // [0:9] is the sub-list for field type_name
542}
543
544func init() { file_third_party_tink_proto_ecies_aead_hkdf_proto_init() }
545func file_third_party_tink_proto_ecies_aead_hkdf_proto_init() {
546	if File_third_party_tink_proto_ecies_aead_hkdf_proto != nil {
547		return
548	}
549	if !protoimpl.UnsafeEnabled {
550		file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
551			switch v := v.(*EciesHkdfKemParams); i {
552			case 0:
553				return &v.state
554			case 1:
555				return &v.sizeCache
556			case 2:
557				return &v.unknownFields
558			default:
559				return nil
560			}
561		}
562		file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
563			switch v := v.(*EciesAeadDemParams); i {
564			case 0:
565				return &v.state
566			case 1:
567				return &v.sizeCache
568			case 2:
569				return &v.unknownFields
570			default:
571				return nil
572			}
573		}
574		file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
575			switch v := v.(*EciesAeadHkdfParams); i {
576			case 0:
577				return &v.state
578			case 1:
579				return &v.sizeCache
580			case 2:
581				return &v.unknownFields
582			default:
583				return nil
584			}
585		}
586		file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
587			switch v := v.(*EciesAeadHkdfPublicKey); i {
588			case 0:
589				return &v.state
590			case 1:
591				return &v.sizeCache
592			case 2:
593				return &v.unknownFields
594			default:
595				return nil
596			}
597		}
598		file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
599			switch v := v.(*EciesAeadHkdfPrivateKey); i {
600			case 0:
601				return &v.state
602			case 1:
603				return &v.sizeCache
604			case 2:
605				return &v.unknownFields
606			default:
607				return nil
608			}
609		}
610		file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
611			switch v := v.(*EciesAeadHkdfKeyFormat); i {
612			case 0:
613				return &v.state
614			case 1:
615				return &v.sizeCache
616			case 2:
617				return &v.unknownFields
618			default:
619				return nil
620			}
621		}
622	}
623	type x struct{}
624	out := protoimpl.TypeBuilder{
625		File: protoimpl.DescBuilder{
626			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
627			RawDescriptor: file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDesc,
628			NumEnums:      0,
629			NumMessages:   6,
630			NumExtensions: 0,
631			NumServices:   0,
632		},
633		GoTypes:           file_third_party_tink_proto_ecies_aead_hkdf_proto_goTypes,
634		DependencyIndexes: file_third_party_tink_proto_ecies_aead_hkdf_proto_depIdxs,
635		MessageInfos:      file_third_party_tink_proto_ecies_aead_hkdf_proto_msgTypes,
636	}.Build()
637	File_third_party_tink_proto_ecies_aead_hkdf_proto = out.File
638	file_third_party_tink_proto_ecies_aead_hkdf_proto_rawDesc = nil
639	file_third_party_tink_proto_ecies_aead_hkdf_proto_goTypes = nil
640	file_third_party_tink_proto_ecies_aead_hkdf_proto_depIdxs = nil
641}
642