1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3package(default_visibility = ["//:__subpackages__"]) # keep 4 5licenses(["notice"]) # keep 6 7go_library( 8 name = "streamingaead", 9 srcs = [ 10 "aes_ctr_hmac_key_manager.go", 11 "aes_gcm_hkdf_key_manager.go", 12 "decrypt_reader.go", 13 "streamingaead.go", 14 "streamingaead_factory.go", 15 "streamingaead_key_templates.go", 16 ], 17 importpath = "github.com/google/tink/go/streamingaead", 18 visibility = ["//visibility:public"], 19 deps = [ 20 "//aead/subtle", 21 "//core/primitiveset", 22 "//core/registry", 23 "//internal/internalregistry", 24 "//internal/tinkerror", 25 "//keyset", 26 "//mac/subtle", 27 "//proto/aes_ctr_hmac_streaming_go_proto", 28 "//proto/aes_gcm_hkdf_streaming_go_proto", 29 "//proto/common_go_proto", 30 "//proto/hmac_go_proto", 31 "//proto/tink_go_proto", 32 "//streamingaead/subtle", 33 "//subtle/random", 34 "//tink", 35 "@org_golang_google_protobuf//proto", 36 ], 37) 38 39go_test( 40 name = "streamingaead_test", 41 srcs = [ 42 "aes_ctr_hmac_key_manager_test.go", 43 "aes_gcm_hkdf_key_manager_test.go", 44 "decrypt_reader_test.go", 45 "streamingaead_factory_test.go", 46 "streamingaead_key_templates_test.go", 47 "streamingaead_test.go", 48 ], 49 embed = [":streamingaead"], 50 deps = [ 51 "//core/registry", 52 "//insecurecleartextkeyset", 53 "//internal/internalregistry", 54 "//keyset", 55 "//mac", 56 "//proto/aes_ctr_hmac_streaming_go_proto", 57 "//proto/aes_gcm_hkdf_streaming_go_proto", 58 "//proto/common_go_proto", 59 "//proto/tink_go_proto", 60 "//streamingaead/subtle", 61 "//subtle/random", 62 "//testkeyset", 63 "//testutil", 64 "//tink", 65 "@com_github_google_go_cmp//cmp", 66 "@org_golang_google_protobuf//proto", 67 ], 68) 69 70alias( 71 name = "go_default_library", 72 actual = ":streamingaead", 73 visibility = ["//visibility:public"], 74) 75