Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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.cc491 static tsi_result do_ssl_read(SSL* ssl, unsigned char* unprotected_bytes, in do_ssl_read() argument
495 read_from_ssl = SSL_read(ssl, unprotected_bytes, in do_ssl_read()
524 static tsi_result do_ssl_write(SSL* ssl, unsigned char* unprotected_bytes, in do_ssl_write() argument
528 ssl_write_result = SSL_write(ssl, unprotected_bytes, in do_ssl_write()
1010 const unsigned char* unprotected_bytes, in ssl_protector_protect() argument
1040 memcpy(impl->buffer + impl->buffer_offset, unprotected_bytes, in ssl_protector_protect()
1048 memcpy(impl->buffer + impl->buffer_offset, unprotected_bytes, available); in ssl_protector_protect()
1101 size_t* protected_frames_bytes_size, unsigned char* unprotected_bytes, in ssl_protector_unprotect() argument
1111 result = do_ssl_read(impl->ssl, unprotected_bytes, unprotected_bytes_size); in ssl_protector_unprotect()
1119 unprotected_bytes += output_bytes_offset; in ssl_protector_unprotect()
[all …]