blob: 8609672ff65e687895f9f3baba635fe6cc7ebb76 [file] [log] [blame]
// Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: third_party/tink/proto/aes_ctr_hmac_aead.proto
package aes_ctr_hmac_aead_go_proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
aes_ctr_go_proto "github.com/google/tink/proto/aes_ctr_go_proto"
hmac_go_proto "github.com/google/tink/proto/hmac_go_proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
type AesCtrHmacAeadKeyFormat struct {
AesCtrKeyFormat *aes_ctr_go_proto.AesCtrKeyFormat `protobuf:"bytes,1,opt,name=aes_ctr_key_format,json=aesCtrKeyFormat,proto3" json:"aes_ctr_key_format,omitempty"`
HmacKeyFormat *hmac_go_proto.HmacKeyFormat `protobuf:"bytes,2,opt,name=hmac_key_format,json=hmacKeyFormat,proto3" json:"hmac_key_format,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesCtrHmacAeadKeyFormat) Reset() { *m = AesCtrHmacAeadKeyFormat{} }
func (m *AesCtrHmacAeadKeyFormat) String() string { return proto.CompactTextString(m) }
func (*AesCtrHmacAeadKeyFormat) ProtoMessage() {}
func (*AesCtrHmacAeadKeyFormat) Descriptor() ([]byte, []int) {
return fileDescriptor_169302744b0080e1, []int{0}
}
func (m *AesCtrHmacAeadKeyFormat) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesCtrHmacAeadKeyFormat.Unmarshal(m, b)
}
func (m *AesCtrHmacAeadKeyFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesCtrHmacAeadKeyFormat.Marshal(b, m, deterministic)
}
func (m *AesCtrHmacAeadKeyFormat) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesCtrHmacAeadKeyFormat.Merge(m, src)
}
func (m *AesCtrHmacAeadKeyFormat) XXX_Size() int {
return xxx_messageInfo_AesCtrHmacAeadKeyFormat.Size(m)
}
func (m *AesCtrHmacAeadKeyFormat) XXX_DiscardUnknown() {
xxx_messageInfo_AesCtrHmacAeadKeyFormat.DiscardUnknown(m)
}
var xxx_messageInfo_AesCtrHmacAeadKeyFormat proto.InternalMessageInfo
func (m *AesCtrHmacAeadKeyFormat) GetAesCtrKeyFormat() *aes_ctr_go_proto.AesCtrKeyFormat {
if m != nil {
return m.AesCtrKeyFormat
}
return nil
}
func (m *AesCtrHmacAeadKeyFormat) GetHmacKeyFormat() *hmac_go_proto.HmacKeyFormat {
if m != nil {
return m.HmacKeyFormat
}
return nil
}
// key_type: type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey
type AesCtrHmacAeadKey struct {
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
AesCtrKey *aes_ctr_go_proto.AesCtrKey `protobuf:"bytes,2,opt,name=aes_ctr_key,json=aesCtrKey,proto3" json:"aes_ctr_key,omitempty"`
HmacKey *hmac_go_proto.HmacKey `protobuf:"bytes,3,opt,name=hmac_key,json=hmacKey,proto3" json:"hmac_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AesCtrHmacAeadKey) Reset() { *m = AesCtrHmacAeadKey{} }
func (m *AesCtrHmacAeadKey) String() string { return proto.CompactTextString(m) }
func (*AesCtrHmacAeadKey) ProtoMessage() {}
func (*AesCtrHmacAeadKey) Descriptor() ([]byte, []int) {
return fileDescriptor_169302744b0080e1, []int{1}
}
func (m *AesCtrHmacAeadKey) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AesCtrHmacAeadKey.Unmarshal(m, b)
}
func (m *AesCtrHmacAeadKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AesCtrHmacAeadKey.Marshal(b, m, deterministic)
}
func (m *AesCtrHmacAeadKey) XXX_Merge(src proto.Message) {
xxx_messageInfo_AesCtrHmacAeadKey.Merge(m, src)
}
func (m *AesCtrHmacAeadKey) XXX_Size() int {
return xxx_messageInfo_AesCtrHmacAeadKey.Size(m)
}
func (m *AesCtrHmacAeadKey) XXX_DiscardUnknown() {
xxx_messageInfo_AesCtrHmacAeadKey.DiscardUnknown(m)
}
var xxx_messageInfo_AesCtrHmacAeadKey proto.InternalMessageInfo
func (m *AesCtrHmacAeadKey) GetVersion() uint32 {
if m != nil {
return m.Version
}
return 0
}
func (m *AesCtrHmacAeadKey) GetAesCtrKey() *aes_ctr_go_proto.AesCtrKey {
if m != nil {
return m.AesCtrKey
}
return nil
}
func (m *AesCtrHmacAeadKey) GetHmacKey() *hmac_go_proto.HmacKey {
if m != nil {
return m.HmacKey
}
return nil
}
func init() {
proto.RegisterType((*AesCtrHmacAeadKeyFormat)(nil), "google.crypto.tink.AesCtrHmacAeadKeyFormat")
proto.RegisterType((*AesCtrHmacAeadKey)(nil), "google.crypto.tink.AesCtrHmacAeadKey")
}
func init() {
proto.RegisterFile("proto/aes_ctr_hmac_aead.proto", fileDescriptor_169302744b0080e1)
}
var fileDescriptor_169302744b0080e1 = []byte{
// 296 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0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