tls_connection_encrypt() function
tls_connection_encrypt - Encrypt data into TLS tunnel @tls_ctx: TLS context data from tls_init() @conn: Connection context data from tls_connection_init() @in_data: Plaintext data to be encrypted Returns: Encrypted TLS data or %NULL on failure This function is used after TLS handshake has been completed successfully to send data in the encrypted tunnel. The caller is responsible for freeing the returned output data.
tls_connection_encrypt() is called by 1 function and calls 9 functions:
![]()
tls_connection_encrypt()
tls_connection_encrypt() reads 4 variables and writes 1 variable:
![]()
tls_connection_encrypt()