mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_srtp: Add menuselect options to enable AES_192, AES_256 and AES_GCM
UserNote: Options are now available in the menuselect "Resource Modules" category that allow you to enable the AES_192, AES_256 and AES_GCM cipher suites in res_srtp. Of course, libsrtp and OpenSSL must support them but modern versions do. Previously, the only way to enable them was to set the CFLAGS environment variable when running ./configure. The default setting is to disable them preserving existing behavior.
This commit is contained in:
@@ -35,6 +35,32 @@
|
||||
<support_level>core</support_level>
|
||||
***/
|
||||
|
||||
/*** MAKEOPTS
|
||||
<category name="MENUSELECT_RES" displayname="Resource Modules">
|
||||
<member name="ENABLE_SRTP_AES_192" displayname="Enable AES 192 cipher suite in res_srtp" touch_on_change="res/res_srtp.c">
|
||||
<defaultenabled>no</defaultenabled>
|
||||
<support_level>option</support_level>
|
||||
<depend>srtp</depend>
|
||||
<depend>res_srtp</depend>
|
||||
<depend>HAVE_SRTP_192</depend>
|
||||
</member>
|
||||
<member name="ENABLE_SRTP_AES_256" displayname="Enable AES 256 cipher suite in res_srtp" touch_on_change="res/res_srtp.c">
|
||||
<defaultenabled>no</defaultenabled>
|
||||
<support_level>option</support_level>
|
||||
<depend>srtp</depend>
|
||||
<depend>res_srtp</depend>
|
||||
<depend>HAVE_SRTP_256</depend>
|
||||
</member>
|
||||
<member name="ENABLE_SRTP_AES_GCM" displayname="Enable AES GCM cipher suite in res_srtp" touch_on_change="res/res_srtp.c">
|
||||
<defaultenabled>no</defaultenabled>
|
||||
<support_level>option</support_level>
|
||||
<depend>srtp</depend>
|
||||
<depend>res_srtp</depend>
|
||||
<depend>HAVE_SRTP_GCM</depend>
|
||||
</member>
|
||||
</category>
|
||||
***/
|
||||
|
||||
/* See https://docs.asterisk.org/Deployment/Secure-Calling/ */
|
||||
|
||||
#include "asterisk.h" /* for NULL, size_t, memcpy, etc */
|
||||
|
Reference in New Issue
Block a user