Home
last modified time | relevance | path

Searched refs:protector (Results 1 – 25 of 1350) sorted by relevance

12345678910>>...54

/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector.cc157 alts_zero_copy_grpc_protector* protector = in alts_zero_copy_grpc_protector_protect() local
160 while (unprotected_slices->length > protector->max_unprotected_data_size) { in alts_zero_copy_grpc_protector_protect()
162 protector->max_unprotected_data_size, in alts_zero_copy_grpc_protector_protect()
163 &protector->unprotected_staging_sb); in alts_zero_copy_grpc_protector_protect()
165 protector->record_protocol, &protector->unprotected_staging_sb, in alts_zero_copy_grpc_protector_protect()
172 protector->record_protocol, unprotected_slices, protected_slices); in alts_zero_copy_grpc_protector_protect()
184 alts_zero_copy_grpc_protector* protector = in alts_zero_copy_grpc_protector_unprotect() local
186 grpc_slice_buffer_move_into(protected_slices, &protector->protected_sb); in alts_zero_copy_grpc_protector_unprotect()
188 while (protector->protected_sb.length >= kZeroCopyFrameLengthFieldSize) { in alts_zero_copy_grpc_protector_unprotect()
189 if (protector->parsed_frame_size == 0) { in alts_zero_copy_grpc_protector_unprotect()
[all …]
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector.cc157 alts_zero_copy_grpc_protector* protector = in alts_zero_copy_grpc_protector_protect() local
160 while (unprotected_slices->length > protector->max_unprotected_data_size) { in alts_zero_copy_grpc_protector_protect()
162 protector->max_unprotected_data_size, in alts_zero_copy_grpc_protector_protect()
163 &protector->unprotected_staging_sb); in alts_zero_copy_grpc_protector_protect()
165 protector->record_protocol, &protector->unprotected_staging_sb, in alts_zero_copy_grpc_protector_protect()
172 protector->record_protocol, unprotected_slices, protected_slices); in alts_zero_copy_grpc_protector_protect()
184 alts_zero_copy_grpc_protector* protector = in alts_zero_copy_grpc_protector_unprotect() local
186 grpc_slice_buffer_move_into(protected_slices, &protector->protected_sb); in alts_zero_copy_grpc_protector_unprotect()
188 while (protector->protected_sb.length >= kZeroCopyFrameLengthFieldSize) { in alts_zero_copy_grpc_protector_unprotect()
189 if (protector->parsed_frame_size == 0) { in alts_zero_copy_grpc_protector_unprotect()
[all …]
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DTsiFrameHandler.java44 private TsiFrameProtector protector; field in TsiFrameHandler
61 setProtector(tsiEvent.protector()); in userEventTriggered()
70 void setProtector(TsiFrameProtector protector) { in setProtector() argument
71 checkState(this.protector == null); in setProtector()
72 this.protector = checkNotNull(protector); in setProtector()
77 checkState(protector != null, "Cannot read frames while the TSI handshake is in progress"); in decode()
78 protector.unprotect(in, out, ctx.alloc()); in decode()
84 checkState(protector != null, "Cannot write frames while the TSI handshake is in progress"); in write()
147 checkState(protector != null, "Cannot write frames while the TSI handshake is in progress"); in flush()
167 protector.protectFlush( in flush()
DTsiHandshakeHandler.java61 private final TsiFrameProtector protector; field in TsiHandshakeHandler.TsiHandshakeCompletionEvent
66 TsiFrameProtector protector, TsiPeer peer, @Nullable Object peerObject) { in TsiHandshakeCompletionEvent() argument
69 this.protector = checkNotNull(protector); in TsiHandshakeCompletionEvent()
77 this.protector = null; in TsiHandshakeCompletionEvent()
106 TsiFrameProtector protector() { in protector() method in TsiHandshakeHandler.TsiHandshakeCompletionEvent
107 return protector; in protector()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dlocal_transport_security.cc93 tsi_zero_copy_grpc_protector** protector) { in local_zero_copy_grpc_protector_create() argument
94 if (grpc_core::ExecCtx::Get() == nullptr || protector == nullptr) { in local_zero_copy_grpc_protector_create()
103 *protector = &impl->base; in local_zero_copy_grpc_protector_create()
117 tsi_zero_copy_grpc_protector** protector) { in handshaker_result_create_zero_copy_grpc_protector() argument
118 if (self == nullptr || protector == nullptr) { in handshaker_result_create_zero_copy_grpc_protector()
123 tsi_result ok = local_zero_copy_grpc_protector_create(protector); in handshaker_result_create_zero_copy_grpc_protector()
Dtransport_security_grpc.cc26 tsi_zero_copy_grpc_protector** protector) { in tsi_handshaker_result_create_zero_copy_grpc_protector() argument
27 if (self == nullptr || self->vtable == nullptr || protector == nullptr) { in tsi_handshaker_result_create_zero_copy_grpc_protector()
34 self, max_output_protected_frame_size, protector); in tsi_handshaker_result_create_zero_copy_grpc_protector()
Dtransport_security.h67 tsi_frame_protector** protector);
97 tsi_zero_copy_grpc_protector** protector);
100 tsi_frame_protector** protector);
/external/grpc-grpc/src/core/tsi/
Dlocal_transport_security.cc90 tsi_zero_copy_grpc_protector** protector) { in local_zero_copy_grpc_protector_create() argument
91 if (grpc_core::ExecCtx::Get() == nullptr || protector == nullptr) { in local_zero_copy_grpc_protector_create()
100 *protector = &impl->base; in local_zero_copy_grpc_protector_create()
113 tsi_zero_copy_grpc_protector** protector) { in handshaker_result_create_zero_copy_grpc_protector() argument
114 if (self == nullptr || protector == nullptr) { in handshaker_result_create_zero_copy_grpc_protector()
119 tsi_result ok = local_zero_copy_grpc_protector_create(protector); in handshaker_result_create_zero_copy_grpc_protector()
Dtransport_security_grpc.cc26 tsi_zero_copy_grpc_protector** protector) { in tsi_handshaker_result_create_zero_copy_grpc_protector() argument
27 if (self == nullptr || self->vtable == nullptr || protector == nullptr) { in tsi_handshaker_result_create_zero_copy_grpc_protector()
34 self, max_output_protected_frame_size, protector); in tsi_handshaker_result_create_zero_copy_grpc_protector()
Dtransport_security.h68 tsi_frame_protector** protector);
99 tsi_zero_copy_grpc_protector** protector);
102 tsi_frame_protector** protector);
Dtransport_security.cc183 tsi_frame_protector** protector) { in tsi_handshaker_create_frame_protector() argument
185 if (self == nullptr || self->vtable == nullptr || protector == nullptr) { in tsi_handshaker_create_frame_protector()
193 protector); in tsi_handshaker_create_frame_protector()
241 tsi_frame_protector** protector) { in tsi_handshaker_result_create_frame_protector() argument
242 if (self == nullptr || self->vtable == nullptr || protector == nullptr) { in tsi_handshaker_result_create_frame_protector()
247 protector); in tsi_handshaker_result_create_frame_protector()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DObject_spt_fp.h141 OBJECT *protector // IN: the protector handle
157 OBJECT *protector, // IN: The handle of the object that provides
188 OBJECT *protector, // IN: The object that provides
324 OBJECT *protector, // IN: the protector
347 OBJECT *protector, // IN: the protector
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c46 OBJECT *protector // IN: the protector handle in GetIV2BSize() argument
53 if(protector == NULL) in GetIV2BSize()
61 symAlg = protector->publicArea.parameters.asymDetail.symmetric.algorithm; in GetIV2BSize()
62 keyBits = protector->publicArea.parameters.asymDetail.symmetric.keyBits.sym; in GetIV2BSize()
98 OBJECT *protector, // IN: the protector object in ComputeProtectionKeyParms() argument
113 if(protector == NULL) in ComputeProtectionKeyParms()
123 symDef = &protector->publicArea.parameters.asymDetail.symmetric; in ComputeProtectionKeyParms()
130 seed = GetSeedForKDF(protector); in ComputeProtectionKeyParms()
168 OBJECT *protector, // IN: the object that in ComputeOuterIntegrity() argument
188 seed = GetSeedForKDF(protector); in ComputeOuterIntegrity()
[all …]
/external/arm-trusted-firmware/lib/stack_protector/
Dstack_protector.mk15 TF_CFLAGS += -fno-stack-protector
22 TF_CFLAGS += -fstack-protector
24 TF_CFLAGS += -fstack-protector-${ENABLE_STACK_PROTECTOR}
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc51 tsi_frame_protector* protector, in secure_endpoint()
56 protector(protector), in secure_endpoint()
73 tsi_frame_protector_destroy(protector); in ~secure_endpoint()
85 struct tsi_frame_protector* protector; member
204 ep->protector, message_bytes, &processed_message_size, cur, in on_read()
318 result = tsi_frame_protector_protect(ep->protector, message_bytes, in endpoint_write()
343 ep->protector, cur, &protected_buffer_size_to_send, in endpoint_write()
444 struct tsi_frame_protector* protector, in grpc_secure_endpoint_create() argument
449 new secure_endpoint(&vtable, protector, zero_copy_protector, to_wrap, in grpc_secure_endpoint_create()
/external/llvm-project/llvm/test/CodeGen/X86/
Dstack-protector-3.ll2 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -stack-protector-guard=tls -o - < %s | FileCheck --check-pr…
3 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -stack-protector-guard=global -o - < %s | FileCheck --check…
4 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -stack-protector-guard-reg=fs -o - < %s | FileCheck --check…
5 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -stack-protector-guard-reg=gs -o - < %s | FileCheck --check…
6 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -stack-protector-guard-offset=20 -o - < %s | FileCheck --ch…
65 …lse" "no-signed-zeros-fp-math"="false" "no-trapping-math"="true" "stack-protector-buffer-size"="8"…
Dstack-protector.ll28 ; Requires no protector.
68 ; Requires protector.
113 ; Requires protector.
154 ; Requires protector.
195 ; Requires no protector.
237 ; Requires protector.
276 ; Requires protector.
319 ; Requires protector.
362 ; Requires no protector.
402 ; Requires no protector.
[all …]
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc201 tsi_frame_protector* protector = nullptr; in on_client_start_success_cb() local
203 result, nullptr, &protector) == TSI_INVALID_ARGUMENT); in on_client_start_success_cb()
228 tsi_frame_protector* protector = nullptr; in on_server_start_success_cb() local
230 result, nullptr, &protector) == TSI_INVALID_ARGUMENT); in on_server_start_success_cb()
269 tsi_frame_protector* protector = nullptr; in on_client_next_success_cb() local
271 result, nullptr, &protector) == TSI_OK); in on_client_next_success_cb()
272 GPR_ASSERT(protector != nullptr); in on_client_next_success_cb()
273 tsi_frame_protector_destroy(protector); in on_client_next_success_cb()
305 tsi_frame_protector* protector = nullptr; in on_server_next_success_cb() local
307 result, nullptr, &protector) == TSI_OK); in on_server_next_success_cb()
[all …]
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsProtocolNegotiatorTest.java323 InterceptingProtector protector = protectors.poll(); in doNotFlushEmptyBuffer() local
328 assertEquals(0, protector.flushes.get()); in doNotFlushEmptyBuffer()
332 assertEquals(1, protector.flushes.get()); in doNotFlushEmptyBuffer()
337 assertEquals(1, protector.flushes.get()); in doNotFlushEmptyBuffer()
469 InterceptingProtector protector = in createFrameProtector() local
471 protectors.add(protector); in createFrameProtector()
472 return protector; in createFrameProtector()
477 InterceptingProtector protector = in createFrameProtector() local
479 protectors.add(protector); in createFrameProtector()
480 return protector; in createFrameProtector()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecure_endpoint.cc46 struct tsi_frame_protector* protector; member
71 tsi_frame_protector_destroy(ep->protector); in destroy()
177 ep->protector, message_bytes, &processed_message_size, cur, in on_read()
291 result = tsi_frame_protector_protect(ep->protector, message_bytes, in endpoint_write()
316 ep->protector, cur, &protected_buffer_size_to_send, in endpoint_write()
404 struct tsi_frame_protector* protector, in grpc_secure_endpoint_create() argument
413 ep->protector = protector; in grpc_secure_endpoint_create()
/external/llvm/test/CodeGen/X86/
Dstack-protector.ll26 ; Requires no protector.
61 ; Requires protector.
101 ; Requires protector.
137 ; Requires protector.
173 ; Requires no protector.
210 ; Requires protector.
244 ; Requires protector.
282 ; Requires protector.
320 ; Requires no protector.
355 ; Requires no protector.
[all …]
/external/clang/test/Driver/
Drewrite-legacy-objc.m6 // TEST0: "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fobjc-runtime=macosx-fragile" …
12 // TEST1: "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fobjc-runtime=macosx-fragile" …
13 // TEST2: "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fobjc-runtime=macosx-fragile" …
/external/llvm-project/clang/test/Driver/
Drewrite-legacy-objc.m6 // TEST0: "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-…
12 // TEST1: "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-…
13 // TEST2: "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-…
/external/llvm-project/llvm/test/CodeGen/Mips/
Dmips16-hf-attr-2.ll30 "no-nans-fp-math"="false" "stack-protector-buffer-size"="8"
37 "no-nans-fp-math"="false" "stack-protector-buffer-size"="8"
43 "no-nans-fp-math"="false" "stack-protector-buffer-size"="8"
Dmips16-hf-attr.ll30 "no-nans-fp-math"="false" "stack-protector-buffer-size"="8"
37 "no-nans-fp-math"="false" "stack-protector-buffer-size"="8"
43 "no-nans-fp-math"="false" "stack-protector-buffer-size"="8"

12345678910>>...54