/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
D | alts_frame_protector.cc | 141 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/ |
D | transport_security.cc | 75 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()
|
D | transport_security.h | 35 const unsigned char* unprotected_bytes, 46 unsigned char* unprotected_bytes,
|
D | transport_security_interface.h | 134 const unsigned char* unprotected_bytes, 175 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes,
|
D | fake_transport_security.cc | 260 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()
|
D | ssl_transport_security.cc | 453 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/ |
D | transport_security.cc | 88 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()
|
D | transport_security.h | 35 const unsigned char* unprotected_bytes, 46 unsigned char* unprotected_bytes,
|
D | transport_security_interface.h | 149 const unsigned char* unprotected_bytes, 190 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes,
|
D | fake_transport_security.cc | 256 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()
|
D | ssl_transport_security.cc | 494 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/ |
D | alts_frame_protector.cc | 141 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()
|