Home
last modified time | relevance | path

Searched refs:unprotected_bytes (Results 1 – 6 of 6) 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 …]