FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
srtp.h File Reference
#include <stdint.h>

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_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(), and srtp_open().

void ff_srtp_free ( struct SRTPContext s)

Definition at line 31 of file srtp.c.

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

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(), 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 srtp_write().