paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
stream_cipher_context Struct Reference

Used for client-server communication encryption. More...

#include <crypt.h>

Data Fields

int fd
 The socket file descriptor. More...
 
struct stream_cipher * recv
 Key used for receiving data. More...
 
struct stream_cipher * send
 Key used for sending data. More...
 

Detailed Description

Used for client-server communication encryption.

The traffic between (the forked child of) para_server and the remote client process is crypted by a symmetric session key. This structure contains the keys for the stream cipher and the file descriptor for which these keys should be used.

Field Documentation

◆ fd

int fd

The socket file descriptor.

Referenced by handle_connect(), recv_sb(), and send_sb().

◆ recv

struct stream_cipher* recv

Key used for receiving data.

Referenced by recv_sb().

◆ send

struct stream_cipher* send

Key used for sending data.

Referenced by send_sb().


The documentation for this struct was generated from the following file: