104 * ====================================================================
105 *
106 * This product includes cryptographic software written by Eric Young
107 * (eay@cryptsoft.com). This product includes software written by Tim
108 * Hudson (tjh@cryptsoft.com).
109 *
110 */
111 /*
112 DTLS code by Eric Rescorla <ekr@rtfm.com>
113
114 Copyright (C) 2006, Network Resonance, Inc.
115 Copyright (C) 2011, RTFM, Inc.
116 */
117
118 #include <stdio.h>
119 #include <openssl/objects.h>
120 #include "ssl_locl.h"
121
122 #ifndef OPENSSL_NO_SRTP
123
124 #include "srtp.h"
125
126
127 static SRTP_PROTECTION_PROFILE srtp_known_profiles[]=
128 {
129 {
130 "SRTP_AES128_CM_SHA1_80",
131 SRTP_AES128_CM_SHA1_80,
132 },
133 {
134 "SRTP_AES128_CM_SHA1_32",
135 SRTP_AES128_CM_SHA1_32,
136 },
137 #if 0
138 {
139 "SRTP_NULL_SHA1_80",
140 SRTP_NULL_SHA1_80,
141 },
142 {
143 "SRTP_NULL_SHA1_32",
144 SRTP_NULL_SHA1_32,
|
104 * ====================================================================
105 *
106 * This product includes cryptographic software written by Eric Young
107 * (eay@cryptsoft.com). This product includes software written by Tim
108 * Hudson (tjh@cryptsoft.com).
109 *
110 */
111 /*
112 DTLS code by Eric Rescorla <ekr@rtfm.com>
113
114 Copyright (C) 2006, Network Resonance, Inc.
115 Copyright (C) 2011, RTFM, Inc.
116 */
117
118 #include <stdio.h>
119 #include <openssl/objects.h>
120 #include "ssl_locl.h"
121
122 #ifndef OPENSSL_NO_SRTP
123
124 #include <openssl/srtp.h>
125
126
127 static SRTP_PROTECTION_PROFILE srtp_known_profiles[]=
128 {
129 {
130 "SRTP_AES128_CM_SHA1_80",
131 SRTP_AES128_CM_SHA1_80,
132 },
133 {
134 "SRTP_AES128_CM_SHA1_32",
135 SRTP_AES128_CM_SHA1_32,
136 },
137 #if 0
138 {
139 "SRTP_NULL_SHA1_80",
140 SRTP_NULL_SHA1_80,
141 },
142 {
143 "SRTP_NULL_SHA1_32",
144 SRTP_NULL_SHA1_32,
|