github.com/trustbloc/kms-go@v1.1.2/crypto/tinkcrypto/primitive/proto/bbs_go_proto/bbs.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/bbs.proto
     6  
     7  package bbs_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 BBSCurveType int32
    31  
    32  const (
    33  	BBSCurveType_UNKNOWN_BBS_CURVE_TYPE BBSCurveType = 0
    34  	BBSCurveType_BLS12_381              BBSCurveType = 1
    35  )
    36  
    37  // Enum value maps for BBSCurveType.
    38  var (
    39  	BBSCurveType_name = map[int32]string{
    40  		0: "UNKNOWN_BBS_CURVE_TYPE",
    41  		1: "BLS12_381",
    42  	}
    43  	BBSCurveType_value = map[string]int32{
    44  		"UNKNOWN_BBS_CURVE_TYPE": 0,
    45  		"BLS12_381":              1,
    46  	}
    47  )
    48  
    49  func (x BBSCurveType) Enum() *BBSCurveType {
    50  	p := new(BBSCurveType)
    51  	*p = x
    52  	return p
    53  }
    54  
    55  func (x BBSCurveType) String() string {
    56  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    57  }
    58  
    59  func (BBSCurveType) Descriptor() protoreflect.EnumDescriptor {
    60  	return file_proto_bbs_proto_enumTypes[0].Descriptor()
    61  }
    62  
    63  func (BBSCurveType) Type() protoreflect.EnumType {
    64  	return &file_proto_bbs_proto_enumTypes[0]
    65  }
    66  
    67  func (x BBSCurveType) Number() protoreflect.EnumNumber {
    68  	return protoreflect.EnumNumber(x)
    69  }
    70  
    71  // Deprecated: Use BBSCurveType.Descriptor instead.
    72  func (BBSCurveType) EnumDescriptor() ([]byte, []int) {
    73  	return file_proto_bbs_proto_rawDescGZIP(), []int{0}
    74  }
    75  
    76  type GroupField int32
    77  
    78  const (
    79  	GroupField_UNKNOWN_GROUP_FIELD GroupField = 0
    80  	GroupField_G1                  GroupField = 1
    81  	GroupField_G2                  GroupField = 2
    82  )
    83  
    84  // Enum value maps for GroupField.
    85  var (
    86  	GroupField_name = map[int32]string{
    87  		0: "UNKNOWN_GROUP_FIELD",
    88  		1: "G1",
    89  		2: "G2",
    90  	}
    91  	GroupField_value = map[string]int32{
    92  		"UNKNOWN_GROUP_FIELD": 0,
    93  		"G1":                  1,
    94  		"G2":                  2,
    95  	}
    96  )
    97  
    98  func (x GroupField) Enum() *GroupField {
    99  	p := new(GroupField)
   100  	*p = x
   101  	return p
   102  }
   103  
   104  func (x GroupField) String() string {
   105  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   106  }
   107  
   108  func (GroupField) Descriptor() protoreflect.EnumDescriptor {
   109  	return file_proto_bbs_proto_enumTypes[1].Descriptor()
   110  }
   111  
   112  func (GroupField) Type() protoreflect.EnumType {
   113  	return &file_proto_bbs_proto_enumTypes[1]
   114  }
   115  
   116  func (x GroupField) Number() protoreflect.EnumNumber {
   117  	return protoreflect.EnumNumber(x)
   118  }
   119  
   120  // Deprecated: Use GroupField.Descriptor instead.
   121  func (GroupField) EnumDescriptor() ([]byte, []int) {
   122  	return file_proto_bbs_proto_rawDescGZIP(), []int{1}
   123  }
   124  
   125  type BBSParams 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    BBSCurveType             `protobuf:"varint,2,opt,name=curve,proto3,enum=google.crypto.tink.BBSCurveType" json:"curve,omitempty"`
   132  	Group    GroupField               `protobuf:"varint,3,opt,name=group,proto3,enum=google.crypto.tink.GroupField" json:"group,omitempty"`
   133  }
   134  
   135  func (x *BBSParams) Reset() {
   136  	*x = BBSParams{}
   137  	if protoimpl.UnsafeEnabled {
   138  		mi := &file_proto_bbs_proto_msgTypes[0]
   139  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   140  		ms.StoreMessageInfo(mi)
   141  	}
   142  }
   143  
   144  func (x *BBSParams) String() string {
   145  	return protoimpl.X.MessageStringOf(x)
   146  }
   147  
   148  func (*BBSParams) ProtoMessage() {}
   149  
   150  func (x *BBSParams) ProtoReflect() protoreflect.Message {
   151  	mi := &file_proto_bbs_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 BBSParams.ProtoReflect.Descriptor instead.
   163  func (*BBSParams) Descriptor() ([]byte, []int) {
   164  	return file_proto_bbs_proto_rawDescGZIP(), []int{0}
   165  }
   166  
   167  func (x *BBSParams) 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 *BBSParams) GetCurve() BBSCurveType {
   175  	if x != nil {
   176  		return x.Curve
   177  	}
   178  	return BBSCurveType_UNKNOWN_BBS_CURVE_TYPE
   179  }
   180  
   181  func (x *BBSParams) GetGroup() GroupField {
   182  	if x != nil {
   183  		return x.Group
   184  	}
   185  	return GroupField_UNKNOWN_GROUP_FIELD
   186  }
   187  
   188  type BBSPublicKey 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   *BBSParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
   195  	KeyValue []byte     `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
   196  }
   197  
   198  func (x *BBSPublicKey) Reset() {
   199  	*x = BBSPublicKey{}
   200  	if protoimpl.UnsafeEnabled {
   201  		mi := &file_proto_bbs_proto_msgTypes[1]
   202  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   203  		ms.StoreMessageInfo(mi)
   204  	}
   205  }
   206  
   207  func (x *BBSPublicKey) String() string {
   208  	return protoimpl.X.MessageStringOf(x)
   209  }
   210  
   211  func (*BBSPublicKey) ProtoMessage() {}
   212  
   213  func (x *BBSPublicKey) ProtoReflect() protoreflect.Message {
   214  	mi := &file_proto_bbs_proto_msgTypes[1]
   215  	if protoimpl.UnsafeEnabled && x != nil {
   216  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   217  		if ms.LoadMessageInfo() == nil {
   218  			ms.StoreMessageInfo(mi)
   219  		}
   220  		return ms
   221  	}
   222  	return mi.MessageOf(x)
   223  }
   224  
   225  // Deprecated: Use BBSPublicKey.ProtoReflect.Descriptor instead.
   226  func (*BBSPublicKey) Descriptor() ([]byte, []int) {
   227  	return file_proto_bbs_proto_rawDescGZIP(), []int{1}
   228  }
   229  
   230  func (x *BBSPublicKey) GetVersion() uint32 {
   231  	if x != nil {
   232  		return x.Version
   233  	}
   234  	return 0
   235  }
   236  
   237  func (x *BBSPublicKey) GetParams() *BBSParams {
   238  	if x != nil {
   239  		return x.Params
   240  	}
   241  	return nil
   242  }
   243  
   244  func (x *BBSPublicKey) GetKeyValue() []byte {
   245  	if x != nil {
   246  		return x.KeyValue
   247  	}
   248  	return nil
   249  }
   250  
   251  type BBSPrivateKey struct {
   252  	state         protoimpl.MessageState
   253  	sizeCache     protoimpl.SizeCache
   254  	unknownFields protoimpl.UnknownFields
   255  
   256  	Version   uint32        `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
   257  	PublicKey *BBSPublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
   258  	KeyValue  []byte        `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
   259  }
   260  
   261  func (x *BBSPrivateKey) Reset() {
   262  	*x = BBSPrivateKey{}
   263  	if protoimpl.UnsafeEnabled {
   264  		mi := &file_proto_bbs_proto_msgTypes[2]
   265  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   266  		ms.StoreMessageInfo(mi)
   267  	}
   268  }
   269  
   270  func (x *BBSPrivateKey) String() string {
   271  	return protoimpl.X.MessageStringOf(x)
   272  }
   273  
   274  func (*BBSPrivateKey) ProtoMessage() {}
   275  
   276  func (x *BBSPrivateKey) ProtoReflect() protoreflect.Message {
   277  	mi := &file_proto_bbs_proto_msgTypes[2]
   278  	if protoimpl.UnsafeEnabled && x != nil {
   279  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   280  		if ms.LoadMessageInfo() == nil {
   281  			ms.StoreMessageInfo(mi)
   282  		}
   283  		return ms
   284  	}
   285  	return mi.MessageOf(x)
   286  }
   287  
   288  // Deprecated: Use BBSPrivateKey.ProtoReflect.Descriptor instead.
   289  func (*BBSPrivateKey) Descriptor() ([]byte, []int) {
   290  	return file_proto_bbs_proto_rawDescGZIP(), []int{2}
   291  }
   292  
   293  func (x *BBSPrivateKey) GetVersion() uint32 {
   294  	if x != nil {
   295  		return x.Version
   296  	}
   297  	return 0
   298  }
   299  
   300  func (x *BBSPrivateKey) GetPublicKey() *BBSPublicKey {
   301  	if x != nil {
   302  		return x.PublicKey
   303  	}
   304  	return nil
   305  }
   306  
   307  func (x *BBSPrivateKey) GetKeyValue() []byte {
   308  	if x != nil {
   309  		return x.KeyValue
   310  	}
   311  	return nil
   312  }
   313  
   314  type BBSKeyFormat struct {
   315  	state         protoimpl.MessageState
   316  	sizeCache     protoimpl.SizeCache
   317  	unknownFields protoimpl.UnknownFields
   318  
   319  	Params *BBSParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
   320  }
   321  
   322  func (x *BBSKeyFormat) Reset() {
   323  	*x = BBSKeyFormat{}
   324  	if protoimpl.UnsafeEnabled {
   325  		mi := &file_proto_bbs_proto_msgTypes[3]
   326  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   327  		ms.StoreMessageInfo(mi)
   328  	}
   329  }
   330  
   331  func (x *BBSKeyFormat) String() string {
   332  	return protoimpl.X.MessageStringOf(x)
   333  }
   334  
   335  func (*BBSKeyFormat) ProtoMessage() {}
   336  
   337  func (x *BBSKeyFormat) ProtoReflect() protoreflect.Message {
   338  	mi := &file_proto_bbs_proto_msgTypes[3]
   339  	if protoimpl.UnsafeEnabled && x != nil {
   340  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   341  		if ms.LoadMessageInfo() == nil {
   342  			ms.StoreMessageInfo(mi)
   343  		}
   344  		return ms
   345  	}
   346  	return mi.MessageOf(x)
   347  }
   348  
   349  // Deprecated: Use BBSKeyFormat.ProtoReflect.Descriptor instead.
   350  func (*BBSKeyFormat) Descriptor() ([]byte, []int) {
   351  	return file_proto_bbs_proto_rawDescGZIP(), []int{3}
   352  }
   353  
   354  func (x *BBSKeyFormat) GetParams() *BBSParams {
   355  	if x != nil {
   356  		return x.Params
   357  	}
   358  	return nil
   359  }
   360  
   361  var File_proto_bbs_proto protoreflect.FileDescriptor
   362  
   363  var file_proto_bbs_proto_rawDesc = []byte{
   364  	0x0a, 0x0f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x62, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   365  	0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f,
   366  	0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x1a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d,
   367  	0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, 0x01, 0x0a, 0x09, 0x42, 0x42,
   368  	0x53, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x68, 0x61, 0x73, 0x68, 0x5f,
   369  	0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
   370  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e,
   371  	0x48, 0x61, 0x73, 0x68, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x68, 0x61, 0x73, 0x68, 0x54, 0x79,
   372  	0x70, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x63, 0x75, 0x72, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   373  	0x0e, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74,
   374  	0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x42, 0x42, 0x53, 0x43, 0x75, 0x72, 0x76, 0x65, 0x54,
   375  	0x79, 0x70, 0x65, 0x52, 0x05, 0x63, 0x75, 0x72, 0x76, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x67, 0x72,
   376  	0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   377  	0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x47,
   378  	0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
   379  	0x22, 0x7c, 0x0a, 0x0c, 0x42, 0x42, 0x53, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
   380  	0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
   381  	0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61,
   382  	0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
   383  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e,
   384  	0x42, 0x42, 0x53, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d,
   385  	0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03,
   386  	0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x87,
   387  	0x01, 0x0a, 0x0d, 0x42, 0x42, 0x53, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79,
   388  	0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
   389  	0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0a, 0x70, 0x75,
   390  	0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
   391  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74,
   392  	0x69, 0x6e, 0x6b, 0x2e, 0x42, 0x42, 0x53, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
   393  	0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b,
   394  	0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08,
   395  	0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x45, 0x0a, 0x0c, 0x42, 0x42, 0x53, 0x4b,
   396  	0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61,
   397  	0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   398  	0x65, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x42, 0x42,
   399  	0x53, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2a,
   400  	0x39, 0x0a, 0x0c, 0x42, 0x42, 0x53, 0x43, 0x75, 0x72, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
   401  	0x1a, 0x0a, 0x16, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x42, 0x42, 0x53, 0x5f, 0x43,
   402  	0x55, 0x52, 0x56, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x42,
   403  	0x4c, 0x53, 0x31, 0x32, 0x5f, 0x33, 0x38, 0x31, 0x10, 0x01, 0x2a, 0x35, 0x0a, 0x0a, 0x47, 0x72,
   404  	0x6f, 0x75, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x4b, 0x4e,
   405  	0x4f, 0x57, 0x4e, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10,
   406  	0x00, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x31, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x32, 0x10,
   407  	0x02, 0x42, 0x87, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   408  	0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2e, 0x74, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
   409  	0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
   410  	0x2f, 0x68, 0x79, 0x70, 0x65, 0x72, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x72, 0x69,
   411  	0x65, 0x73, 0x2d, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2d, 0x67, 0x6f, 0x2f,
   412  	0x70, 0x6b, 0x67, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x74, 0x69, 0x6e, 0x6b, 0x63,
   413  	0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x70, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x2f,
   414  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x62, 0x62, 0x73, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 0x6f,
   415  	0x74, 0x6f, 0xa2, 0x02, 0x06, 0x54, 0x49, 0x4e, 0x4b, 0x50, 0x42, 0x62, 0x06, 0x70, 0x72, 0x6f,
   416  	0x74, 0x6f, 0x33,
   417  }
   418  
   419  var (
   420  	file_proto_bbs_proto_rawDescOnce sync.Once
   421  	file_proto_bbs_proto_rawDescData = file_proto_bbs_proto_rawDesc
   422  )
   423  
   424  func file_proto_bbs_proto_rawDescGZIP() []byte {
   425  	file_proto_bbs_proto_rawDescOnce.Do(func() {
   426  		file_proto_bbs_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_bbs_proto_rawDescData)
   427  	})
   428  	return file_proto_bbs_proto_rawDescData
   429  }
   430  
   431  var file_proto_bbs_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   432  var file_proto_bbs_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   433  var file_proto_bbs_proto_goTypes = []interface{}{
   434  	(BBSCurveType)(0),             // 0: google.crypto.tink.BBSCurveType
   435  	(GroupField)(0),               // 1: google.crypto.tink.GroupField
   436  	(*BBSParams)(nil),             // 2: google.crypto.tink.BBSParams
   437  	(*BBSPublicKey)(nil),          // 3: google.crypto.tink.BBSPublicKey
   438  	(*BBSPrivateKey)(nil),         // 4: google.crypto.tink.BBSPrivateKey
   439  	(*BBSKeyFormat)(nil),          // 5: google.crypto.tink.BBSKeyFormat
   440  	(common_go_proto.HashType)(0), // 6: google.crypto.tink.HashType
   441  }
   442  var file_proto_bbs_proto_depIdxs = []int32{
   443  	6, // 0: google.crypto.tink.BBSParams.hash_type:type_name -> google.crypto.tink.HashType
   444  	0, // 1: google.crypto.tink.BBSParams.curve:type_name -> google.crypto.tink.BBSCurveType
   445  	1, // 2: google.crypto.tink.BBSParams.group:type_name -> google.crypto.tink.GroupField
   446  	2, // 3: google.crypto.tink.BBSPublicKey.params:type_name -> google.crypto.tink.BBSParams
   447  	3, // 4: google.crypto.tink.BBSPrivateKey.public_key:type_name -> google.crypto.tink.BBSPublicKey
   448  	2, // 5: google.crypto.tink.BBSKeyFormat.params:type_name -> google.crypto.tink.BBSParams
   449  	6, // [6:6] is the sub-list for method output_type
   450  	6, // [6:6] is the sub-list for method input_type
   451  	6, // [6:6] is the sub-list for extension type_name
   452  	6, // [6:6] is the sub-list for extension extendee
   453  	0, // [0:6] is the sub-list for field type_name
   454  }
   455  
   456  func init() { file_proto_bbs_proto_init() }
   457  func file_proto_bbs_proto_init() {
   458  	if File_proto_bbs_proto != nil {
   459  		return
   460  	}
   461  	if !protoimpl.UnsafeEnabled {
   462  		file_proto_bbs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   463  			switch v := v.(*BBSParams); i {
   464  			case 0:
   465  				return &v.state
   466  			case 1:
   467  				return &v.sizeCache
   468  			case 2:
   469  				return &v.unknownFields
   470  			default:
   471  				return nil
   472  			}
   473  		}
   474  		file_proto_bbs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   475  			switch v := v.(*BBSPublicKey); 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_bbs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   487  			switch v := v.(*BBSPrivateKey); 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_bbs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   499  			switch v := v.(*BBSKeyFormat); 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  	}
   511  	type x struct{}
   512  	out := protoimpl.TypeBuilder{
   513  		File: protoimpl.DescBuilder{
   514  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   515  			RawDescriptor: file_proto_bbs_proto_rawDesc,
   516  			NumEnums:      2,
   517  			NumMessages:   4,
   518  			NumExtensions: 0,
   519  			NumServices:   0,
   520  		},
   521  		GoTypes:           file_proto_bbs_proto_goTypes,
   522  		DependencyIndexes: file_proto_bbs_proto_depIdxs,
   523  		EnumInfos:         file_proto_bbs_proto_enumTypes,
   524  		MessageInfos:      file_proto_bbs_proto_msgTypes,
   525  	}.Build()
   526  	File_proto_bbs_proto = out.File
   527  	file_proto_bbs_proto_rawDesc = nil
   528  	file_proto_bbs_proto_goTypes = nil
   529  	file_proto_bbs_proto_depIdxs = nil
   530  }