github.com/trustbloc/kms-go@v1.1.2/crypto/tinkcrypto/primitive/proto/secp256k1_go_proto/secp256k1.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.14.0
     5  // source: proto/secp256k1.proto
     6  
     7  package secp256k1_go_proto
     8  
     9  import (
    10  	reflect "reflect"
    11  	sync "sync"
    12  
    13  	proto "github.com/golang/protobuf/proto"
    14  	common_go_proto "github.com/google/tink/go/proto/common_go_proto"
    15  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    16  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    17  )
    18  
    19  const (
    20  	// Verify that this generated code is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    22  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    23  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    24  )
    25  
    26  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  type BitcoinCurveType int32
    31  
    32  const (
    33  	BitcoinCurveType_INVALID_BITCOIN_CURVE BitcoinCurveType = 0
    34  	BitcoinCurveType_SECP256K1             BitcoinCurveType = 2
    35  )
    36  
    37  // Enum value maps for BitcoinCurveType.
    38  var (
    39  	BitcoinCurveType_name = map[int32]string{
    40  		0: "INVALID_BITCOIN_CURVE",
    41  		2: "SECP256K1",
    42  	}
    43  	BitcoinCurveType_value = map[string]int32{
    44  		"INVALID_BITCOIN_CURVE": 0,
    45  		"SECP256K1":             2,
    46  	}
    47  )
    48  
    49  func (x BitcoinCurveType) Enum() *BitcoinCurveType {
    50  	p := new(BitcoinCurveType)
    51  	*p = x
    52  	return p
    53  }
    54  
    55  func (x BitcoinCurveType) String() string {
    56  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    57  }
    58  
    59  func (BitcoinCurveType) Descriptor() protoreflect.EnumDescriptor {
    60  	return file_proto_secp256k1_proto_enumTypes[0].Descriptor()
    61  }
    62  
    63  func (BitcoinCurveType) Type() protoreflect.EnumType {
    64  	return &file_proto_secp256k1_proto_enumTypes[0]
    65  }
    66  
    67  func (x BitcoinCurveType) Number() protoreflect.EnumNumber {
    68  	return protoreflect.EnumNumber(x)
    69  }
    70  
    71  // Deprecated: Use BitcoinCurveType.Descriptor instead.
    72  func (BitcoinCurveType) EnumDescriptor() ([]byte, []int) {
    73  	return file_proto_secp256k1_proto_rawDescGZIP(), []int{0}
    74  }
    75  
    76  type Secp256K1SignatureEncoding int32
    77  
    78  const (
    79  	Secp256K1SignatureEncoding_UNKNOWN_BITCOIN_ENCODING Secp256K1SignatureEncoding = 0
    80  	Secp256K1SignatureEncoding_Bitcoin_IEEE_P1363       Secp256K1SignatureEncoding = 1
    81  	Secp256K1SignatureEncoding_Bitcoin_DER              Secp256K1SignatureEncoding = 2
    82  )
    83  
    84  // Enum value maps for Secp256K1SignatureEncoding.
    85  var (
    86  	Secp256K1SignatureEncoding_name = map[int32]string{
    87  		0: "UNKNOWN_BITCOIN_ENCODING",
    88  		1: "Bitcoin_IEEE_P1363",
    89  		2: "Bitcoin_DER",
    90  	}
    91  	Secp256K1SignatureEncoding_value = map[string]int32{
    92  		"UNKNOWN_BITCOIN_ENCODING": 0,
    93  		"Bitcoin_IEEE_P1363":       1,
    94  		"Bitcoin_DER":              2,
    95  	}
    96  )
    97  
    98  func (x Secp256K1SignatureEncoding) Enum() *Secp256K1SignatureEncoding {
    99  	p := new(Secp256K1SignatureEncoding)
   100  	*p = x
   101  	return p
   102  }
   103  
   104  func (x Secp256K1SignatureEncoding) String() string {
   105  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   106  }
   107  
   108  func (Secp256K1SignatureEncoding) Descriptor() protoreflect.EnumDescriptor {
   109  	return file_proto_secp256k1_proto_enumTypes[1].Descriptor()
   110  }
   111  
   112  func (Secp256K1SignatureEncoding) Type() protoreflect.EnumType {
   113  	return &file_proto_secp256k1_proto_enumTypes[1]
   114  }
   115  
   116  func (x Secp256K1SignatureEncoding) Number() protoreflect.EnumNumber {
   117  	return protoreflect.EnumNumber(x)
   118  }
   119  
   120  // Deprecated: Use Secp256K1SignatureEncoding.Descriptor instead.
   121  func (Secp256K1SignatureEncoding) EnumDescriptor() ([]byte, []int) {
   122  	return file_proto_secp256k1_proto_rawDescGZIP(), []int{1}
   123  }
   124  
   125  type Secp256K1Params struct {
   126  	state         protoimpl.MessageState
   127  	sizeCache     protoimpl.SizeCache
   128  	unknownFields protoimpl.UnknownFields
   129  
   130  	HashType common_go_proto.HashType   `protobuf:"varint,1,opt,name=hash_type,json=hashType,proto3,enum=google.crypto.tink.HashType" json:"hash_type,omitempty"`
   131  	Curve    BitcoinCurveType           `protobuf:"varint,2,opt,name=curve,proto3,enum=google.crypto.tink.BitcoinCurveType" json:"curve,omitempty"`
   132  	Encoding Secp256K1SignatureEncoding `protobuf:"varint,3,opt,name=encoding,proto3,enum=google.crypto.tink.Secp256K1SignatureEncoding" json:"encoding,omitempty"`
   133  }
   134  
   135  func (x *Secp256K1Params) Reset() {
   136  	*x = Secp256K1Params{}
   137  	if protoimpl.UnsafeEnabled {
   138  		mi := &file_proto_secp256k1_proto_msgTypes[0]
   139  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   140  		ms.StoreMessageInfo(mi)
   141  	}
   142  }
   143  
   144  func (x *Secp256K1Params) String() string {
   145  	return protoimpl.X.MessageStringOf(x)
   146  }
   147  
   148  func (*Secp256K1Params) ProtoMessage() {}
   149  
   150  func (x *Secp256K1Params) ProtoReflect() protoreflect.Message {
   151  	mi := &file_proto_secp256k1_proto_msgTypes[0]
   152  	if protoimpl.UnsafeEnabled && x != nil {
   153  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   154  		if ms.LoadMessageInfo() == nil {
   155  			ms.StoreMessageInfo(mi)
   156  		}
   157  		return ms
   158  	}
   159  	return mi.MessageOf(x)
   160  }
   161  
   162  // Deprecated: Use Secp256K1Params.ProtoReflect.Descriptor instead.
   163  func (*Secp256K1Params) Descriptor() ([]byte, []int) {
   164  	return file_proto_secp256k1_proto_rawDescGZIP(), []int{0}
   165  }
   166  
   167  func (x *Secp256K1Params) GetHashType() common_go_proto.HashType {
   168  	if x != nil {
   169  		return x.HashType
   170  	}
   171  	return common_go_proto.HashType_UNKNOWN_HASH
   172  }
   173  
   174  func (x *Secp256K1Params) GetCurve() BitcoinCurveType {
   175  	if x != nil {
   176  		return x.Curve
   177  	}
   178  	return BitcoinCurveType_INVALID_BITCOIN_CURVE
   179  }
   180  
   181  func (x *Secp256K1Params) GetEncoding() Secp256K1SignatureEncoding {
   182  	if x != nil {
   183  		return x.Encoding
   184  	}
   185  	return Secp256K1SignatureEncoding_UNKNOWN_BITCOIN_ENCODING
   186  }
   187  
   188  type Secp256K1PublicKey struct {
   189  	state         protoimpl.MessageState
   190  	sizeCache     protoimpl.SizeCache
   191  	unknownFields protoimpl.UnknownFields
   192  
   193  	Version uint32           `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
   194  	Params  *Secp256K1Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
   195  	X       []byte           `protobuf:"bytes,3,opt,name=x,proto3" json:"x,omitempty"`
   196  	Y       []byte           `protobuf:"bytes,4,opt,name=y,proto3" json:"y,omitempty"`
   197  }
   198  
   199  func (x *Secp256K1PublicKey) Reset() {
   200  	*x = Secp256K1PublicKey{}
   201  	if protoimpl.UnsafeEnabled {
   202  		mi := &file_proto_secp256k1_proto_msgTypes[1]
   203  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   204  		ms.StoreMessageInfo(mi)
   205  	}
   206  }
   207  
   208  func (x *Secp256K1PublicKey) String() string {
   209  	return protoimpl.X.MessageStringOf(x)
   210  }
   211  
   212  func (*Secp256K1PublicKey) ProtoMessage() {}
   213  
   214  func (x *Secp256K1PublicKey) ProtoReflect() protoreflect.Message {
   215  	mi := &file_proto_secp256k1_proto_msgTypes[1]
   216  	if protoimpl.UnsafeEnabled && x != nil {
   217  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   218  		if ms.LoadMessageInfo() == nil {
   219  			ms.StoreMessageInfo(mi)
   220  		}
   221  		return ms
   222  	}
   223  	return mi.MessageOf(x)
   224  }
   225  
   226  // Deprecated: Use Secp256K1PublicKey.ProtoReflect.Descriptor instead.
   227  func (*Secp256K1PublicKey) Descriptor() ([]byte, []int) {
   228  	return file_proto_secp256k1_proto_rawDescGZIP(), []int{1}
   229  }
   230  
   231  func (x *Secp256K1PublicKey) GetVersion() uint32 {
   232  	if x != nil {
   233  		return x.Version
   234  	}
   235  	return 0
   236  }
   237  
   238  func (x *Secp256K1PublicKey) GetParams() *Secp256K1Params {
   239  	if x != nil {
   240  		return x.Params
   241  	}
   242  	return nil
   243  }
   244  
   245  func (x *Secp256K1PublicKey) GetX() []byte {
   246  	if x != nil {
   247  		return x.X
   248  	}
   249  	return nil
   250  }
   251  
   252  func (x *Secp256K1PublicKey) GetY() []byte {
   253  	if x != nil {
   254  		return x.Y
   255  	}
   256  	return nil
   257  }
   258  
   259  type Secp256K1PrivateKey struct {
   260  	state         protoimpl.MessageState
   261  	sizeCache     protoimpl.SizeCache
   262  	unknownFields protoimpl.UnknownFields
   263  
   264  	Version   uint32              `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
   265  	PublicKey *Secp256K1PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
   266  	KeyValue  []byte              `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
   267  }
   268  
   269  func (x *Secp256K1PrivateKey) Reset() {
   270  	*x = Secp256K1PrivateKey{}
   271  	if protoimpl.UnsafeEnabled {
   272  		mi := &file_proto_secp256k1_proto_msgTypes[2]
   273  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   274  		ms.StoreMessageInfo(mi)
   275  	}
   276  }
   277  
   278  func (x *Secp256K1PrivateKey) String() string {
   279  	return protoimpl.X.MessageStringOf(x)
   280  }
   281  
   282  func (*Secp256K1PrivateKey) ProtoMessage() {}
   283  
   284  func (x *Secp256K1PrivateKey) ProtoReflect() protoreflect.Message {
   285  	mi := &file_proto_secp256k1_proto_msgTypes[2]
   286  	if protoimpl.UnsafeEnabled && x != nil {
   287  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   288  		if ms.LoadMessageInfo() == nil {
   289  			ms.StoreMessageInfo(mi)
   290  		}
   291  		return ms
   292  	}
   293  	return mi.MessageOf(x)
   294  }
   295  
   296  // Deprecated: Use Secp256K1PrivateKey.ProtoReflect.Descriptor instead.
   297  func (*Secp256K1PrivateKey) Descriptor() ([]byte, []int) {
   298  	return file_proto_secp256k1_proto_rawDescGZIP(), []int{2}
   299  }
   300  
   301  func (x *Secp256K1PrivateKey) GetVersion() uint32 {
   302  	if x != nil {
   303  		return x.Version
   304  	}
   305  	return 0
   306  }
   307  
   308  func (x *Secp256K1PrivateKey) GetPublicKey() *Secp256K1PublicKey {
   309  	if x != nil {
   310  		return x.PublicKey
   311  	}
   312  	return nil
   313  }
   314  
   315  func (x *Secp256K1PrivateKey) GetKeyValue() []byte {
   316  	if x != nil {
   317  		return x.KeyValue
   318  	}
   319  	return nil
   320  }
   321  
   322  type Secp256K1KeyFormat struct {
   323  	state         protoimpl.MessageState
   324  	sizeCache     protoimpl.SizeCache
   325  	unknownFields protoimpl.UnknownFields
   326  
   327  	Params *Secp256K1Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
   328  }
   329  
   330  func (x *Secp256K1KeyFormat) Reset() {
   331  	*x = Secp256K1KeyFormat{}
   332  	if protoimpl.UnsafeEnabled {
   333  		mi := &file_proto_secp256k1_proto_msgTypes[3]
   334  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   335  		ms.StoreMessageInfo(mi)
   336  	}
   337  }
   338  
   339  func (x *Secp256K1KeyFormat) String() string {
   340  	return protoimpl.X.MessageStringOf(x)
   341  }
   342  
   343  func (*Secp256K1KeyFormat) ProtoMessage() {}
   344  
   345  func (x *Secp256K1KeyFormat) ProtoReflect() protoreflect.Message {
   346  	mi := &file_proto_secp256k1_proto_msgTypes[3]
   347  	if protoimpl.UnsafeEnabled && x != nil {
   348  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   349  		if ms.LoadMessageInfo() == nil {
   350  			ms.StoreMessageInfo(mi)
   351  		}
   352  		return ms
   353  	}
   354  	return mi.MessageOf(x)
   355  }
   356  
   357  // Deprecated: Use Secp256K1KeyFormat.ProtoReflect.Descriptor instead.
   358  func (*Secp256K1KeyFormat) Descriptor() ([]byte, []int) {
   359  	return file_proto_secp256k1_proto_rawDescGZIP(), []int{3}
   360  }
   361  
   362  func (x *Secp256K1KeyFormat) GetParams() *Secp256K1Params {
   363  	if x != nil {
   364  		return x.Params
   365  	}
   366  	return nil
   367  }
   368  
   369  var File_proto_secp256k1_proto protoreflect.FileDescriptor
   370  
   371  var file_proto_secp256k1_proto_rawDesc = []byte{
   372  	0x0a, 0x15, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b,
   373  	0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   374  	0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x1a, 0x12, 0x70, 0x72, 0x6f,
   375  	0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   376  	0xd4, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x4b, 0x31, 0x50, 0x61, 0x72,
   377  	0x61, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65,
   378  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   379  	0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x48, 0x61, 0x73, 0x68,
   380  	0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x68, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a,
   381  	0x0a, 0x05, 0x63, 0x75, 0x72, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e,
   382  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69,
   383  	0x6e, 0x6b, 0x2e, 0x42, 0x69, 0x74, 0x63, 0x6f, 0x69, 0x6e, 0x43, 0x75, 0x72, 0x76, 0x65, 0x54,
   384  	0x79, 0x70, 0x65, 0x52, 0x05, 0x63, 0x75, 0x72, 0x76, 0x65, 0x12, 0x4a, 0x0a, 0x08, 0x65, 0x6e,
   385  	0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67,
   386  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e,
   387  	0x6b, 0x2e, 0x53, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x4b, 0x31, 0x53, 0x69, 0x67, 0x6e, 0x61,
   388  	0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x65, 0x6e,
   389  	0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x87, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x63, 0x70, 0x32,
   390  	0x35, 0x36, 0x6b, 0x31, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a,
   391  	0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
   392  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d,
   393  	0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   394  	0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x53, 0x65, 0x63,
   395  	0x70, 0x32, 0x35, 0x36, 0x4b, 0x31, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61,
   396  	0x72, 0x61, 0x6d, 0x73, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
   397  	0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x79,
   398  	0x22, 0x93, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x50, 0x72,
   399  	0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73,
   400  	0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
   401  	0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79,
   402  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   403  	0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x53, 0x65, 0x63, 0x70,
   404  	0x32, 0x35, 0x36, 0x6b, 0x31, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x09,
   405  	0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79,
   406  	0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65,
   407  	0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x51, 0x0a, 0x12, 0x53, 0x65, 0x63, 0x70, 0x32, 0x35,
   408  	0x36, 0x4b, 0x31, 0x4b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x06,
   409  	0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67,
   410  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e,
   411  	0x6b, 0x2e, 0x53, 0x65, 0x63, 0x70, 0x32, 0x35, 0x36, 0x4b, 0x31, 0x50, 0x61, 0x72, 0x61, 0x6d,
   412  	0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2a, 0x3c, 0x0a, 0x10, 0x42, 0x69, 0x74,
   413  	0x63, 0x6f, 0x69, 0x6e, 0x43, 0x75, 0x72, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a,
   414  	0x15, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x42, 0x49, 0x54, 0x43, 0x4f, 0x49, 0x4e,
   415  	0x5f, 0x43, 0x55, 0x52, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x45, 0x43, 0x50,
   416  	0x32, 0x35, 0x36, 0x4b, 0x31, 0x10, 0x02, 0x2a, 0x63, 0x0a, 0x1a, 0x53, 0x65, 0x63, 0x70, 0x32,
   417  	0x35, 0x36, 0x4b, 0x31, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x45, 0x6e, 0x63,
   418  	0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
   419  	0x5f, 0x42, 0x49, 0x54, 0x43, 0x4f, 0x49, 0x4e, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e,
   420  	0x47, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x42, 0x69, 0x74, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x49,
   421  	0x45, 0x45, 0x45, 0x5f, 0x50, 0x31, 0x33, 0x36, 0x33, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x42,
   422  	0x69, 0x74, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x44, 0x45, 0x52, 0x10, 0x02, 0x42, 0x51, 0x0a, 0x1c,
   423  	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74,
   424  	0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f,
   425  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   426  	0x65, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x63,
   427  	0x70, 0x32, 0x35, 0x36, 0x6b, 0x31, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   428  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   429  }
   430  
   431  var (
   432  	file_proto_secp256k1_proto_rawDescOnce sync.Once
   433  	file_proto_secp256k1_proto_rawDescData = file_proto_secp256k1_proto_rawDesc
   434  )
   435  
   436  func file_proto_secp256k1_proto_rawDescGZIP() []byte {
   437  	file_proto_secp256k1_proto_rawDescOnce.Do(func() {
   438  		file_proto_secp256k1_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_secp256k1_proto_rawDescData)
   439  	})
   440  	return file_proto_secp256k1_proto_rawDescData
   441  }
   442  
   443  var file_proto_secp256k1_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   444  var file_proto_secp256k1_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   445  var file_proto_secp256k1_proto_goTypes = []interface{}{
   446  	(BitcoinCurveType)(0),           // 0: google.crypto.tink.BitcoinCurveType
   447  	(Secp256K1SignatureEncoding)(0), // 1: google.crypto.tink.Secp256K1SignatureEncoding
   448  	(*Secp256K1Params)(nil),         // 2: google.crypto.tink.Secp256K1Params
   449  	(*Secp256K1PublicKey)(nil),      // 3: google.crypto.tink.Secp256k1PublicKey
   450  	(*Secp256K1PrivateKey)(nil),     // 4: google.crypto.tink.Secp256k1PrivateKey
   451  	(*Secp256K1KeyFormat)(nil),      // 5: google.crypto.tink.Secp256K1KeyFormat
   452  	(common_go_proto.HashType)(0),   // 6: google.crypto.tink.HashType
   453  }
   454  var file_proto_secp256k1_proto_depIdxs = []int32{
   455  	6, // 0: google.crypto.tink.Secp256K1Params.hash_type:type_name -> google.crypto.tink.HashType
   456  	0, // 1: google.crypto.tink.Secp256K1Params.curve:type_name -> google.crypto.tink.BitcoinCurveType
   457  	1, // 2: google.crypto.tink.Secp256K1Params.encoding:type_name -> google.crypto.tink.Secp256K1SignatureEncoding
   458  	2, // 3: google.crypto.tink.Secp256k1PublicKey.params:type_name -> google.crypto.tink.Secp256K1Params
   459  	3, // 4: google.crypto.tink.Secp256k1PrivateKey.public_key:type_name -> google.crypto.tink.Secp256k1PublicKey
   460  	2, // 5: google.crypto.tink.Secp256K1KeyFormat.params:type_name -> google.crypto.tink.Secp256K1Params
   461  	6, // [6:6] is the sub-list for method output_type
   462  	6, // [6:6] is the sub-list for method input_type
   463  	6, // [6:6] is the sub-list for extension type_name
   464  	6, // [6:6] is the sub-list for extension extendee
   465  	0, // [0:6] is the sub-list for field type_name
   466  }
   467  
   468  func init() { file_proto_secp256k1_proto_init() }
   469  func file_proto_secp256k1_proto_init() {
   470  	if File_proto_secp256k1_proto != nil {
   471  		return
   472  	}
   473  	if !protoimpl.UnsafeEnabled {
   474  		file_proto_secp256k1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   475  			switch v := v.(*Secp256K1Params); i {
   476  			case 0:
   477  				return &v.state
   478  			case 1:
   479  				return &v.sizeCache
   480  			case 2:
   481  				return &v.unknownFields
   482  			default:
   483  				return nil
   484  			}
   485  		}
   486  		file_proto_secp256k1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   487  			switch v := v.(*Secp256K1PublicKey); i {
   488  			case 0:
   489  				return &v.state
   490  			case 1:
   491  				return &v.sizeCache
   492  			case 2:
   493  				return &v.unknownFields
   494  			default:
   495  				return nil
   496  			}
   497  		}
   498  		file_proto_secp256k1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   499  			switch v := v.(*Secp256K1PrivateKey); i {
   500  			case 0:
   501  				return &v.state
   502  			case 1:
   503  				return &v.sizeCache
   504  			case 2:
   505  				return &v.unknownFields
   506  			default:
   507  				return nil
   508  			}
   509  		}
   510  		file_proto_secp256k1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   511  			switch v := v.(*Secp256K1KeyFormat); i {
   512  			case 0:
   513  				return &v.state
   514  			case 1:
   515  				return &v.sizeCache
   516  			case 2:
   517  				return &v.unknownFields
   518  			default:
   519  				return nil
   520  			}
   521  		}
   522  	}
   523  	type x struct{}
   524  	out := protoimpl.TypeBuilder{
   525  		File: protoimpl.DescBuilder{
   526  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   527  			RawDescriptor: file_proto_secp256k1_proto_rawDesc,
   528  			NumEnums:      2,
   529  			NumMessages:   4,
   530  			NumExtensions: 0,
   531  			NumServices:   0,
   532  		},
   533  		GoTypes:           file_proto_secp256k1_proto_goTypes,
   534  		DependencyIndexes: file_proto_secp256k1_proto_depIdxs,
   535  		EnumInfos:         file_proto_secp256k1_proto_enumTypes,
   536  		MessageInfos:      file_proto_secp256k1_proto_msgTypes,
   537  	}.Build()
   538  	File_proto_secp256k1_proto = out.File
   539  	file_proto_secp256k1_proto_rawDesc = nil
   540  	file_proto_secp256k1_proto_goTypes = nil
   541  	file_proto_secp256k1_proto_depIdxs = nil
   542  }