srtp.h File Reference
#include <stdint.h>
Include dependency graph for srtp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SRTPContext
 

Functions

int ff_srtp_set_crypto (struct SRTPContext *s, const char *suite, const char *params)
 
void ff_srtp_free (struct SRTPContext *s)
 
int ff_srtp_decrypt (struct SRTPContext *s, uint8_t *buf, int *lenptr)
 
int ff_srtp_encrypt (struct SRTPContext *s, const uint8_t *in, int len, uint8_t *out, int outlen)
 

Function Documentation

int ff_srtp_decrypt ( struct SRTPContext s,
uint8_t buf,
int *  lenptr 
)

Definition at line 126 of file srtp.c.

Referenced by ff_rtp_parse_packet(), ff_srtp_encrypt(), and srtp_read().

int ff_srtp_encrypt ( struct SRTPContext s,
const uint8_t in,
int  len,
uint8_t out,
int  outlen 
)

Definition at line 238 of file srtp.c.

Referenced by ff_srtp_encrypt(), and srtp_write().

void ff_srtp_free ( struct SRTPContext s)

Definition at line 31 of file srtp.c.

Referenced by ff_rtp_parse_close(), ff_srtp_encrypt(), ff_srtp_set_crypto(), and srtp_close().

int ff_srtp_set_crypto ( struct SRTPContext s,
const char *  suite,
const char *  params 
)

Definition at line 65 of file srtp.c.

Referenced by ff_rtp_parse_set_crypto(), ff_srtp_encrypt(), and srtp_open().