diff options
author | Luwei Ge <lwge@google.com> | 2023-10-31 10:58:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 10:58:19 -0700 |
commit | 2fdcba26dde3d8e9bbac2fb5484d45a999e8a03b (patch) | |
tree | cee7c3def4b588d4515c93aaacf973c52c773005 /BUILD | |
parent | 609e96446a2dc8e5fa63d3f9f0302998e5f5f207 (diff) | |
download | grpc-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-- | BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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", ], |