srtp.h (238405) | srtp.h (273144) |
---|---|
1/* ssl/tls1.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 116 unchanged lines hidden (view full) --- 125 126#define SRTP_AES128_CM_SHA1_80 0x0001 127#define SRTP_AES128_CM_SHA1_32 0x0002 128#define SRTP_AES128_F8_SHA1_80 0x0003 129#define SRTP_AES128_F8_SHA1_32 0x0004 130#define SRTP_NULL_SHA1_80 0x0005 131#define SRTP_NULL_SHA1_32 0x0006 132 | 1/* ssl/tls1.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 116 unchanged lines hidden (view full) --- 125 126#define SRTP_AES128_CM_SHA1_80 0x0001 127#define SRTP_AES128_CM_SHA1_32 0x0002 128#define SRTP_AES128_F8_SHA1_80 0x0003 129#define SRTP_AES128_F8_SHA1_32 0x0004 130#define SRTP_NULL_SHA1_80 0x0005 131#define SRTP_NULL_SHA1_32 0x0006 132 |
133#ifndef OPENSSL_NO_SRTP 134 |
|
133int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); 134int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles); 135SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s); 136 137STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl); 138 | 135int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); 136int SSL_set_tlsext_use_srtp(SSL *ctx, const char *profiles); 137SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s); 138 139STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl); 140 |
141#endif 142 |
|
139#ifdef __cplusplus 140} 141#endif 142 143#endif 144 | 143#ifdef __cplusplus 144} 145#endif 146 147#endif 148 |