OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
d1_srtp.c File Reference
#include <stdio.h>
#include <openssl/objects.h>
#include "ssl_locl.h"
#include "srtp.h"

Go to the source code of this file.

Functions

int SSL_CTX_set_tlsext_use_srtp (SSL_CTX *ctx, const char *profiles)
 
int SSL_set_tlsext_use_srtp (SSL *s, const char *profiles)
 
 STACK_OF (SRTP_PROTECTION_PROFILE)
 
SRTP_PROTECTION_PROFILESSL_get_selected_srtp_profile (SSL *s)
 
int ssl_add_clienthello_use_srtp_ext (SSL *s, unsigned char *p, int *len, int maxlen)
 
int ssl_parse_clienthello_use_srtp_ext (SSL *s, unsigned char *d, int len, int *al)
 
int ssl_add_serverhello_use_srtp_ext (SSL *s, unsigned char *p, int *len, int maxlen)
 
int ssl_parse_serverhello_use_srtp_ext (SSL *s, unsigned char *d, int len, int *al)
 

Function Documentation

int ssl_add_clienthello_use_srtp_ext ( SSL s,
unsigned char *  p,
int *  len,
int  maxlen 
)

Definition at line 263 of file d1_srtp.c.

int ssl_add_serverhello_use_srtp_ext ( SSL s,
unsigned char *  p,
int *  len,
int  maxlen 
)

Definition at line 405 of file d1_srtp.c.

int SSL_CTX_set_tlsext_use_srtp ( SSL_CTX ctx,
const char *  profiles 
)

Definition at line 227 of file d1_srtp.c.

SRTP_PROTECTION_PROFILE* SSL_get_selected_srtp_profile ( SSL s)

Definition at line 256 of file d1_srtp.c.

int ssl_parse_clienthello_use_srtp_ext ( SSL s,
unsigned char *  d,
int  len,
int *  al 
)

Definition at line 305 of file d1_srtp.c.

int ssl_parse_serverhello_use_srtp_ext ( SSL s,
unsigned char *  d,
int  len,
int *  al 
)

Definition at line 430 of file d1_srtp.c.

int SSL_set_tlsext_use_srtp ( SSL s,
const char *  profiles 
)

Definition at line 232 of file d1_srtp.c.

STACK_OF ( SRTP_PROTECTION_PROFILE  )

Definition at line 238 of file d1_srtp.c.