// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: encryption.proto

package pb

import (
	proto "github.com/gogo/protobuf/proto"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package

type CipherSuite int32

const (
	CipherSuite_ENC_UNSPECIFIED CipherSuite = 0
	CipherSuite_ENC_NULL        CipherSuite = 1
	CipherSuite_ENC_AESGCM      CipherSuite = 2
	CipherSuite_ENC_SECRETBOX   CipherSuite = 3
)

var CipherSuite_name = map[int32]string{
	0: "ENC_UNSPECIFIED",
	1: "ENC_NULL",
	2: "ENC_AESGCM",
	3: "ENC_SECRETBOX",
}

var CipherSuite_value = map[string]int32{
	"ENC_UNSPECIFIED": 0,
	"ENC_NULL":        1,
	"ENC_AESGCM":      2,
	"ENC_SECRETBOX":   3,
}

func (x CipherSuite) String() string {
	return proto.EnumName(CipherSuite_name, int32(x))
}

type EncryptionParameters struct {
	CipherSuite          CipherSuite `protobuf:"varint,1,opt,name=cipher_suite,json=cipherSuite,proto3,enum=encryption.CipherSuite" json:"cipher_suite,omitempty"`
	BlockSize            int64       `protobuf:"varint,2,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (m *EncryptionParameters) Reset()         { *m = EncryptionParameters{} }
func (m *EncryptionParameters) String() string { return proto.CompactTextString(m) }
func (*EncryptionParameters) ProtoMessage()    {}

func (m *EncryptionParameters) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_EncryptionParameters.Unmarshal(m, b)
}
func (m *EncryptionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_EncryptionParameters.Marshal(b, m, deterministic)
}
func (m *EncryptionParameters) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EncryptionParameters.Merge(m, src)
}
func (m *EncryptionParameters) XXX_Size() int {
	return xxx_messageInfo_EncryptionParameters.Size(m)
}
func (m *EncryptionParameters) XXX_DiscardUnknown() {
	xxx_messageInfo_EncryptionParameters.DiscardUnknown(m)
}

var xxx_messageInfo_EncryptionParameters proto.InternalMessageInfo

func (m *EncryptionParameters) GetCipherSuite() CipherSuite {
	if m != nil {
		return m.CipherSuite
	}
	return CipherSuite_ENC_UNSPECIFIED
}

func (m *EncryptionParameters) GetBlockSize() int64 {
	if m != nil {
		return m.BlockSize
	}
	return 0
}
