1# Copyright 2018 gRPC authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_package")
16
17licenses(["notice"])  # Apache v2
18
19grpc_package(name = "test/core/tsi/alts/crypt", visibility = "public")
20
21grpc_cc_test(
22    name = "alts_crypt_test",
23    srcs = ["aes_gcm_test.cc"],
24    language = "C++",
25    deps = [
26        ":alts_crypt_test_util",
27        "//:alts_frame_protector",
28        "//:gpr",
29        "//:grpc",
30        "//test/core/util:gpr_test_util",
31    ],
32)
33
34grpc_cc_library(
35    name = "alts_crypt_test_util",
36    srcs = ["gsec_test_util.cc"],
37    hdrs = ["gsec_test_util.h"],
38    deps = [
39        "//:gpr",
40        "//:grpc",
41    ],
42)
43
44