FFmpeg
 All Data Structures 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 64 of file srtp.c.

Referenced by ff_rtp_parse_set_crypto(), and srtp_open().

void ff_srtp_free ( struct SRTPContext s)

Definition at line 30 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 125 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 237 of file srtp.c.

Referenced by srtp_write().