From 930b556ff2e1266786f366fdb58b60d203f5b6a8 Mon Sep 17 00:00:00 2001 From: alperak Date: Sun, 12 Nov 2023 10:09:40 +0300 Subject: libsrtp: upgrade 2.4.2 -> 2.5.0 Changelog -Make mbedtls hmac less restrictive in line with RFC and library capabilities -Allow overriding stream list implementation -update min openssl version to 1.1.0 -Openssl 3 support for EVP MAC -Add android build to CI -add CIFuzz Github action to workflows -Add policy_set_aes_cm_192_xxx symbols to def file -Use current directions in stream update test -Call `set_aad` and `get_tag` in AEAD performance tests -Create alias for srtp2 as libSRTP::srtp2 -Remove compatibility code for legacy OpenSSL to fix LibreSSL build -Export CMake Targets -Avoid initializing local char table when converting nibble to hex -EVP_CIPHER_CTX_cleanup() is deprecated in OpenSSL 1.1.0 -Correct null cipher key sizes and be more defensive -Include directory should point to 'include' not to 'include/srtp2' -Count blocks instead of bytes in AES-ICM limit computation -Rtp decoder support ssrc and roc -Use a full-length key even with null ciphers -Fix set ROC functionality with gcm Signed-off-by: alperak Signed-off-by: Khem Raj --- .../recipes-support/libsrtp/libsrtp_2.4.2.bb | 20 -------------------- .../recipes-support/libsrtp/libsrtp_2.5.0.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb create mode 100644 meta-multimedia/recipes-support/libsrtp/libsrtp_2.5.0.bb (limited to 'meta-multimedia') diff --git a/meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb b/meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb deleted file mode 100644 index b17e4767b4..0000000000 --- a/meta-multimedia/recipes-support/libsrtp/libsrtp_2.4.2.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Library implementing Secure RTP (RFC 3711)" -DESCRIPTION = "This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), \ - the Universal Security Transform (UST), and a supporting cryptographic kernel. The SRTP API \ - is documented in include/srtp.h, and the library is in libsrtp2.a (after compilation)." -HOMEPAGE = "https://github.com/cisco/libsrtp" -BUGTRACKER = "https://github.com/cisco/libsrtp/issues" -SECTION = "libs" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2909fcf6f09ffff8430463d91c08c4e1" - -SRC_URI = "git://github.com/cisco/libsrtp.git;branch=2_4_x_throttle;protocol=https" -SRCREV = "90d05bf8980d16e4ac3f16c19b77e296c4bc207b" - -S = "${WORKDIR}/git" - -PACKAGECONFIG ?= "" -PACKAGECONFIG[nss] = "-Dcrypto-library=nss,, nss,,, openssl" -PACKAGECONFIG[openssl] = "-Dcrypto-library=openssl,, openssl,,, nss" - -inherit meson pkgconfig diff --git a/meta-multimedia/recipes-support/libsrtp/libsrtp_2.5.0.bb b/meta-multimedia/recipes-support/libsrtp/libsrtp_2.5.0.bb new file mode 100644 index 0000000000..d1cbe0f590 --- /dev/null +++ b/meta-multimedia/recipes-support/libsrtp/libsrtp_2.5.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "Library implementing Secure RTP (RFC 3711)" +DESCRIPTION = "This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), \ + the Universal Security Transform (UST), and a supporting cryptographic kernel. The SRTP API \ + is documented in include/srtp.h, and the library is in libsrtp2.a (after compilation)." +HOMEPAGE = "https://github.com/cisco/libsrtp" +BUGTRACKER = "https://github.com/cisco/libsrtp/issues" +SECTION = "libs" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2909fcf6f09ffff8430463d91c08c4e1" + +SRC_URI = "git://github.com/cisco/libsrtp.git;branch=main;protocol=https" +SRCREV = "a566a9cfcd619e8327784aa7cff4a1276dc1e895" + +S = "${WORKDIR}/git" + +PACKAGECONFIG ?= "" +PACKAGECONFIG[nss] = "-Dcrypto-library=nss,, nss,,, openssl" +PACKAGECONFIG[openssl] = "-Dcrypto-library=openssl,, openssl,,, nss" + +inherit meson pkgconfig -- cgit v1.2.3-54-g00ecf