libsrtp: use OpenSSL

Use OpenSSL instead of the internal crypto backend. Everything in
OpenWrt that links to libsrtp2 depends on OpenSSL anyway.

Upsides:

  - the libsrtp2 package size shrinks a bit (for example from 35 to 24
    KiB on ath79)
  - allows to use more cipher suites
  - may allow for hardware acceleration

Closes #763

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2022-04-30 17:57:54 +02:00
parent cf06463863
commit 9b9ef7ff84

View file

@ -21,13 +21,15 @@ PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
include $(INCLUDE_DIR)/package.mk
CONFIGURE_ARGS+=--enable-openssl
define Package/libsrtp2
SUBMENU:=Telephony
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Secure RTP (SRTP) library, v$(PKG_VERSION)
URL:=https://github.com/cisco/libsrtp
DEPENDS:=
DEPENDS:=+libopenssl
ABI_VERSION:=1
endef