Home
last modified time | relevance | path

Searched refs:unprotected_bytes (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_frame_protector.cc141 const unsigned char* unprotected_bytes, in alts_protect() argument
145 if (self == nullptr || unprotected_bytes == nullptr || in alts_protect()
167 unprotected_bytes, bytes_to_buffer); in alts_protect()
235 unsigned char* unprotected_bytes, in alts_unprotect() argument
238 protected_frames_bytes_size == nullptr || unprotected_bytes == nullptr || in alts_unprotect()
298 memcpy(unprotected_bytes, in alts_unprotect()
/external/grpc-grpc/src/core/tsi/
Dtransport_security.cc75 const unsigned char* unprotected_bytes, in tsi_frame_protector_protect() argument
80 unprotected_bytes == nullptr || unprotected_bytes_size == nullptr || in tsi_frame_protector_protect()
86 return self->vtable->protect(self, unprotected_bytes, unprotected_bytes_size, in tsi_frame_protector_protect()
108 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes, in tsi_frame_protector_unprotect() argument
112 protected_frames_bytes_size == nullptr || unprotected_bytes == nullptr || in tsi_frame_protector_unprotect()
118 protected_frames_bytes_size, unprotected_bytes, in tsi_frame_protector_unprotect()
Dtransport_security.h35 const unsigned char* unprotected_bytes,
46 unsigned char* unprotected_bytes,
Dtransport_security_interface.h134 const unsigned char* unprotected_bytes,
175 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes,
Dfake_transport_security.cc260 const unsigned char* unprotected_bytes, in fake_protector_protect() argument
306 tsi_fake_frame_decode(unprotected_bytes, unprotected_bytes_size, frame); in fake_protector_protect()
346 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes, in fake_protector_unprotect() argument
362 result = tsi_fake_frame_encode(unprotected_bytes, &drained_size, frame); in fake_protector_unprotect()
363 unprotected_bytes += drained_size; in fake_protector_unprotect()
388 result = tsi_fake_frame_encode(unprotected_bytes, &drained_size, frame); in fake_protector_unprotect()
Dssl_transport_security.cc453 static tsi_result do_ssl_read(SSL* ssl, unsigned char* unprotected_bytes, in do_ssl_read() argument
457 read_from_ssl = SSL_read(ssl, unprotected_bytes, in do_ssl_read()
486 static tsi_result do_ssl_write(SSL* ssl, unsigned char* unprotected_bytes, in do_ssl_write() argument
490 ssl_write_result = SSL_write(ssl, unprotected_bytes, in do_ssl_write()
820 const unsigned char* unprotected_bytes, in ssl_protector_protect() argument
850 memcpy(impl->buffer + impl->buffer_offset, unprotected_bytes, in ssl_protector_protect()
858 memcpy(impl->buffer + impl->buffer_offset, unprotected_bytes, available); in ssl_protector_protect()
911 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes, in ssl_protector_unprotect() argument
921 result = do_ssl_read(impl->ssl, unprotected_bytes, unprotected_bytes_size); in ssl_protector_unprotect()
929 unprotected_bytes += output_bytes_offset; in ssl_protector_unprotect()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dtransport_security.cc88 const unsigned char* unprotected_bytes, in tsi_frame_protector_protect() argument
93 unprotected_bytes == nullptr || unprotected_bytes_size == nullptr || in tsi_frame_protector_protect()
99 return self->vtable->protect(self, unprotected_bytes, unprotected_bytes_size, in tsi_frame_protector_protect()
121 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes, in tsi_frame_protector_unprotect() argument
125 protected_frames_bytes_size == nullptr || unprotected_bytes == nullptr || in tsi_frame_protector_unprotect()
131 protected_frames_bytes_size, unprotected_bytes, in tsi_frame_protector_unprotect()
Dtransport_security.h35 const unsigned char* unprotected_bytes,
46 unsigned char* unprotected_bytes,
Dtransport_security_interface.h149 const unsigned char* unprotected_bytes,
190 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes,
Dfake_transport_security.cc256 const unsigned char* unprotected_bytes, in fake_protector_protect() argument
302 tsi_fake_frame_decode(unprotected_bytes, unprotected_bytes_size, frame); in fake_protector_protect()
342 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes, in fake_protector_unprotect() argument
358 result = tsi_fake_frame_encode(unprotected_bytes, &drained_size, frame); in fake_protector_unprotect()
359 unprotected_bytes += drained_size; in fake_protector_unprotect()
384 result = tsi_fake_frame_encode(unprotected_bytes, &drained_size, frame); in fake_protector_unprotect()
Dssl_transport_security.cc494 static tsi_result do_ssl_read(SSL* ssl, unsigned char* unprotected_bytes, in do_ssl_read() argument
498 read_from_ssl = SSL_read(ssl, unprotected_bytes, in do_ssl_read()
527 static tsi_result do_ssl_write(SSL* ssl, unsigned char* unprotected_bytes, in do_ssl_write() argument
531 ssl_write_result = SSL_write(ssl, unprotected_bytes, in do_ssl_write()
1013 const unsigned char* unprotected_bytes, in ssl_protector_protect() argument
1043 memcpy(impl->buffer + impl->buffer_offset, unprotected_bytes, in ssl_protector_protect()
1051 memcpy(impl->buffer + impl->buffer_offset, unprotected_bytes, available); in ssl_protector_protect()
1104 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes, in ssl_protector_unprotect() argument
1114 result = do_ssl_read(impl->ssl, unprotected_bytes, unprotected_bytes_size); in ssl_protector_unprotect()
1122 unprotected_bytes += output_bytes_offset; in ssl_protector_unprotect()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/frame_protector/
Dalts_frame_protector.cc141 const unsigned char* unprotected_bytes, in alts_protect() argument
145 if (self == nullptr || unprotected_bytes == nullptr || in alts_protect()
167 unprotected_bytes, bytes_to_buffer); in alts_protect()
235 unsigned char* unprotected_bytes, in alts_unprotect() argument
238 protected_frames_bytes_size == nullptr || unprotected_bytes == nullptr || in alts_unprotect()
298 memcpy(unprotected_bytes, in alts_unprotect()