aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorLuwei Ge <lwge@google.com>2023-10-31 10:58:19 -0700
committerGitHub <noreply@github.com>2023-10-31 10:58:19 -0700
commit2fdcba26dde3d8e9bbac2fb5484d45a999e8a03b (patch)
treecee7c3def4b588d4515c93aaacf973c52c773005 /BUILD
parent609e96446a2dc8e5fa63d3f9f0302998e5f5f207 (diff)
downloadgrpc-grpc-2fdcba26dde3d8e9bbac2fb5484d45a999e8a03b.tar.gz
[ALTS] Create GsecKeyInterface and related classes in ALTS (#34814)
As such, `alts_zero_copy_grpc_protector_create` will take a `GsecKeyFactoryInterface` to create `GsecKeyInterface` objects for the underlying crypter to use. This enables the caller to control how all the key related buffers are prepared and protected. `gsec_aes_gcm_aead_crypter` holds the raw pointer to `GsecKeyInterface` instead of a `unique_ptr` possibly because somewhere in the test (and maybe production code as well), the structure is getting copied. A SEGV error would be caused with `unique_ptr` which doesn't support copy operations.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 8fa1d326cf..5d360a2dfc 100644
--- a/BUILD
+++ b/BUILD
@@ -3487,6 +3487,7 @@ grpc_cc_library(
"//src/core:tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h",
],
external_deps = [
+ "absl/types:span",
"libcrypto",
"libssl",
],