|
void | zrtp_config_defaults (zrtp_config_t *config) |
| Initializes libzrtp global config. More...
|
|
zrtp_status_t | zrtp_init (zrtp_config_t *config, zrtp_global_t **zrtp) |
| Initializing libzrtp. More...
|
|
zrtp_status_t | zrtp_down (zrtp_global_t *zrtp) |
| Shutting down the library. More...
|
|
zrtp_status_t | zrtp_session_init (zrtp_global_t *zrtp, zrtp_profile_t *profile, zrtp_signaling_role_t role, zrtp_session_t **session) |
| ZRTP Session Initialization. More...
|
|
void | zrtp_session_down (zrtp_session_t *session) |
| ZRTP Session context deinitialization. More...
|
|
zrtp_status_t | zrtp_session_get (zrtp_session_t *session, zrtp_session_info_t *info) |
| Obtain information about ZRTP session. More...
|
|
void | zrtp_session_set_userdata (zrtp_session_t *session, void *udata) |
| Allow user to associate some data with current zrtp session. More...
|
|
void * | zrtp_session_get_userdata (zrtp_session_t *session) |
| Return user data associated with the zrtp session. More...
|
|
zrtp_status_t | zrtp_stream_attach (zrtp_session_t *session, zrtp_stream_t **stream) |
| Attaching a new stream to the session. More...
|
|
zrtp_status_t | zrtp_stream_start (zrtp_stream_t *stream, uint32_t ssrc) |
| Starting a ZRTP stream. More...
|
|
zrtp_status_t | zrtp_stream_stop (zrtp_stream_t *stream) |
| ZRTP protocol stopping. More...
|
|
zrtp_status_t | zrtp_stream_clear (zrtp_stream_t *stream) |
| Initiating an interruption of the secure connection. More...
|
|
zrtp_status_t | zrtp_stream_secure (zrtp_stream_t *stream) |
| Initiating a secure connection setup. More...
|
|
zrtp_status_t | zrtp_stream_get (zrtp_stream_t *stream, zrtp_stream_info_t *info) |
| Obtain information about zrtp stream. More...
|
|
void | zrtp_stream_set_userdata (zrtp_stream_t *stream, void *udata) |
| Allow user to associate some data with zrtp stream. More...
|
|
void * | zrtp_stream_get_userdata (const zrtp_stream_t *stream) |
| Return user data associated with the zrtp stream. More...
|
|
zrtp_status_t | zrtp_process_rtp (zrtp_stream_t *stream, char *packet, unsigned int *length) |
| Processing outgoing RTP packets. More...
|
|
zrtp_status_t | zrtp_process_srtp (zrtp_stream_t *stream, char *packet, unsigned int *length) |
| Processing incoming RTP packets. More...
|
|
zrtp_status_t | zrtp_process_rtcp (zrtp_stream_t *stream, char *packet, unsigned int *length) |
| Processing outgoing RTCP packets. More...
|
|
zrtp_status_t | zrtp_process_srtcp (zrtp_stream_t *stream, char *packet, unsigned int *length) |
| Processing incoming RTCP packets. More...
|
|
zrtp_status_t | zrtp_signaling_hash_set (zrtp_stream_t *stream, const char *hash_buff, uint32_t hash_buff_length) |
| Specifies the hash of the peer Hello message for verification. More...
|
|
zrtp_status_t | zrtp_signaling_hash_get (zrtp_stream_t *stream, char *hash_buff, uint32_t hash_buff_length) |
| Returns the hash of the Hello message to be transferred in signaling. More...
|
|
zrtp_status_t | zrtp_verified_set (zrtp_global_t *zrtp, zrtp_string16_t *zid1, zrtp_string16_t *zid2, uint8_t verified) |
| Changing the value of the secret's verification flag. More...
|
|
zrtp_status_t | zrtp_profile_check (const zrtp_profile_t *profile, zrtp_global_t *zrtp) |
| Verifying the ZRTP profile. More...
|
|
void | zrtp_profile_defaults (zrtp_profile_t *profile, zrtp_global_t *zrtp) |
| Configure the default ZRTP profile. More...
|
|
int | zrtp_profile_find (const zrtp_profile_t *profile, zrtp_crypto_comp_t type, uint8_t id) |
| Search for a component in the profile by ID. More...
|
|
int | zrtp_entropy_add (zrtp_global_t *zrtp, const unsigned char *buffer, uint32_t length) |
| Entropy accumulation routine. More...
|
|
int | zrtp_randstr (zrtp_global_t *zrtp, unsigned char *buffer, uint32_t length) |
| Random string generation. More...
|
|
int | zrtp_randstr2 (unsigned char *buffer, uint32_t length) |
|
Defines basic libzrtp functions and data types.