// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.4
// 	protoc        v5.29.0
// source: kernel/hash.proto

package kernel

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// HashAlg is the hash algorithms.
type HashAlg int32

const (
	HashAlg_HashAlgUnknown HashAlg = 0  // Unknown hash algorithm.
	HashAlg_SHA1           HashAlg = 1  // SHA-1 hash algorithm. https://pkg.go.dev/crypto/sha1
	HashAlg_SHA224         HashAlg = 2  // SHA224 hash algorithm. https://pkg.go.dev/crypto/sha256
	HashAlg_SHA256         HashAlg = 3  // SHA-2/SHA256 hash algorithm. https://pkg.go.dev/crypto/sha256
	HashAlg_SHA384         HashAlg = 4  // SHA-2/SHA384 hash algorithm. https://pkg.go.dev/crypto/sha512
	HashAlg_SHA512         HashAlg = 5  // SHA-2/SHA512 hash algorithm. https://pkg.go.dev/crypto/sha512
	HashAlg_SHA512_224     HashAlg = 6  // SHA-2/SHA512_224 hash algorithm. https://pkg.go.dev/crypto/sha512
	HashAlg_SHA512_256     HashAlg = 7  // SHA-2/SHA512_256 hash algorithm. https://pkg.go.dev/crypto/sha512
	HashAlg_SHA3_224       HashAlg = 8  // SHA-3/224 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/sha3
	HashAlg_SHA3_256       HashAlg = 9  // SHA-3/256 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/sha3
	HashAlg_SHA3_384       HashAlg = 10 // SHA-3/384 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/sha3
	HashAlg_SHA3_512       HashAlg = 11 // SHA-3/512 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/sha3
	HashAlg_SHAKE128       HashAlg = 12 // SHAKE128 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/sha3
	HashAlg_SHAKE256       HashAlg = 13 // SHAKE256 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/sha3
	HashAlg_BLAKE2s_256    HashAlg = 14 // BLAKE2s/256 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/blake2s
	HashAlg_BLAKE2b_256    HashAlg = 15 // BLAKE2b/256 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/blake2b
	HashAlg_BLAKE2b_384    HashAlg = 16 // BLAKE2b/384 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/blake2b
	HashAlg_BLAKE2b_512    HashAlg = 17 // BLAKE2b/512 hash algorithm. https://pkg.go.dev/golang.org/x/crypto/blake2b
)

// Enum value maps for HashAlg.
var (
	HashAlg_name = map[int32]string{
		0:  "HashAlgUnknown",
		1:  "SHA1",
		2:  "SHA224",
		3:  "SHA256",
		4:  "SHA384",
		5:  "SHA512",
		6:  "SHA512_224",
		7:  "SHA512_256",
		8:  "SHA3_224",
		9:  "SHA3_256",
		10: "SHA3_384",
		11: "SHA3_512",
		12: "SHAKE128",
		13: "SHAKE256",
		14: "BLAKE2s_256",
		15: "BLAKE2b_256",
		16: "BLAKE2b_384",
		17: "BLAKE2b_512",
	}
	HashAlg_value = map[string]int32{
		"HashAlgUnknown": 0,
		"SHA1":           1,
		"SHA224":         2,
		"SHA256":         3,
		"SHA384":         4,
		"SHA512":         5,
		"SHA512_224":     6,
		"SHA512_256":     7,
		"SHA3_224":       8,
		"SHA3_256":       9,
		"SHA3_384":       10,
		"SHA3_512":       11,
		"SHAKE128":       12,
		"SHAKE256":       13,
		"BLAKE2s_256":    14,
		"BLAKE2b_256":    15,
		"BLAKE2b_384":    16,
		"BLAKE2b_512":    17,
	}
)

func (x HashAlg) Enum() *HashAlg {
	p := new(HashAlg)
	*p = x
	return p
}

func (x HashAlg) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (HashAlg) Descriptor() protoreflect.EnumDescriptor {
	return file_kernel_hash_proto_enumTypes[0].Descriptor()
}

func (HashAlg) Type() protoreflect.EnumType {
	return &file_kernel_hash_proto_enumTypes[0]
}

func (x HashAlg) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use HashAlg.Descriptor instead.
func (HashAlg) EnumDescriptor() ([]byte, []int) {
	return file_kernel_hash_proto_rawDescGZIP(), []int{0}
}

var File_kernel_hash_proto protoreflect.FileDescriptor

var file_kernel_hash_proto_rawDesc = string([]byte{
	0x0a, 0x11, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x2e, 0x70, 0x72,
	0x6f, 0x74, 0x6f, 0x12, 0x06, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x2a, 0x8f, 0x02, 0x0a, 0x07,
	0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x61, 0x73, 0x68, 0x41,
	0x6c, 0x67, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53,
	0x48, 0x41, 0x31, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x32, 0x34, 0x10,
	0x02, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41, 0x32, 0x35, 0x36, 0x10, 0x03, 0x12, 0x0a, 0x0a,
	0x06, 0x53, 0x48, 0x41, 0x33, 0x38, 0x34, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, 0x41,
	0x35, 0x31, 0x32, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x5f,
	0x32, 0x32, 0x34, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x48, 0x41, 0x35, 0x31, 0x32, 0x5f,
	0x32, 0x35, 0x36, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x48, 0x41, 0x33, 0x5f, 0x32, 0x32,
	0x34, 0x10, 0x08, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x48, 0x41, 0x33, 0x5f, 0x32, 0x35, 0x36, 0x10,
	0x09, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x48, 0x41, 0x33, 0x5f, 0x33, 0x38, 0x34, 0x10, 0x0a, 0x12,
	0x0c, 0x0a, 0x08, 0x53, 0x48, 0x41, 0x33, 0x5f, 0x35, 0x31, 0x32, 0x10, 0x0b, 0x12, 0x0c, 0x0a,
	0x08, 0x53, 0x48, 0x41, 0x4b, 0x45, 0x31, 0x32, 0x38, 0x10, 0x0c, 0x12, 0x0c, 0x0a, 0x08, 0x53,
	0x48, 0x41, 0x4b, 0x45, 0x32, 0x35, 0x36, 0x10, 0x0d, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c, 0x41,
	0x4b, 0x45, 0x32, 0x73, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x0e, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c,
	0x41, 0x4b, 0x45, 0x32, 0x62, 0x5f, 0x32, 0x35, 0x36, 0x10, 0x0f, 0x12, 0x0f, 0x0a, 0x0b, 0x42,
	0x4c, 0x41, 0x4b, 0x45, 0x32, 0x62, 0x5f, 0x33, 0x38, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b,
	0x42, 0x4c, 0x41, 0x4b, 0x45, 0x32, 0x62, 0x5f, 0x35, 0x31, 0x32, 0x10, 0x11, 0x42, 0x38, 0x5a,
	0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x69, 0x6c, 0x65,
	0x72, 0x6f, 0x6e, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x69, 0x6c, 0x65,
	0x72, 0x6f, 0x6e, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x73,
	0x2f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
})

var (
	file_kernel_hash_proto_rawDescOnce sync.Once
	file_kernel_hash_proto_rawDescData []byte
)

func file_kernel_hash_proto_rawDescGZIP() []byte {
	file_kernel_hash_proto_rawDescOnce.Do(func() {
		file_kernel_hash_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kernel_hash_proto_rawDesc), len(file_kernel_hash_proto_rawDesc)))
	})
	return file_kernel_hash_proto_rawDescData
}

var file_kernel_hash_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_kernel_hash_proto_goTypes = []any{
	(HashAlg)(0), // 0: kernel.HashAlg
}
var file_kernel_hash_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_kernel_hash_proto_init() }
func file_kernel_hash_proto_init() {
	if File_kernel_hash_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_kernel_hash_proto_rawDesc), len(file_kernel_hash_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_kernel_hash_proto_goTypes,
		DependencyIndexes: file_kernel_hash_proto_depIdxs,
		EnumInfos:         file_kernel_hash_proto_enumTypes,
	}.Build()
	File_kernel_hash_proto = out.File
	file_kernel_hash_proto_goTypes = nil
	file_kernel_hash_proto_depIdxs = nil
}
