blob: a1faf1a16f84c561b7d82416c7c59fad06ed6db2 [file] [log] [blame]
package(default_visibility = ["//tools/build_defs:internal_pkg"]) # keep
licenses(["notice"]) # Apache 2.0 # keep
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"aes_siv_key_manager.go",
"daead.go",
"daead_factory.go",
"daead_key_templates.go",
],
importpath = "github.com/google/tink/go/daead",
visibility = ["//visibility:public"],
deps = [
"//go/core/cryptofmt:go_default_library",
"//go/core/primitiveset:go_default_library",
"//go/core/registry:go_default_library",
"//go/keyset:go_default_library",
"//go/subtle/daead:go_default_library",
"//go/subtle/random:go_default_library",
"//go/tink:go_default_library",
"//proto:aes_siv_go_proto",
"//proto:tink_go_proto",
"@com_github_golang_protobuf//proto:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = [
"aes_siv_key_manager_test.go",
"daead_factory_test.go",
"daead_key_templates_test.go",
"daead_test.go",
],
embed = [":go_default_library"],
deps = [
"//go/core/cryptofmt:go_default_library",
"//go/core/registry:go_default_library",
"//go/keyset:go_default_library",
"//go/subtle/daead:go_default_library",
"//go/subtle/random:go_default_library",
"//go/testkeyset:go_default_library",
"//go/testutil:go_default_library",
"//go/tink:go_default_library",
"//proto:aes_siv_go_proto",
"//proto:tink_go_proto",
"@com_github_golang_protobuf//proto:go_default_library",
],
)