gogithub.com/google/tink/go/proto/aes_siv_go_proto Index | Files

package aes_siv_go_proto

import "github.com/google/tink/go/proto/aes_siv_go_proto"

Index

Variables

var File_third_party_tink_proto_aes_siv_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

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

func (*AesSivKey) Descriptor

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

Deprecated: Use AesSivKey.ProtoReflect.Descriptor instead.

func (*AesSivKey) GetKeyValue

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

func (*AesSivKey) GetVersion

func (x *AesSivKey) GetVersion() uint32

func (*AesSivKey) ProtoMessage

func (*AesSivKey) ProtoMessage()

func (*AesSivKey) ProtoReflect

func (x *AesSivKey) ProtoReflect() protoreflect.Message

func (*AesSivKey) Reset

func (x *AesSivKey) Reset()

func (*AesSivKey) String

func (x *AesSivKey) String() string

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"`
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*AesSivKeyFormat) Descriptor

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

Deprecated: Use AesSivKeyFormat.ProtoReflect.Descriptor instead.

func (*AesSivKeyFormat) GetKeySize

func (x *AesSivKeyFormat) GetKeySize() uint32

func (*AesSivKeyFormat) GetVersion

func (x *AesSivKeyFormat) GetVersion() uint32

func (*AesSivKeyFormat) ProtoMessage

func (*AesSivKeyFormat) ProtoMessage()

func (*AesSivKeyFormat) ProtoReflect

func (x *AesSivKeyFormat) ProtoReflect() protoreflect.Message

func (*AesSivKeyFormat) Reset

func (x *AesSivKeyFormat) Reset()

func (*AesSivKeyFormat) String

func (x *AesSivKeyFormat) String() string

Source Files

aes_siv.pb.go

Version
v1.7.0 (latest)
Published
Aug 10, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
3 months ago

Tools for package owners.