aes_siv_go_proto

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AesSivKey

type AesSivKey struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// First half is AES-CTR key, second is AES-SIV.
	KeyValue             []byte   `protobuf:"bytes,2,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

key_type: type.googleapis.com/google.crypto.tink.AesSivKey

func (*AesSivKey) Descriptor

func (*AesSivKey) Descriptor() ([]byte, []int)

func (*AesSivKey) GetKeyValue

func (m *AesSivKey) GetKeyValue() []byte

func (*AesSivKey) GetVersion

func (m *AesSivKey) GetVersion() uint32

func (*AesSivKey) ProtoMessage

func (*AesSivKey) ProtoMessage()

func (*AesSivKey) Reset

func (m *AesSivKey) Reset()

func (*AesSivKey) String

func (m *AesSivKey) String() string

func (*AesSivKey) XXX_DiscardUnknown

func (m *AesSivKey) XXX_DiscardUnknown()

func (*AesSivKey) XXX_Marshal

func (m *AesSivKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AesSivKey) XXX_Merge

func (m *AesSivKey) XXX_Merge(src proto.Message)

func (*AesSivKey) XXX_Size

func (m *AesSivKey) XXX_Size() int

func (*AesSivKey) XXX_Unmarshal

func (m *AesSivKey) XXX_Unmarshal(b []byte) error

type AesSivKeyFormat

type AesSivKeyFormat struct {
	// Only valid value is: 64.
	KeySize              uint32   `protobuf:"varint,1,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AesSivKeyFormat) Descriptor

func (*AesSivKeyFormat) Descriptor() ([]byte, []int)

func (*AesSivKeyFormat) GetKeySize

func (m *AesSivKeyFormat) GetKeySize() uint32

func (*AesSivKeyFormat) ProtoMessage

func (*AesSivKeyFormat) ProtoMessage()

func (*AesSivKeyFormat) Reset

func (m *AesSivKeyFormat) Reset()

func (*AesSivKeyFormat) String

func (m *AesSivKeyFormat) String() string

func (*AesSivKeyFormat) XXX_DiscardUnknown

func (m *AesSivKeyFormat) XXX_DiscardUnknown()

func (*AesSivKeyFormat) XXX_Marshal

func (m *AesSivKeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AesSivKeyFormat) XXX_Merge

func (m *AesSivKeyFormat) XXX_Merge(src proto.Message)

func (*AesSivKeyFormat) XXX_Size

func (m *AesSivKeyFormat) XXX_Size() int

func (*AesSivKeyFormat) XXX_Unmarshal

func (m *AesSivKeyFormat) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL