| 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 |
# |
| 15 |
load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_package") |
| 16 |
|
| 17 |
licenses(["notice"]) |
| 18 |
|
| 19 |
grpc_package( |
| 20 |
name = "test/core/tsi/alts/crypt", |
| 21 |
visibility = "public", |
| 22 |
) |
| 23 |
|
| 24 |
grpc_cc_test( |
| 25 |
name = "alts_crypt_test", |
| 26 |
srcs = ["aes_gcm_test.cc"], |
| 27 |
external_deps = ["gtest"], |
| 28 |
language = "C++", |
| 29 |
deps = [ |
| 30 |
":alts_crypt_test_util", |
| 31 |
"//:gpr", |
| 32 |
"//:grpc", |
| 33 |
"//test/core/util:grpc_test_util", |
| 34 |
], |
| 35 |
) |
| 36 |
|
| 37 |
grpc_cc_library( |
| 38 |
name = "alts_crypt_test_util", |
| 39 |
srcs = ["gsec_test_util.cc"], |
| 40 |
hdrs = ["gsec_test_util.h"], |
| 41 |
deps = [ |
| 42 |
"//:gpr", |
| 43 |
"//:grpc", |
| 44 |
], |
| 45 |
) |