public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sipp] rawhide: SIPp ver. 3.7.8
@ 2026-09-28 17:36 Peter Lemenkov
  0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-09-28 17:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/sipp
            Branch : rawhide
            Commit : 10fce9076a208212b24cda152d67c3b4c1e2f467
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-09-28T19:25:07+02:00
            Stats  : +14/-3195 in 11 file(s)
            URL    : https://src.fedoraproject.org/rpms/sipp/c/10fce9076a208212b24cda152d67c3b4c1e2f467?branch=rawhide

            Log:
            SIPp ver. 3.7.8

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/sipp-0001-Removal-of-bundled-gmock-gtest.patch b/sipp-0001-Removal-of-bundled-gmock-gtest.patch
deleted file mode 100644
index 4e208b8..0000000
--- a/sipp-0001-Removal-of-bundled-gmock-gtest.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Sat, 13 Feb 2016 22:15:38 +0300
-Subject: [PATCH] Removal of bundled gmock/gtest
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 61de42b..e327b2d 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -302,24 +302,17 @@ add_sipp_target(sipp
- )
- target_compile_features(sipp PUBLIC cxx_auto_type cxx_range_for)
- 
--if(EXISTS ${PROJECT_SOURCE_DIR}/gtest/googletest)
--  add_sipp_target(sipp_unittest
--    EXCLUDE_FROM_ALL
--    SOURCES "${PROJECT_SOURCE_DIR}/src/sipp_unittest.cpp"
--            "${PROJECT_SOURCE_DIR}/gtest/googletest/src/gtest-all.cc"
--            "${PROJECT_SOURCE_DIR}/gtest/googlemock/src/gmock-all.cc"
--    COMPILE_DEFINITIONS "-DGTEST"
--    EXTRA_INCLUDES ${PROJECT_SOURCE_DIR}/gtest/googletest
--                   ${PROJECT_SOURCE_DIR}/gtest/googlemock
--                   ${PROJECT_SOURCE_DIR}/gtest/googletest/include
--                   ${PROJECT_SOURCE_DIR}/gtest/googlemock/include
--  )
--else()
--  add_sipp_target(sipp_unittest
--    EXCLUDE_FROM_ALL
--    SOURCES "${PROJECT_SOURCE_DIR}/src/sipp_unittest.cpp"
--  )
--endif()
-+# Testing with system GTest
-+find_package(GTest REQUIRED)
-+include(GoogleTest)
-+add_sipp_target(sipp_unittest
-+	EXCLUDE_FROM_ALL
-+	SOURCES "${PROJECT_SOURCE_DIR}/src/sipp_unittest.cpp"
-+	COMPILE_DEFINITIONS "-DGTEST"
-+)
-+target_compile_features(sipp_unittest PUBLIC cxx_auto_type cxx_range_for)
-+target_link_libraries(sipp_unittest GTest::GTest GTest::Main)
-+gtest_add_tests(TARGET sipp_unittest TEST_PREFIX sipp_unittests:)
- 
- # add version
- find_package(Git)

diff --git a/sipp-0002-Remove-unused-gmock-we-don-t-use-it.patch b/sipp-0002-Remove-unused-gmock-we-don-t-use-it.patch
deleted file mode 100644
index 3c737f9..0000000
--- a/sipp-0002-Remove-unused-gmock-we-don-t-use-it.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Thu, 1 Jan 2026 14:11:24 +0100
-Subject: [PATCH] Remove unused gmock - we don't use it
-
-The `GMOCK_FLAG(verbose)` line references gmock symbols. Since the
-codebase has no mock objects, this line was dead code anyway.
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-Assisted-by: Claude (Anthropic) <https://claude.ai>
-
-diff --git a/src/sipp_unittest.cpp b/src/sipp_unittest.cpp
-index aa59931..af77879 100644
---- a/src/sipp_unittest.cpp
-+++ b/src/sipp_unittest.cpp
-@@ -20,7 +20,6 @@
- #include "sipp.hpp"
- 
- #include "gtest/gtest.h"
--#include "gmock/gmock.h"
- #include <string.h>
- 
- int main(int argc, char* argv[])
-@@ -29,7 +28,6 @@ int main(int argc, char* argv[])
-     userVariables = new AllocVariableTable(globalVariables);
-     main_scenario = new scenario(0, 0);
- 
--    ::testing::GMOCK_FLAG(verbose) = "verbose";
-     ::testing::InitGoogleTest(&argc, argv);
-     return RUN_ALL_TESTS();
- }

diff --git a/sipp-0003-Make-SSL-library-mandatory.patch b/sipp-0003-Make-SSL-library-mandatory.patch
deleted file mode 100644
index e7aa607..0000000
--- a/sipp-0003-Make-SSL-library-mandatory.patch
+++ /dev/null
@@ -1,1467 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Wed, 31 Dec 2025 22:14:53 +0100
-Subject: [PATCH] Make SSL library mandatory
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
-index f3bf774..d5dcb1b 100644
---- a/.github/workflows/ccpp.yml
-+++ b/.github/workflows/ccpp.yml
-@@ -36,9 +36,13 @@ jobs:
-     steps:
-     - uses: actions/checkout@v6
-     - name: prepare
--      run: git submodule update --init
-+      run: |
-+        git submodule update --init
-+        brew install openssl@3
-     - name: build
--      run: ./build.sh --none
-+      run: |
-+        export OPENSSL_ROOT_DIR=$(brew --prefix openssl@3)
-+        ./build.sh --none
- 
- 
-   build-static:
-diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
-index 3971415..bdbb2d4 100644
---- a/.github/workflows/codeql.yml
-+++ b/.github/workflows/codeql.yml
-@@ -33,7 +33,7 @@ jobs:
-           sudo apt-get install --yes build-essential cmake libpcap-dev openssl libssl-dev libgsl-dev libsctp-dev libncurses-dev libncurses6
- 
-       - name: Configure
--        run: cmake . -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SSL=1 -DUSE_SCTP=1
-+        run: cmake . -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SCTP=1
- 
-       - name: Initialize CodeQL
-         uses: github/codeql-action/init@v4
-diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
-index e345daa..082b4b9 100644
---- a/.github/workflows/coverity.yml
-+++ b/.github/workflows/coverity.yml
-@@ -14,7 +14,7 @@ jobs:
-     - uses: actions/checkout@v6
-     - run: sudo apt update
-     - run: sudo apt-get install --yes build-essential cmake libpcap-dev openssl libssl-dev libgsl-dev libsctp-dev libncurses-dev libncurses6
--    - run:  cmake . -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SSL=1 -DUSE_SCTP=1
-+    - run:  cmake . -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SCTP=1
-     - uses: vapier/coverity-scan-action@v1
-       with:
-         email: ${{ secrets.COVERITY_SCAN_EMAIL }}
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e327b2d..141de0c 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -93,11 +93,12 @@ function(apply_common_sipp_dependencies TARGET_NAME)
-     target_link_libraries(${TARGET_NAME} ${GSL_LIBRARY} ${GSLCBLAS_LIBRARY})
-   endif()
- 
--  if(USE_SSL AND SSL_LIBRARIES)
--    target_link_libraries(${TARGET_NAME} ${SSL_LIBRARIES})
--    if(SSL_INCLUDE_DIRS)
--      target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${SSL_INCLUDE_DIRS})
--    endif()
-+  target_link_libraries(${TARGET_NAME} ${SSL_LIBRARIES})
-+  if(SSL_LIBRARY_DIRS)
-+    target_link_directories(${TARGET_NAME} PRIVATE ${SSL_LIBRARY_DIRS})
-+  endif()
-+  if(SSL_INCLUDE_DIRS)
-+    target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${SSL_INCLUDE_DIRS})
-   endif()
- 
-   if(USE_PCAP AND PCAP_LIBRARIES)
-@@ -119,14 +120,25 @@ endfunction()
- optional_library(SCTP "Build with SCTP support")
- optional_library(PCAP "Build with PCAP playback support")
- optional_library(GSL "Build with improved statistical support")
--set(USE_SSL "DEFAULT" CACHE STRING "Build with SIPS and SHA-256 support")
--if(USE_SSL STREQUAL "ON" OR USE_SSL STREQUAL "1")
--  set(USE_SSL 1)
--elseif(USE_SSL STREQUAL "KL")
--  set(USE_SSL 1)
--  set(TLS_KL 1)
--elseif(USE_SSL STREQUAL "OFF" OR USE_SSL STREQUAL "0")
--  set(USE_SSL 0)
-+
-+option(USE_WOLFSSL "Use WolfSSL instead of OpenSSL" OFF)
-+option(TLS_KEY_LOGGING "Enable TLS session key logging (OpenSSL only)" OFF)
-+
-+find_package(PkgConfig QUIET)  # import pkg_check_modules() and friends
-+
-+if(USE_WOLFSSL)
-+    pkg_search_module(SSL REQUIRED wolfssl>=3.15.0)
-+    if(TLS_KEY_LOGGING)
-+        message(WARNING "TLS key logging is only supported with OpenSSL, ignoring")
-+        set(TLS_KEY_LOGGING OFF)
-+    endif()
-+    add_definitions("-DUSE_WOLFSSL" "-DOPENSSL_ALL")
-+else()
-+    pkg_search_module(SSL REQUIRED openssl>=1.1.0)
-+    add_definitions("-DUSE_OPENSSL")
-+    if(TLS_KEY_LOGGING)
-+        add_definitions("-DUSE_OPENSSL_KL")
-+    endif()
- endif()
- 
- option(BUILD_STATIC "Build a statically-linked binary" OFF)
-@@ -180,61 +192,6 @@ if(NOT USE_PCAP)
-     "${PROJECT_SOURCE_DIR}/src/send_packets.c")
- endif(NOT USE_PCAP)
- 
--find_package(PkgConfig QUIET)  # import pkg_check_modules() and friends
--if(USE_SSL)
--  if(PKG_CONFIG_FOUND)
--    pkg_search_module(SSL openssl>=1.1.0 wolfssl>=3.15.0)
--  endif()
--  if(SSL_FOUND)
--    if("${SSL_LIBRARIES}" MATCHES "wolfssl")
--      set(WOLFSSL_FOUND True)
--    else()
--      set(OPENSSL_FOUND True)
--    endif()
--  else()
--    find_library(OPENSSL_SSL_LIBRARY NAMES ssl)
--    find_library(OPENSSL_CRYPTO_LIBRARY NAMES crypto)
--    if(OPENSSL_SSL_LIBRARY AND OPENSSL_CRYPTO_LIBRARY)
--      set(SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})
--      set(OPENSSL_FOUND True)
--    else()
--      find_library(WOLFSSL_LIBRARY NAMES wolfssl)
--      if(WOLFSSL_LIBRARY)
--        set(SSL_LIBRARIES ${WOLFSSL_LIBRARY})
--        set(WOLFSSL_FOUND True)
--      endif()
--    endif()
--  endif()
--  if(OPENSSL_FOUND OR WOLFSSL_FOUND)
--    if(USE_SSL STREQUAL "DEFAULT")
--      message(STATUS "Found ${SSL_LIBRARIES}; enabling sips support")
--    endif()
--  else()
--    if(USE_SSL STREQUAL "DEFAULT")
--      message(STATUS "Neither OpenSSL nor WolfSSL was found; disabling sips support")
--      set(USE_SSL 0)
--    else()
--      message(FATAL_ERROR "Neither OpenSSL nor WolfSSL was found; please install a devel package")
--    endif()
--  endif()
--endif()
--
--if(USE_SSL)
--  add_definitions("-DUSE_TLS" "-DUSE_SHA256")
--  if(OPENSSL_FOUND)
--    add_definitions("-DUSE_OPENSSL")
--    if (TLS_KL)
--      message(STATUS "Enabling TLS key logging support for OpenSSL Versions >= 1.1.1")
--      add_definitions("-DUSE_OPENSSL_KL")
--    endif(TLS_KL)
--  elseif(WOLFSSL_FOUND)
--    add_definitions("-DUSE_WOLFSSL" "-DOPENSSL_ALL")
--  endif()
--else(USE_SSL)
--  list(REMOVE_ITEM all_SRCS
--    "${PROJECT_SOURCE_DIR}/src/sslsocket.cpp")
--endif(USE_SSL)
--
- if(USE_PCAP)
-   add_definitions("-DPCAPPLAY")
- endif(USE_PCAP)
-diff --git a/README.md b/README.md
-index 0421215..e066ffe 100644
---- a/README.md
-+++ b/README.md
-@@ -46,10 +46,10 @@ SIP-over-SCTP, media playback from PCAP files and the GNU Scientific
- Libraries for random distributions):
- 
- ```
--cmake . -DUSE_SSL=1 -DUSE_SCTP=1 -DUSE_PCAP=1 -DUSE_GSL=1
-+cmake . -DUSE_SCTP=1 -DUSE_PCAP=1 -DUSE_GSL=1
- ```
- 
--To enable TLS key logging pass `-DUSE_SSL=KL` to cmake.
-+To enable TLS key logging pass `-DTLS_KEY_LOGGING=1` to cmake.
- 
- TLS key logging records the TLS Session Keys to a key log file when the `SSLKEYLOGFILE` environment variable is set. It allows to decrypt SIPS traffic generated or received by SIPp using Wireshark. For more details see: https://wiki.wireshark.org/TLS
- 
-diff --git a/build.sh b/build.sh
-index b29905f..ad4bbcc 100755
---- a/build.sh
-+++ b/build.sh
-@@ -15,11 +15,11 @@ elif test "$*" = "--help" || test "$*" = "-h"; then
- fi
- 
- if test "$*" = "--none"; then
--    cmake $SRC_DIR -DUSE_GSL=0 -DUSE_SSL=0 -DUSE_SCTP=0 -DUSE_PCAP=0
-+    cmake $SRC_DIR -DUSE_GSL=0 -DUSE_SCTP=0 -DUSE_PCAP=0
- elif test "$*" = "--common"; then
--    cmake $SRC_DIR -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SSL=0 -DUSE_SCTP=0
-+    cmake $SRC_DIR -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SCTP=0
- elif test "$*" = "--full"; then
--    cmake $SRC_DIR -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SSL=1 -DUSE_SCTP=1
-+    cmake $SRC_DIR -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SCTP=1
- else
-     # Debug build? Add -DDEBUG=1
-     # Adjusted SIP max size? Add -DSIPP_MAX_MSG_SIZE=262144
-diff --git a/docker/Dockerfile b/docker/Dockerfile
-index 2a9a25d..70d50bb 100644
---- a/docker/Dockerfile
-+++ b/docker/Dockerfile
-@@ -20,7 +20,9 @@ RUN apk add --no-cache \
-   ncurses-dev \
-   ncurses-static \
-   ninja \
--  ${FULL:+linux-headers lksctp-tools-dev lksctp-tools-static openssl-dev openssl-libs-static}
-+  openssl-dev \
-+  openssl-libs-static \
-+  ${FULL:+linux-headers lksctp-tools-dev lksctp-tools-static}
- 
- WORKDIR /sipp
- COPY CMakeLists.txt ./
-@@ -37,7 +39,7 @@ RUN --mount=type=bind,target=.git,source=.git \
-     -DUSE_PCAP=1 \
-     -DUSE_GSL=1 \
-     ${DEBUG:+-DDEBUG=1} \
--    ${FULL:+-DUSE_SSL=1 -DUSE_SCTP=1} \
-+    ${FULL:+-DUSE_SCTP=1} \
-   && ninja
- RUN help2man --output=sipp.1 -v -v --no-info \
-   --name='SIP testing tool and traffic generator' ./sipp
-diff --git a/docker/Dockerfile.debian b/docker/Dockerfile.debian
-index 31a8e85..a585d43 100644
---- a/docker/Dockerfile.debian
-+++ b/docker/Dockerfile.debian
-@@ -35,8 +35,9 @@ RUN --mount=type=bind,target=.git,source=.git \
-     -DCMAKE_BUILD_TYPE=Release \
-     -DUSE_PCAP=1 \
-     -DUSE_GSL=1 \
-+    ${WOLFSSL:+-DUSE_WOLFSSL=1} \
-     ${DEBUG:+-DDEBUG=1} \
--    ${FULL:+-DUSE_SSL=1 -DUSE_SCTP=1} \
-+    ${FULL:+-DUSE_SCTP=1} \
-   && ninja
- 
- FROM debian:12-slim
-diff --git a/docs/installation.rst b/docs/installation.rst
-index 022bbc0..92b494b 100644
---- a/docs/installation.rst
-+++ b/docs/installation.rst
-@@ -63,32 +63,13 @@ Installing SIPp
- 
-     + C++ Compiler
-     + curses or ncurses library
--    + For TLS support: OpenSSL >= 1.1.0 or WolfSSL >= 3.15.0
-+    + OpenSSL >= 1.1.0 or WolfSSL >= 3.15.0
-     + For pcap play support: libpcap and libnet
-     + For SCTP support: lksctp-tools
-     + For distributed pauses: `Gnu Scientific Libraries`_
- 
- + You have four options to compile SIPp:
- 
--    + Without TLS (Transport Layer Security), SCTP or PCAP support --
--      this is the recommended setup if you don't need to handle SCTP, TLS or
--      PCAP::
--
--        tar -xvzf sipp-xxx.tar
--        cd sipp
--        cmake .
--        make
--
--    + With TLS and SHA-256 support, you must have installed `OpenSSL library`_
--      (>=1.1.0) (which may come with your system) or `WolfSSL library`_
--      (>=3.15.0). Building SIPp consists only of adding the
--      ``-DUSE_SSL=1`` option to the cmake command::
--
--        tar -xvzf sipp-xxx.tar.gz
--        cd sipp
--        cmake . -DUSE_SSL=1
--        make
--
-     + With PCAP play support::
- 
-         tar -xvzf sipp-xxx.tar.gz
-@@ -114,7 +95,7 @@ Installing SIPp
- 
-         tar -xvzf sipp-xxx.tar.gz
-         cd sipp
--        cmake . -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SSL=1 -DUSE_SCTP=1
-+        cmake . -DUSE_GSL=1 -DUSE_PCAP=1 -DUSE_SCTP=1
-         make
- 
- 
-diff --git a/include/call.hpp b/include/call.hpp
-index 668626a..a4632d3 100644
---- a/include/call.hpp
-+++ b/include/call.hpp
-@@ -196,10 +196,8 @@ protected:
-     SrtpChannel _rxUACVideo;
-     SrtpChannel _txUASVideo;
-     SrtpChannel _rxUASVideo;
--#ifdef USE_TLS
-     char _pref_audio_cs_out[25];
-     char _pref_video_cs_out[25];
--#endif // USE_TLS
- 
-     /* holds the auth header and if the challenge was 401 or 407 */
-     char         * dialog_authentication;
-@@ -333,11 +331,9 @@ protected:
-     void get_remote_media_addr(std::string const &msg);
- 
-     std::string extract_rtp_remote_addr(const char * message, int &ip_ver, int &audio_port, int &video_port);
--#ifdef USE_TLS
-     int check_audio_ciphersuite_match(SrtpInfoParams &pA);
-     int check_video_ciphersuite_match(SrtpInfoParams &pV);
-     int extract_srtp_remote_info(const char * msg, SrtpInfoParams &pA, SrtpInfoParams &pV);
--#endif // USE_TLS
-     void extract_rtp_remote_addr(const char* message);
- 
-     bool lost(int index);
-@@ -356,10 +352,8 @@ protected:
-     char *debugBuffer;
-     int debugLength;
- 
--#ifdef USE_TLS
-     FILE* _srtpctxdebugfile;
-     int logSrtpInfo(const char *fmt, ...);
--#endif // USE_TLS
- 
-     SessionState _sessionStateCurrent;
-     SessionState _sessionStateOld;
-diff --git a/include/message.hpp b/include/message.hpp
-index aee2069..1721681 100644
---- a/include/message.hpp
-+++ b/include/message.hpp
-@@ -89,7 +89,6 @@ typedef enum {
-     E_Message_Custom,
-     E_Message_RTPStream_Audio_Port,
-     E_Message_RTPStream_Video_Port,
--#ifdef USE_TLS
-     E_Message_CryptoTag1Audio,
-     E_Message_CryptoTag2Audio,
-     E_Message_CryptoSuiteAesCm128Sha1801Audio,
-@@ -122,7 +121,6 @@ typedef enum {
-     E_Message_UEAesCm128Sha1802Video,
-     E_Message_UEAesCm128Sha1321Video,
-     E_Message_UEAesCm128Sha1322Video,
--#endif // USE_TLS
- } MessageCompType;
- 
- class SendingMessage
-diff --git a/include/rtpstream.hpp b/include/rtpstream.hpp
-index 39a5ca4..a503bda 100644
---- a/include/rtpstream.hpp
-+++ b/include/rtpstream.hpp
-@@ -28,7 +28,6 @@
- 
- class JLSRTP;
- 
--#ifdef USE_TLS
- struct SrtpInfoParams
- {
-     bool found;
-@@ -41,7 +40,6 @@ struct SrtpInfoParams
-     bool primary_unencrypted_srtp;
-     bool secondary_unencrypted_srtp;
- };
--#endif // USE_TLS
- 
- struct threaddata_t;
- struct taskentry_t;
-@@ -110,11 +108,9 @@ struct taskentry_t
-     int                  video_rtp_socket;
-     int                  video_rtcp_socket;
- 
--#ifdef USE_TLS
-     /* audio/video SRTP echo activity indicators */
-     int                  audio_srtp_echo_active;
-     int                  video_srtp_echo_active;
--#endif // USE_TLS
- 
-     /* rtp peer address structures */
-     struct sockaddr_storage    remote_audio_rtp_addr;
-@@ -134,12 +130,10 @@ struct taskentry_t
-     int                  audio_active;
-     int                  video_active;
- 
--#ifdef USE_TLS
-     SrtpInfoParams  local_srtp_audio_params;
-     SrtpInfoParams  remote_srtp_audio_params;
-     SrtpInfoParams  local_srtp_video_params;
-     SrtpInfoParams  remote_srtp_video_params;
--#endif // USE_TLS
- };
- 
- struct rtpstream_callinfo_t
-@@ -196,12 +190,10 @@ int rtpstream_get_local_videoport(rtpstream_callinfo_t *callinfo);
- void rtpstream_set_remote(rtpstream_callinfo_t* callinfo, int ip_ver, const char* ip_addr,
-                           int audio_port, int video_port);
- 
--#ifdef USE_TLS
- int rtpstream_set_srtp_audio_local(rtpstream_callinfo_t *callinfo, SrtpInfoParams &p);
- int rtpstream_set_srtp_audio_remote(rtpstream_callinfo_t *callinfo, SrtpInfoParams &p);
- int rtpstream_set_srtp_video_local(rtpstream_callinfo_t *callinfo, SrtpInfoParams &p);
- int rtpstream_set_srtp_video_remote(rtpstream_callinfo_t *callinfo, SrtpInfoParams &p);
--#endif // USE_TLS
- 
- int rtpstream_cache_file(char *filename,
-                          int mode /* 0: FILE - 1: PATTERN */,
-diff --git a/include/sipp.hpp b/include/sipp.hpp
-index 324f761..ea7a925 100644
---- a/include/sipp.hpp
-+++ b/include/sipp.hpp
-@@ -106,12 +106,10 @@
- #define T_TLS                      2
- #define T_SCTP                     3
- 
--#ifdef USE_TLS
- #define DEFAULT_TLS_CERT           "cacert.pem"
- #define DEFAULT_TLS_KEY            "cakey.pem"
- #define DEFAULT_TLS_CA             ""
- #define DEFAULT_TLS_CRL            ""
--#endif
- 
- #define TRANSPORT_TO_STRING(p)     ((p==T_TCP) ? "TCP" : ((p==T_TLS)? "TLS" : ((p==T_UDP)? "UDP" : "SCTP")))
- 
-@@ -139,10 +137,8 @@
- #define MAX_PEER_SIZE              4096  /* 3pcc extended mode: max size of peer names */
- #define MAX_LOCAL_TWIN_SOCKETS     10    /*3pcc extended mode:max number of peers from which
- cmd messages are received */
--#ifdef USE_TLS
- #define DEFAULT_PREFERRED_AUDIO_CRYPTOSUITE ((char*)"AES_CM_128_HMAC_SHA1_80")
- #define DEFAULT_PREFERRED_VIDEO_CRYPTOSUITE ((char*)"AES_CM_128_HMAC_SHA1_80")
--#endif // USE_TLS
- 
- /******************** Default parameters ***********************/
- 
-@@ -257,9 +253,7 @@ MAYBE_EXTERN int                rtp_default_payload     DEFVAL(DEFAULT_RTP_PAYLO
- MAYBE_EXTERN int                rtp_tasks_per_thread    DEFVAL(DEFAULT_RTP_THREADTASKS);
- MAYBE_EXTERN int                rtp_buffsize            DEFVAL(65536);
- MAYBE_EXTERN bool               rtpcheck_debug          DEFVAL(0);
--#ifdef USE_TLS
- MAYBE_EXTERN bool               srtpcheck_debug         DEFVAL(0);
--#endif // USE_TLS
- MAYBE_EXTERN double             audiotolerance          DEFVAL(1.0);
- MAYBE_EXTERN double             videotolerance          DEFVAL(1.0);
- 
-@@ -315,13 +309,11 @@ MAYBE_EXTERN unsigned int       tdm_map_z               DEFVAL(0);
- MAYBE_EXTERN unsigned int       tdm_map_h               DEFVAL(0);
- MAYBE_EXTERN bool               tdm_map[1024];
- 
--#ifdef USE_TLS
- MAYBE_EXTERN const char       * tls_cert_name           DEFVAL(DEFAULT_TLS_CERT);
- MAYBE_EXTERN const char       * tls_key_name            DEFVAL(DEFAULT_TLS_KEY);
- MAYBE_EXTERN const char       * tls_ca_name             DEFVAL(DEFAULT_TLS_CA);
- MAYBE_EXTERN const char       * tls_crl_name            DEFVAL(DEFAULT_TLS_CRL);
- MAYBE_EXTERN double             tls_version             DEFVAL(0.0);
--#endif
- 
- #ifdef SO_BINDTODEVICE
- MAYBE_EXTERN const char       * bind_to_device_name     DEFVAL(nullptr);
-diff --git a/include/socket.hpp b/include/socket.hpp
-index 2f1165d..b3883cd 100644
---- a/include/socket.hpp
-+++ b/include/socket.hpp
-@@ -20,9 +20,7 @@
- #ifndef __SIPP_SOCKET_H__
- #define __SIPP_SOCKET_H__
- 
--#ifdef USE_TLS
- #include "sslsocket.hpp"
--#endif
- 
- #ifdef USE_SCTP
- #define SCTP_DOWN 0
-diff --git a/src/auth.cpp b/src/auth.cpp
-index 314772e..e668c90 100644
---- a/src/auth.cpp
-+++ b/src/auth.cpp
-@@ -41,10 +41,8 @@
- #include <wolfssl/openssl/evp.h>
- #endif
- 
--#ifdef USE_SHA256
- #define SHA256_HASH_SIZE 32
- #define SHA256_HASH_HEX_SIZE 2*SHA256_HASH_SIZE
--#endif // USE_SHA256
- 
- #define MAX_HEADER_LEN  2049
- #define MD5_HASH_SIZE 16
-@@ -100,13 +98,11 @@ static int createAuthHeaderAKAv1MD5(
-     const char* auth, const char* algo, unsigned int nonce_count,
-     char* result, size_t result_len);
- 
--#ifdef USE_SHA256
- static int createAuthHeaderSHA256(
-     const char* user, const char* password, int password_len,
-     const char* method, const char* uri, const char* msgbody,
-     const char* auth, const char* algo, unsigned int nonce_count,
-     char* result, size_t result_len);
--#endif // USE_SHA256
- 
- /* This function is from RFC 2617 Section 5 */
- 
-@@ -203,12 +199,10 @@ int createAuthHeader(
-         return createAuthHeaderAKAv1MD5(
-             user, aka_OP, aka_AMF, aka_K, method, uri, msgbody, auth,
-             algo, nonce_count, result, result_len);
--#ifdef USE_SHA256
-     } else if (strncasecmp(algo, "SHA-256", 7)==0) {
-         return createAuthHeaderSHA256(
-             user, password, strlen(password), method, uri, msgbody,
-             auth, algo, nonce_count, result, result_len);
--#endif // USE_SHA256
-     } else {
-         snprintf(result, result_len, "createAuthHeader: authentication must use MD5, AKAv1-MD5 or SHA-256");
-         return 0;
-@@ -332,7 +326,6 @@ static int createAuthResponseMD5(
-     return 1;
- }
- 
--#ifdef USE_SHA256
- static int createAuthResponseSHA256(
-     const char* user, const char* password, int password_len,
-     const char* method, const char* uri, const char* authtype,
-@@ -404,7 +397,6 @@ static int createAuthResponseSHA256(
-     EVP_MD_CTX_free(mdctx);
-     return 1;
- }
--#endif // USE_SHA256
- 
- int createAuthHeaderMD5(
-     const char* user, const char* password, int password_len,
-@@ -543,7 +535,6 @@ int verifyAuthHeader(const char *user, const char *password, const char *method,
-                 (char*)result,
-                 response);
-         return !strcmp((char *)result, response);
--#ifdef USE_SHA256
-     } else if (strncasecmp(algo, "SHA-256", 7)==0) {
-         unsigned char result[SHA256_HASH_HEX_SIZE + 1];
-         char response[SHA256_HASH_HEX_SIZE + 1];
-@@ -567,7 +558,6 @@ int verifyAuthHeader(const char *user, const char *password, const char *method,
-                 (char*)result,
-                 response);
-         return !strcmp((char *)result, response);
--#endif // USE_SHA256
-     } else {
-         WARNING("verifyAuthHeader: authentication must use MD5 or SHA-256, value is '%s'", algo);
-         return 0;
-@@ -893,7 +883,6 @@ static int createAuthHeaderAKAv1MD5(
-     return written;
- }
- 
--#ifdef USE_SHA256
- int createAuthHeaderSHA256(
-     const char* user, const char* password, int password_len,
-     const char* method, const char* uri, const char* msgbody,
-@@ -987,7 +976,6 @@ int createAuthHeaderSHA256(
- 
-     return written;
- }
--#endif // USE_SHA256
- 
- 
- #ifdef GTEST
-@@ -1027,7 +1015,6 @@ TEST(DigestAuth, BasicVerification) {
-     free(header);
- }
- 
--#if defined(USE_SHA256)
- TEST(DigestAuth, BasicVerificationSHA256) {
-     char* header = strdup(("Digest \r\n"
-                            " realm=\"testrealm@host.com\",\r\n"
-@@ -1039,7 +1026,6 @@ TEST(DigestAuth, BasicVerificationSHA256) {
-     EXPECT_EQ(1, verifyAuthHeader("testuser", "secret", "REGISTER", result, "hello world"));
-     free(header);
- }
--#endif
- 
- TEST(DigestAuth, qop) {
-     char result[1024];
-diff --git a/src/call.cpp b/src/call.cpp
-index 97de07a..f818ac5 100644
---- a/src/call.cpp
-+++ b/src/call.cpp
-@@ -334,7 +334,6 @@ std::string call::extract_rtp_remote_addr(const char* msg, int &ip_ver, int &aud
-     return host;
- }
- 
--#ifdef USE_TLS
- int call::check_audio_ciphersuite_match(SrtpInfoParams &pA)
- {
-     int audio_cs_len = 0;
-@@ -725,7 +724,6 @@ int call::extract_srtp_remote_info(const char * msg, SrtpInfoParams &pA, SrtpInf
- 
-     return 0; /* SUCCESS -- parsed SDP SRTP INFO */
- }
--#endif // USE_TLS
- 
- /******* Very simple hash for retransmission detection  *******/
- 
-@@ -833,7 +831,6 @@ call *call::add_call(int userId, bool ipv6, struct sockaddr_storage *dest)
- 
- void call::init(scenario * call_scenario, SIPpSocket *socket, struct sockaddr_storage *dest, const char * p_id, int userId, bool ipv6, bool isAutomatic, bool isInitCall)
- {
--#ifdef USE_TLS
-     _srtpctxdebugfile = nullptr;
- 
-     if (srtpcheck_debug)
-@@ -853,7 +850,6 @@ void call::init(scenario * call_scenario, SIPpSocket *socket, struct sockaddr_st
-             WARNING("Error encountered opening srtp ctx debug file");
-         }
-     }
--#endif // USE_TLS
- 
-     _sessionStateCurrent = eNoSession;
-     _sessionStateOld = eNoSession;
-@@ -907,7 +903,6 @@ void call::init(scenario * call_scenario, SIPpSocket *socket, struct sockaddr_st
- 
-     next_nonce_count = 1;
- 
--#ifdef USE_TLS
-     //
-     // JLSRTP CLIENT context constants
-     //
-@@ -946,7 +941,6 @@ void call::init(scenario * call_scenario, SIPpSocket *socket, struct sockaddr_st
- 
-     *_pref_audio_cs_out = 0;
-     *_pref_video_cs_out = 0;
--#endif // USE_TLS
-     /* check and warn on rtpstream_new_call result? -> error alloc'ing mem */
-     rtpstream_new_call(&rtpstream_callinfo);
- 
-@@ -1219,13 +1213,11 @@ call::~call()
-     free(rtd_done);
-     free(debugBuffer);
- 
--#ifdef USE_TLS
-     if (srtpcheck_debug)
-     {
-         fclose(_srtpctxdebugfile);
-         _srtpctxdebugfile = nullptr;
-     }
--#endif // USE_TLS
- }
- 
- void call::setRtpEchoErrors(int value)
-@@ -2572,7 +2564,6 @@ char* call::createSendingMessage(SendingMessage *src, int P_index, char *msg_buf
-     char *dest = msg_buffer;
-     bool suppresscrlf = false;
- 
--#ifdef USE_TLS
-     bool srtp_audio_updated = false;
-     bool srtp_video_updated = false;
- 
-@@ -2599,7 +2590,6 @@ char* call::createSendingMessage(SendingMessage *src, int P_index, char *msg_buf
-     *pV.secondary_cryptokeyparams = 0;
-     pV.primary_unencrypted_srtp = false;
-     pV.secondary_unencrypted_srtp = false;
--#endif // USE_TLS
- 
-     msg_buffer[0] = '\0';
- 
-@@ -2722,9 +2712,7 @@ char* call::createSendingMessage(SendingMessage *src, int P_index, char *msg_buf
-           } else if (comp->offset >= 1) {
-               temp_audio_port = rtpstream_callinfo.local_audioport + comp->offset;
-           }
--#ifdef USE_TLS
-           logSrtpInfo("call::createSendingMessage():  E_Message_RTPStream_Audio_Port: %d\n", temp_audio_port);
--#endif // USE_TLS
-           dest += snprintf(dest, left, "%d", temp_audio_port);
-         }
-         break;
-@@ -2741,13 +2729,10 @@ char* call::createSendingMessage(SendingMessage *src, int P_index, char *msg_buf
-           } else if (comp->offset >= 1) {
-               temp_video_port = rtpstream_callinfo.local_videoport + comp->offset;
-           }
--#ifdef USE_TLS
-           logSrtpInfo("call::createSendingMessage():  E_Message_RTPStream_Video_Port: %d\n", temp_video_port);
--#endif // USE_TLS
-           dest += snprintf(dest, left, "%d", temp_video_port);
-         }
-         break;
--#ifdef USE_TLS
-         case E_Message_CryptoTag1Audio:
-         {
-             pA.found = true;
-@@ -3752,7 +3737,6 @@ char* call::createSendingMessage(SendingMessage *src, int P_index, char *msg_buf
-             srtp_video_updated = true;
-         }
-         break;
--#endif // USE_TLS
-         case E_Message_Media_IP_Type:
-             dest += snprintf(dest, left, "%s", (media_ip_is_ipv6 ? "6" : "4"));
-             break;
-@@ -4077,7 +4061,6 @@ char* call::createSendingMessage(SendingMessage *src, int P_index, char *msg_buf
-         SendingMessage::freeMessageComponent(auth_comp);
-     }
- 
--#ifdef USE_TLS
-     // PASS OUTGOING SRTP PARAMETERS...
-     if (srtp_audio_updated && (pA.primary_cryptotag != 0))
-     {
-@@ -4111,34 +4094,25 @@ char* call::createSendingMessage(SendingMessage *src, int P_index, char *msg_buf
-             _rxUACVideo.setID(rxUACV);
-         }
-     }
--#endif // USE_TLS
- 
-     if (body &&
-         !strcmp(get_header_content(msg_buffer, (char*)"Content-Type:"), "application/sdp"))
-     {
-         if (getSessionStateCurrent() == eNoSession)
-         {
--#ifdef USE_TLS
-             logSrtpInfo("call::createSendingMessage():  Switching session state:  eNoSession --> eOfferSent\n");
--#endif // USE_TLS
-             setSessionState(eOfferSent);
-         }
-         else if (getSessionStateCurrent() == eCompleted)
-         {
--#ifdef USE_TLS
-             logSrtpInfo("call::createSendingMessage():  Switching session state:  eCompleted --> eOfferSent\n");
--#endif // USE_TLS
-             setSessionState(eOfferSent);
-         }
-         else if (getSessionStateCurrent() == eOfferReceived)
-         {
--#ifdef USE_TLS
-             logSrtpInfo("call::createSendingMessage():  Switching session state:  eOfferReceived --> eAnswerSent\n");
--#endif // USE_TLS
-             setSessionState(eAnswerSent);
--#ifdef USE_TLS
-             logSrtpInfo("call::createSendingMessage():  Switching session state:  eAnswerSent --> eCompleted\n");
--#endif // USE_TLS
-             setSessionState(eCompleted);
-         }
-     }
-@@ -4616,10 +4590,8 @@ bool call::process_incoming(const char* msg, const struct sockaddr_storage* src)
-         int video_port = 0;
-         std::string host;
- 
--#ifdef USE_TLS
-         int audio_answer_ciphersuite_match = -1;
-         int video_answer_ciphersuite_match = -1;
--#endif // USE_TLS
- 
-         ptr = get_header_content(msg, "Content-Length:");
- 
-@@ -4627,31 +4599,22 @@ bool call::process_incoming(const char* msg, const struct sockaddr_storage* src)
-         {
-             if (getSessionStateCurrent() == eNoSession)
-             {
--#ifdef USE_TLS
-                 logSrtpInfo("call::process_incoming():  Switching session state:  eNoSession --> eOfferReceived\n");
--#endif // USE_TLS
-                 setSessionState(eOfferReceived);
-             }
-             else if (getSessionStateCurrent() == eCompleted)
-             {
--#ifdef USE_TLS
-                 logSrtpInfo("call::process_incoming():  Switching session state:  eCompleted --> eOfferReceived\n");
--#endif // USE_TLS
-                 setSessionState(eOfferReceived);
-             }
-             else if (getSessionStateCurrent() == eOfferSent)
-             {
--#ifdef USE_TLS
-                 logSrtpInfo("call::process_incoming():  Switching session state:  eOfferSent --> eAnswerReceived\n");
--#endif // USE_TLS
-                 setSessionState(eAnswerReceived);
--#ifdef USE_TLS
-                 logSrtpInfo("call::process_incoming();  Switching session state:  eAnswerReceived --> eCompleted\n");
--#endif // USE_TLS
-                 setSessionState(eCompleted);
-             }
- 
--#ifdef USE_TLS
-             // INCOMING SRTP PARAM CONTEXT
-             SrtpInfoParams pA;
-             SrtpInfoParams pV;
-@@ -4675,16 +4638,13 @@ bool call::process_incoming(const char* msg, const struct sockaddr_storage* src)
-             *pV.secondary_cryptokeyparams = 0;
-             pV.primary_unencrypted_srtp = false;
-             pV.secondary_unencrypted_srtp = false;
--#endif // USE_TLS
- 
-             host = extract_rtp_remote_addr(msg, ip_ver, audio_port, video_port);
- 
--#ifdef USE_TLS
-             if (extract_srtp_remote_info(msg, pA, pV) < 0) {
-                 WARNING("extract_rtp_remote_addr: error extracting SRTP parameters from SDP message body");
-                 return rejectCall();
-             }
--#endif // USE_TLS
- 
-             if ((audio_port==0) && (video_port==0)) {
-                 WARNING("extract_rtp_remote_addr: no m=audio or m=video or m=image line found in SDP message body");
-@@ -4692,7 +4652,6 @@ bool call::process_incoming(const char* msg, const struct sockaddr_storage* src)
-                 rtpstream_set_remote(&rtpstream_callinfo, ip_ver, host.c_str(), audio_port, video_port);
-             }
- 
--#ifdef USE_TLS
-             // PASS INCOMING SRTP PARAMETERS...
-             if (pA.found && (pA.primary_cryptotag != 0))
-             {
-@@ -5192,7 +5151,6 @@ bool call::process_incoming(const char* msg, const struct sockaddr_storage* src)
-                     }
-                 }
-             }
--#endif // USE_TLS
-         } // ptr
-     } // Content-Type
- 
-@@ -6181,7 +6139,6 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_PLAYAPATTERN) {
-             const char *fileName = createSendingMessage(currentAction->getMessage());
-             currentAction->setRTPStreamActInfo(fileName);
--#ifdef USE_TLS
-             //
-             // TX/RX-UAC-AUDIO SRTP context (a)(b) -- SRTP PAYLOAD SIZE + DERIVE SESSION ENCRYPTION/SALTING/AUTHENTICATION KEYS + SELECT ENCRYPTION KEY + RESET CIPHER STATE
-             // WE ASSUME THE SAME CODEC PAYLOAD SIZE WILL BE USED IN BOTH DIRECTIONS
-@@ -6219,7 +6176,6 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-             }
- 
-             logSrtpInfo("call::executeAction():  rtpstream_playapattern\n");
--#endif // USE_TLS
-             rtpstream_playapattern(&rtpstream_callinfo,currentAction->getRTPStreamActInfo(), _txUACAudio, _rxUACAudio);
-             // Obtain ID of parent thread used for the related RTP task
-             call_scenario->addRtpTaskThreadID(rtpstream_callinfo.threadID);
-@@ -6230,7 +6186,6 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_PLAYVPATTERN) {
-             const char *fileName = createSendingMessage(currentAction->getMessage());
-             currentAction->setRTPStreamActInfo(fileName);
--#ifdef USE_TLS
-             //
-             // TX/RX-UAC-VIDEO SRTP context (a)(b) -- SRTP PAYLOAD SIZE + DERIVE SESSION ENCRYPTION/SALTING/AUTHENTICATION KEYS + SELECT ENCRYPTION KEY + RESET CIPHER STATE
-             // WE ASSUME THE SAME CODEC PAYLOAD SIZE WILL BE USED IN BOTH DIRECTIONS
-@@ -6268,12 +6223,10 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-             }
- 
-             logSrtpInfo("call::executeAction():  rtpstream_playvpattern\n");
--#endif // USE_TLS
-             rtpstream_playvpattern(&rtpstream_callinfo,currentAction->getRTPStreamActInfo(), _txUACVideo, _rxUACVideo);
-             // Obtain ID of parent thread used for the related RTP task
-             call_scenario->addRtpTaskThreadID(rtpstream_callinfo.threadID);
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_RTPECHO_STARTAUDIO) {
--#ifdef USE_TLS
-             if (sendMode == MODE_SERVER)
-             {
-                 //
-@@ -6321,10 +6274,8 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-             }
- 
-             logSrtpInfo("call::executeAction() [STARTAUDIO]:  rtpstream_rtpecho_startaudio\n");
--#endif // USE_TLS
-             rtpstream_rtpecho_startaudio(&rtpstream_callinfo, _rxUASAudio, _txUASAudio);
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_RTPECHO_UPDATEAUDIO) {
--#ifdef USE_TLS
-             if (sendMode == MODE_SERVER)
-             {
-                 //
-@@ -6372,22 +6323,16 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-             }
- 
-             logSrtpInfo("call::executeAction() [UPDATEAUDIO]:  rtpstream_rtpecho_updateaudio\n");
--#endif // USE_TLS
-             rtpstream_rtpecho_updateaudio(&rtpstream_callinfo, _rxUASAudio, _txUASAudio);
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_RTPECHO_STOPAUDIO) {
--#ifdef USE_TLS
-             logSrtpInfo("call::executeAction() [STOPAUDIO]:  rtpstream_rtpecho_stopaudio\n");
--#endif // USE_TLS
-             rc = rtpstream_rtpecho_stopaudio(&rtpstream_callinfo);
-             if (rc < 0)
-             {
--#ifdef USE_TLS
-                 logSrtpInfo("call::executeAction() [STOPAUDIO]:  rtpstream_rtpecho_stopaudio() rc==%d\n", rc);
--#endif // USE_TLS
-                 return call::E_AR_RTPECHO_ERROR;
-             }
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_RTPECHO_STARTVIDEO) {
--#ifdef USE_TLS
-             if (sendMode == MODE_SERVER)
-             {
-                 //
-@@ -6435,10 +6380,8 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-             }
- 
-             logSrtpInfo("call::executeAction() [STARTVIDEO]:  rtpstream_rtpecho_startvideo\n");
--#endif // USE_TLS
-             rtpstream_rtpecho_startvideo(&rtpstream_callinfo, _rxUASVideo, _txUASVideo);
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_RTPECHO_UPDATEVIDEO) {
--#ifdef USE_TLS
-             if (sendMode == MODE_SERVER)
-             {
-                 //
-@@ -6486,18 +6429,13 @@ call::T_ActionResult call::executeAction(const char* msg, message* curmsg)
-             }
- 
-             logSrtpInfo("call::executeAction() [UPDATEVIDEO]:  rtpstream_rtpecho_updatevideo\n");
--#endif // USE_TLS
-             rtpstream_rtpecho_updatevideo(&rtpstream_callinfo, _rxUASVideo, _txUASVideo);
-         } else if (currentAction->getActionType() == CAction::E_AT_RTP_STREAM_RTPECHO_STOPVIDEO) {
--#ifdef USE_TLS
-             logSrtpInfo("call::executeAction() [STOPVIDEO]:  rtpstream_rtpecho_stopvideo\n");
--#endif // USE_TLS
-             rc = rtpstream_rtpecho_stopvideo(&rtpstream_callinfo);
-             if (rc < 0)
-             {
--#ifdef USE_TLS
-                 logSrtpInfo("call::executeAction() [STOPVIDEO]:  rtpstream_rtpecho_stopvideo() rc==%d\n", rc);
--#endif // USE_TLS
-                 return call::E_AR_RTPECHO_ERROR;
-             }
-         } else {
-@@ -6806,7 +6744,6 @@ bool call::automaticResponseMode(T_AutoMode P_case, const char* P_recv)
-     return false;
- }
- 
--#ifdef USE_TLS
- int call::logSrtpInfo(const char *fmt, ...)
- {
-     va_list args;
-@@ -6820,7 +6757,6 @@ int call::logSrtpInfo(const char *fmt, ...)
- 
-     return 0;
- }
--#endif // USE_TLS
- 
- void call::setSessionState(SessionState state)
- {
-diff --git a/src/message.cpp b/src/message.cpp
-index e139263..2e886de 100644
---- a/src/message.cpp
-+++ b/src/message.cpp
-@@ -60,7 +60,6 @@ struct KeywordMap SimpleKeywords[] = {
-     {"media_ip", E_Message_Media_IP },
-     {"rtpstream_audio_port", E_Message_RTPStream_Audio_Port },
-     {"rtpstream_video_port", E_Message_RTPStream_Video_Port },
--#ifdef USE_TLS
-     {"cryptotag1audio", E_Message_CryptoTag1Audio },
-     {"cryptotag2audio", E_Message_CryptoTag2Audio },
-     {"cryptosuiteaescm128sha1801audio", E_Message_CryptoSuiteAesCm128Sha1801Audio },
-@@ -93,7 +92,6 @@ struct KeywordMap SimpleKeywords[] = {
-     {"ueaescm128sha1802video" , E_Message_UEAesCm128Sha1802Video },
-     {"ueaescm128sha1321video" , E_Message_UEAesCm128Sha1321Video },
-     {"ueaescm128sha1322video" , E_Message_UEAesCm128Sha1322Video },
--#endif // USE_TLS
-     {"media_port", E_Message_Media_Port },
-     {"auto_media_port", E_Message_Auto_Media_Port },
-     {"media_ip_type", E_Message_Media_IP_Type },
-diff --git a/src/rtpstream.cpp b/src/rtpstream.cpp
-index ba23437..db984bb 100644
---- a/src/rtpstream.cpp
-+++ b/src/rtpstream.cpp
-@@ -132,7 +132,6 @@ FILE*         debugafile = nullptr;
- FILE*         debugvfile = nullptr;
- pthread_mutex_t  debugamutex = PTHREAD_MUTEX_INITIALIZER;
- pthread_mutex_t  debugvmutex = PTHREAD_MUTEX_INITIALIZER;
--#ifdef USE_TLS
- FILE*         debuglsrtpafile = nullptr;
- FILE*         debugrsrtpafile = nullptr;
- pthread_mutex_t  debuglsrtpamutex = PTHREAD_MUTEX_INITIALIZER;
-@@ -141,7 +140,6 @@ FILE*         debuglsrtpvfile = nullptr;
- FILE*         debugrsrtpvfile = nullptr;
- pthread_mutex_t  debuglsrtpvmutex = PTHREAD_MUTEX_INITIALIZER;
- pthread_mutex_t  debugrsrtpvmutex = PTHREAD_MUTEX_INITIALIZER;
--#endif // USE_TLS
- FILE*         debugrefileaudio = nullptr;
- FILE*         debugrefilevideo = nullptr;
- pthread_mutex_t  debugremutexaudio = PTHREAD_MUTEX_INITIALIZER;
-@@ -150,10 +148,8 @@ pthread_mutex_t  debugremutexvideo = PTHREAD_MUTEX_INITIALIZER;
- // RTPSTREAM ECHO
- pthread_t    pthread_audioecho_id;
- pthread_t    pthread_videoecho_id;
--#ifdef USE_TLS
- static bool quit_audioecho_thread = false;
- static bool quit_videoecho_thread = false;
--#endif
- pthread_mutex_t quit_mutexaudio = PTHREAD_MUTEX_INITIALIZER;
- pthread_mutex_t quit_mutexvideo = PTHREAD_MUTEX_INITIALIZER;
- pthread_cond_t quit_cvaudio = PTHREAD_COND_INITIALIZER;
-@@ -200,7 +196,6 @@ static unsigned long long getThreadId(pthread_t p)
-     return retVal;
- }
- 
--#ifdef USE_TLS
- static std::string build_rtpecho_filename(const char* mediaName)
- {
-     std::ostringstream oss;
-@@ -214,7 +209,6 @@ static std::string build_rtpecho_filename(const char* mediaName)
- 
-     return rtpecho_filename;
- }
--#endif // USE_TLS
- 
- void printAudioHexUS(char const* note, unsigned char const* string, unsigned int size, unsigned long long extrainfo, int moreinfo)
- {
-@@ -320,7 +314,6 @@ void printVideoVector(char const* note, std::vector<unsigned long> const &v)
-     }
- }
- 
--#ifdef USE_TLS
- void printLocalAudioSrtpStuff(SrtpInfoParams &p)
- {
-     if (debuglsrtpafile != nullptr)
-@@ -392,7 +385,6 @@ void printRemoteVideoSrtpStuff(SrtpInfoParams &p)
-         pthread_mutex_unlock(&debugrsrtpvmutex);
-     }
- }
--#endif // USE_TLS
- 
- int set_bit(unsigned long* context, int value)
- {
-@@ -446,11 +438,9 @@ int clear_bit(unsigned long* context, int value)
- static void rtpstream_free_taskinfo(taskentry_t* taskinfo)
- {
-     if (taskinfo) {
--#ifdef USE_TLS
-         /* audio SRTP echo activity indicators */
-         taskinfo->audio_srtp_echo_active = 0;
-         taskinfo->video_srtp_echo_active = 0;
--#endif // USE_TLS
- 
-         /* close sockets associated with this call */
-         if (taskinfo->audio_rtp_socket != -1) {
-@@ -499,11 +489,7 @@ static void rtpstream_process_task_flags(taskentry_t* taskinfo)
-             }
- 
-             if (taskinfo->audio_rtp_socket != -1) {
--#ifdef USE_TLS
-                 if (!taskinfo->audio_srtp_echo_active) {
--#else // !USE_TLS
--                if (1) {
--#endif // USE_TLS
-                     rc = connect(taskinfo->audio_rtp_socket, (struct sockaddr *) & (taskinfo->remote_audio_rtp_addr), remote_addr_len);
-                     if (rc < 0) {
-                         debugprint("closing audio rtp socket %d due to error %d in rtpstream_process_task_flags taskinfo = %p\n",
-@@ -530,11 +516,7 @@ static void rtpstream_process_task_flags(taskentry_t* taskinfo)
-                 }
-             }
-             if (taskinfo->video_rtp_socket != -1) {
--#ifdef USE_TLS
-                 if (!taskinfo->video_srtp_echo_active) {
--#else // !USE_TLS
--                if (1) {
--#endif // USE_TLS
-                     rc = connect(taskinfo->video_rtp_socket, (struct sockaddr *) & (taskinfo->remote_video_rtp_addr), remote_addr_len);
-                     if (rc < 0) {
-                         debugprint("closing video rtp socket %d due to error %d in rtpstream_process_task_flags taskinfo = %p\n",
-@@ -638,10 +620,8 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-     unsigned int host_ssrc = 0;
-     unsigned int audio_in_size = 0;
-     unsigned int video_in_size = 0;
--#ifdef USE_TLS
-     unsigned short audio_seq_in = 0;
-     unsigned short video_seq_in = 0;
--#endif
- 
-     union {
-         rtp_header_t hdr;
-@@ -720,7 +700,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                 }
- 
-                 pthread_mutex_lock(&uacAudioMutex);
--#ifdef USE_TLS
-                 if (g_txUACAudio.getCryptoTag() != 0)
-                 {
-                     // GRAB RTP HEADER
-@@ -735,7 +714,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                     printAudioHex("TXUACAUDIO -- processOutgoingPacket() rc == ", "", 0, rc, 0);
-                 }
-                 else
--#endif // USE_TLS
-                 {
-                     // NOENCRYPTION
-                     audio_out.resize(sizeof(rtp_header_t) + taskinfo->audio_bytes_per_packet, 0);
-@@ -778,13 +756,11 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                     {
-                         /* this is temp code - will have to reorganize if/when we include echo functionality */
-                         /* just keep listening on rtp socket (is this really required?) - ignore any errors */
--#ifdef USE_TLS
-                         if (g_rxUACAudio.getCryptoTag() != 0)
-                         {
-                             audio_in_size = sizeof(rtp_header_t) + taskinfo->audio_bytes_per_packet + g_rxUACAudio.getAuthenticationTagSize();
-                         }
-                         else
--#endif // USE_TLS
-                         {
-                             // NOENCRYPTION
-                             audio_in_size = sizeof(rtp_header_t) + taskinfo->audio_bytes_per_packet;
-@@ -798,7 +774,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                             rtpstream_abytes_in += rc;
-                             printAudioHexUS("SIPP SUCCESS RECV LOG: ", audio_in.data(), audio_in.size(), rc, rtpstream_apckts);
-                         }
--#ifdef USE_TLS
-                         if (g_rxUACAudio.getCryptoTag() != 0)
-                         {
-                             // DECRYPT
-@@ -832,7 +807,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                             memcpy(udp_recv_audio.buffer + sizeof(rtp_header_t), payload_data.data(), payload_data.size());
-                         }
-                         else
--#endif // USE_TLS
-                         {
-                             // NOENCRYPTION
-                             host_flags = ntohs(((rtp_header_t*)audio_in.data())->flags);
-@@ -970,7 +944,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                 }
- 
-                 pthread_mutex_lock(&uacVideoMutex);
--#ifdef USE_TLS
-                 if (g_txUACVideo.getCryptoTag() != 0)
-                 {
-                     // GRAB RTP HEADER
-@@ -985,7 +958,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                     printVideoHex("TXUACVIDEO -- processOutgoingPacket() rc == ", "", 0, rc, 0);
-                 }
-                 else
--#endif // USE_TLS
-                 {
-                     // NOENCRYPTION
-                     video_out.resize(sizeof(rtp_header_t) + taskinfo->video_bytes_per_packet, 0);
-@@ -1028,13 +1000,11 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                     {
-                         /* this is temp code - will have to reorganize if/when we include echo functionality */
-                         /* just keep listening on rtp socket (is this really required?) - ignore any errors */
--#ifdef USE_TLS
-                         if (g_rxUACVideo.getCryptoTag() != 0)
-                         {
-                             video_in_size = sizeof(rtp_header_t) + taskinfo->video_bytes_per_packet + g_rxUACVideo.getAuthenticationTagSize();
-                         }
-                         else
--#endif // USE_TLS
-                         {
-                             // NOENCRYPTION
-                             video_in_size = sizeof(rtp_header_t) + taskinfo->video_bytes_per_packet;
-@@ -1049,7 +1019,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                             printVideoHexUS("SIPP SUCCESS RECV LOG: ", video_in.data(), video_in.size(), rc, rtpstream_vpckts);
-                         }
- 
--#ifdef USE_TLS
-                         if (g_rxUACVideo.getCryptoTag() != 0)
-                         {
-                             // DECRYPT
-@@ -1082,7 +1051,6 @@ static unsigned long rtpstream_playrtptask(taskentry_t* taskinfo,
-                             memcpy(udp_recv_video.buffer + sizeof(rtp_header_t), payload_data.data(), payload_data.size());
-                         }
-                         else
--#endif // USE_TLS
-                         {
-                             // NOENCRYPTION
-                             host_flags = ntohs(((rtp_header_t*)video_in.data())->flags);
-@@ -1614,11 +1582,9 @@ int rtpstream_new_call(rtpstream_callinfo_t* callinfo)
-     taskinfo->video_rtp_socket = -1;
-     taskinfo->video_rtcp_socket = -1;
- 
--#ifdef USE_TLS
-     /* audio/video SRTP echo activity indicators */
-     taskinfo->audio_srtp_echo_active = 0;
-     taskinfo->video_srtp_echo_active = 0;
--#endif // USE_TLS
- 
-     /* rtp stream members */
-     taskinfo->audio_ssrc_id = global_ssrc_id++;
-@@ -2091,7 +2057,6 @@ void rtpstream_set_remote(rtpstream_callinfo_t* callinfo, int ip_ver, const char
-     /* only makes sense if we decide to send 0-filled packets on idle */
- }
- 
--#ifdef USE_TLS
- int rtpstream_set_srtp_audio_local(rtpstream_callinfo_t* callinfo, SrtpInfoParams &p)
- {
-     taskentry_t               *taskinfo;
-@@ -2359,7 +2324,6 @@ int rtpstream_set_srtp_video_remote(rtpstream_callinfo_t* callinfo, SrtpInfoPara
- 
-     return 0;
- }
--#endif // USE_TLS
- 
- static inline uint32_t uint_val(const char *ptr)
- {
-@@ -2521,12 +2485,10 @@ void rtpstream_playapattern(rtpstream_callinfo_t* callinfo, rtpstream_actinfo_t*
-     /* set flag that we have a new file to play */
-     taskinfo->flags |= TI_PLAYAPATTERN;
- 
--#ifdef USE_TLS
-     pthread_mutex_lock(&uacAudioMutex);
-     g_txUACAudio = txUACAudio;
-     g_rxUACAudio = rxUACAudio;
-     pthread_mutex_unlock(&uacAudioMutex);
--#endif // USE_TLS
- }
- 
- void rtpstream_pauseapattern(rtpstream_callinfo_t* callinfo)
-@@ -2597,12 +2559,10 @@ void rtpstream_playvpattern(rtpstream_callinfo_t* callinfo, rtpstream_actinfo_t*
-     /* set flag that we have a new file to play */
-     taskinfo->flags |= TI_PLAYVPATTERN;
- 
--#ifdef USE_TLS
-     pthread_mutex_lock(&uacVideoMutex);
-     g_txUACVideo = txUACVideo;
-     g_rxUACVideo = rxUACVideo;
-     pthread_mutex_unlock(&uacVideoMutex);
--#endif // USE_TLS
- }
- 
- void rtpstream_pausevpattern(rtpstream_callinfo_t* callinfo)
-@@ -2626,7 +2586,6 @@ void rtpstream_resumevpattern(rtpstream_callinfo_t* callinfo)
- void rtpstream_audioecho_thread(void* param)
- {
-     int exit_code = 0;
--#ifdef USE_TLS
-     my_unique_ptr<unsigned char[]> msg {
-         reinterpret_cast<unsigned char*>(malloc(media_bufsize)) };
-     ssize_t nr;
-@@ -2879,9 +2838,6 @@ void rtpstream_audioecho_thread(void* param)
-     {
-         exit_code = 0;
-     }
--#else // !USE_TLS
--    exit_code = 0; // dummy
--#endif // USE_TLS
- 
-     pthread_exit((void*) (intptr_t) exit_code);
- }
-@@ -2889,7 +2845,6 @@ void rtpstream_audioecho_thread(void* param)
- void rtpstream_videoecho_thread(void* param)
- {
-     int exit_code = 0;
--#ifdef USE_TLS
-     my_unique_ptr<unsigned char[]> msg {
-         reinterpret_cast<unsigned char*>(malloc(media_bufsize)) };
-     ssize_t nr;
-@@ -3141,9 +3096,6 @@ void rtpstream_videoecho_thread(void* param)
-     {
-         exit_code = 0;
-     }
--#else // !USE_TLS
--    exit_code = 0; // dummy
--#endif // USE_TLS
- 
-     pthread_exit((void*) (intptr_t) exit_code);
- }
-@@ -3159,7 +3111,6 @@ int rtpstream_rtpecho_startaudio(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASAu
-         return -1; /* no task data structure */
-     }
- 
--#ifdef USE_TLS
-     ParamPass p;
- 
-     taskinfo->audio_srtp_echo_active = 1;
-@@ -3203,7 +3154,6 @@ int rtpstream_rtpecho_startaudio(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASAu
-             return -7;
-         }
-     }
--#endif // USE_TLS
- 
-     return 0;
- }
-@@ -3219,7 +3169,6 @@ int rtpstream_rtpecho_updateaudio(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASA
-         return -1; /* no task data structure */
-     }
- 
--#ifdef USE_TLS
-     taskinfo->audio_srtp_echo_active = 1;
- 
-     pthread_mutex_lock(&debugremutexaudio);
-@@ -3235,7 +3184,6 @@ int rtpstream_rtpecho_updateaudio(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASA
-     g_rxUASAudio = rxUASAudio;
-     g_txUASAudio = txUASAudio;
-     pthread_mutex_unlock(&uasAudioMutex);
--#endif // USE_TLS
- 
-     return 0;
- }
-@@ -3252,7 +3200,6 @@ int rtpstream_rtpecho_stopaudio(rtpstream_callinfo_t* callinfo)
-         return -1; /* no task data structure */
-     }
- 
--#ifdef USE_TLS
-     taskinfo->audio_srtp_echo_active = 0;
- 
-     pthread_mutex_lock(&quit_mutexaudio);
-@@ -3314,9 +3261,6 @@ int rtpstream_rtpecho_stopaudio(rtpstream_callinfo_t* callinfo)
-         }
-     }
-     pthread_mutex_unlock(&debugremutexaudio);
--#else // !USE_TLS
--    r.i = 0; // dummy
--#endif // USE_TLS
- 
-     return r.i;
- }
-@@ -3332,7 +3276,6 @@ int rtpstream_rtpecho_startvideo(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASVi
-         return -1; /* no task data structure */
-     }
- 
--#ifdef USE_TLS
-     ParamPass p;
- 
-     taskinfo->video_srtp_echo_active = 1;
-@@ -3376,7 +3319,6 @@ int rtpstream_rtpecho_startvideo(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASVi
-             return -8;
-         }
-     }
--#endif // USE_TLS
- 
-     return 0;
- }
-@@ -3392,7 +3334,6 @@ int rtpstream_rtpecho_updatevideo(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASV
-         return -1; /* no task data structure */
-     }
- 
--#ifdef USE_TLS
-     taskinfo->video_srtp_echo_active = 1;
- 
-     pthread_mutex_lock(&debugremutexvideo);
-@@ -3408,7 +3349,6 @@ int rtpstream_rtpecho_updatevideo(rtpstream_callinfo_t* callinfo, JLSRTP& rxUASV
-     g_rxUASVideo = rxUASVideo;
-     g_txUASVideo = txUASVideo;
-     pthread_mutex_unlock(&uasVideoMutex);
--#endif // USE_TLS
- 
-     return 0;
- }
-@@ -3425,7 +3365,6 @@ int rtpstream_rtpecho_stopvideo(rtpstream_callinfo_t* callinfo)
-         return -1; /* no task data structure */
-     }
- 
--#ifdef USE_TLS
-     taskinfo->video_srtp_echo_active = 0;
- 
-     pthread_mutex_lock(&quit_mutexvideo);
-@@ -3488,9 +3427,6 @@ int rtpstream_rtpecho_stopvideo(rtpstream_callinfo_t* callinfo)
-         }
-     }
-     pthread_mutex_unlock(&debugremutexvideo);
--#else // !USE_TLS
--    r.i = 0; // dummy
--#endif // USE_TLS
- 
-     return r.i;
- }
-diff --git a/src/sipp.cpp b/src/sipp.cpp
-index 23b46e5..d2ccb06 100644
---- a/src/sipp.cpp
-+++ b/src/sipp.cpp
-@@ -92,7 +92,6 @@ struct sipp_option {
- #define SIPP_OPTION_BOOL          10
- #define SIPP_OPTION_VERSION       11
- #define SIPP_OPTION_TRANSPORT     12
--#define SIPP_OPTION_NEED_SSL      13
- #define SIPP_OPTION_IP            14
- #define SIPP_OPTION_MAX_SOCKET    15
- #define SIPP_OPTION_CSEQ          16
-@@ -164,10 +163,8 @@ struct sipp_option options_table[] = {
-         "- ui: UDP with one socket per IP address. The IP addresses must be defined in the injection file.\n"
-         "- t1: TCP with one socket,\n"
-         "- tn: TCP with one socket per call,\n"
--#ifdef USE_TLS
-         "- l1: TLS with one socket,\n"
-         "- ln: TLS with one socket per call,\n"
--#endif
- #ifdef USE_SCTP
-         "- s1: SCTP with one socket,\n"
-         "- sn: SCTP with one socket per call,\n"
-@@ -190,19 +187,11 @@ struct sipp_option options_table[] = {
-     {"reconnect_sleep", "How long (in milliseconds) to sleep between the close and reconnect?", SIPP_OPTION_TIME_MS, &reset_sleep, 1},
-     {"rsa", "Set the remote sending address to host:port for sending the messages.", SIPP_OPTION_RSA, nullptr, 1},
- 
--#ifdef USE_TLS
-     {"tls_cert", "Set the name for TLS Certificate file. Default is 'cacert.pem'", SIPP_OPTION_STRING, &tls_cert_name, 1},
-     {"tls_key", "Set the name for TLS Private Key file. Default is 'cakey.pem'", SIPP_OPTION_STRING, &tls_key_name, 1},
-     {"tls_ca", "Set the name for TLS CA file. If not specified, X509 verification is not activated.", SIPP_OPTION_STRING, &tls_ca_name, 1},
-     {"tls_crl", "Set the name for Certificate Revocation List file. If not specified, X509 CRL is not activated.", SIPP_OPTION_STRING, &tls_crl_name, 1},
-     {"tls_version", "Set the TLS protocol version to use (1.0, 1.1, 1.2, 1.3) -- default is autonegotiate", SIPP_OPTION_FLOAT, &tls_version, 1},
--#else
--    {"tls_cert", nullptr, SIPP_OPTION_NEED_SSL, nullptr, 1},
--    {"tls_key", nullptr, SIPP_OPTION_NEED_SSL, nullptr, 1},
--    {"tls_ca", nullptr, SIPP_OPTION_NEED_SSL, nullptr, 1},
--    {"tls_crl", nullptr, SIPP_OPTION_NEED_SSL, nullptr, 1},
--    {"tls_version", nullptr, SIPP_OPTION_NEED_SSL, nullptr, 1},
--#endif
- 
- #ifdef USE_SCTP
-     {"multihome", "Set multihome address for SCTP", SIPP_OPTION_IP, multihome_ip, 1},
-@@ -300,9 +289,7 @@ struct sipp_option options_table[] = {
-     {"rtp_threadtasks", "RTP number of playback tasks per thread.", SIPP_OPTION_INT, &rtp_tasks_per_thread, 1},
-     {"rtp_buffsize", "Set the rtp socket send/receive buffer size.", SIPP_OPTION_INT, &rtp_buffsize, 1},
-     {"rtpcheck_debug", "Write RTP check debug information to file", SIPP_OPTION_SETFLAG, &rtpcheck_debug, 1},
--#ifdef USE_TLS
-     {"srtpcheck_debug", "Write SRTP check debug information to file", SIPP_OPTION_SETFLAG, &srtpcheck_debug, 1},
--#endif // USE_TLS
-     {"audiotolerance", "Audio error tolerance for RTP checks (0.0-1.0) -- default: 1.0", SIPP_OPTION_FLOAT, &audiotolerance, 1},
-     {"videotolerance", "Video error tolerance for RTP checks (0.0-1.0) -- default: 1.0", SIPP_OPTION_FLOAT, &videotolerance, 1},
-     {"random_base_ssrc", "Use a random base SSRC for RTP streams instead of default value 0xCA110000", SIPP_OPTION_SETFLAG, &random_base_ssrc, 1},
-@@ -1455,18 +1442,14 @@ int main(int argc, char *argv[])
-                 printf("\n %s.\n\n",
-                        /* SIPp v1.2.3-TLS-PCAP */
-                        "SIPp " SIPP_VERSION
--#ifdef USE_TLS
-                        "-TLS"
--#endif
- #ifdef USE_SCTP
-                        "-SCTP"
- #endif
- #ifdef PCAPPLAY
-                        "-PCAP"
- #endif
--#ifdef USE_SHA256
-                        "-SHA256"
--#endif
-                        );
- 
-                 printf
-@@ -1633,15 +1616,11 @@ int main(int argc, char *argv[])
- #endif
-                     break;
-                 case 'l':
--#ifdef USE_TLS
-                     transport = T_TLS;
-                     if (TLS_init() != 1) {
-                         printf("TLS initialization problem\n");
-                         exit(-1);
-                     }
--#else
--                    ERROR("To use TLS transport you must compile SIPp with OpenSSL or WolfSSL");
--#endif
-                     break;
-                 case 'c':
-                     if (strlen(comp_error)) {
-@@ -1673,10 +1652,6 @@ int main(int argc, char *argv[])
-                 CHECK_PASS();
-                 ERROR("SCTP support is required for the %s option.", argv[argi]);
-                 break;
--            case SIPP_OPTION_NEED_SSL:
--                CHECK_PASS();
--                ERROR("TLS support is required for the %s option.", argv[argi]);
--                break;
-             case SIPP_OPTION_MAX_SOCKET:
-                 REQUIRE_ARG();
-                 CHECK_PASS();
-@@ -2012,11 +1987,9 @@ int main(int argc, char *argv[])
-     }
-     scenario_file = main_scenario->getFileName().c_str();
- 
--#ifdef USE_TLS
-     if ((transport == T_TLS) && (TLS_init_context() != TLS_INIT_NORMAL)) {
-         ERROR("FI_init_ssl_context() failed");
-     }
--#endif
- 
-     if (useLogf == 1) {
-         rotate_logfile();
-diff --git a/src/socket.cpp b/src/socket.cpp
-index 27473f9..68ad034 100644
---- a/src/socket.cpp
-+++ b/src/socket.cpp
-@@ -1310,9 +1310,6 @@ static int socket_fd(bool use_ipv6, int transport)
- #endif
-         break;
-     case T_TLS:
--#ifndef USE_TLS
--        ERROR("You do not have TLS support enabled!");
--#endif
-     case T_TCP:
-         socket_type = SOCK_STREAM;
-         protocol = IPPROTO_TCP;

diff --git a/sipp-0004-Removed-outdated-md5-implementation.patch b/sipp-0004-Removed-outdated-md5-implementation.patch
deleted file mode 100644
index 38cd216..0000000
--- a/sipp-0004-Removed-outdated-md5-implementation.patch
+++ /dev/null
@@ -1,650 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Thu, 1 Jan 2026 00:20:34 +0100
-Subject: [PATCH] Removed outdated md5 implementation
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/LICENSE.txt b/LICENSE.txt
-index 3e4df1f..f7ce489 100644
---- a/LICENSE.txt
-+++ b/LICENSE.txt
-@@ -1,6 +1,6 @@
- SIPp as a whole is licensed under the GNU General Public License, version 2 or any later version (copy below).
- 
--send_packets.c, send_packets.h, md5.c and md5.h have separate copyright
-+send_packets.c, send_packets.h, have separate copyright
- licenses, which apply only to those files.
- 
- The following license applies to send_packets.c and send_packets.h only:
-@@ -33,32 +33,6 @@ The following license applies to send_packets.c and send_packets.h only:
-  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- 
--The following license applies to md5.c and md5.h only:
--
--/*
--  Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.  All rights reserved.
--
--  This software is provided 'as-is', without any express or implied
--  warranty.  In no event will the authors be held liable for any damages
--  arising from the use of this software.
--
--  Permission is granted to anyone to use this software for any purpose,
--  including commercial applications, and to alter it and redistribute it
--  freely, subject to the following restrictions:
--
--  1. The origin of this software must not be misrepresented; you must not
--     claim that you wrote the original software. If you use this software
--     in a product, an acknowledgment in the product documentation would be
--     appreciated but is not required.
--  2. Altered source versions must be plainly marked as such, and must not be
--     misrepresented as being the original software.
--  3. This notice may not be removed or altered from any source distribution.
--
--  L. Peter Deutsch
--  ghost@aladdin.com
--
-- */
--
- All other parts of SIPp are under the following license (or, at your option, any later version of the GNU GPL):
- 
- 		    GNU GENERAL PUBLIC LICENSE
-diff --git a/include/md5.h b/include/md5.h
-deleted file mode 100644
-index d28a08f..0000000
---- a/include/md5.h
-+++ /dev/null
-@@ -1,90 +0,0 @@
--/*
-- * Copyright (C) 1999, 2002 Aladdin Enterprises.  All rights reserved.
-- *
-- * This software is provided 'as-is', without any express or implied
-- * warranty.  In no event will the authors be held liable for any damages
-- * arising from the use of this software.
-- *
-- * Permission is granted to anyone to use this software for any purpose,
-- * including commercial applications, and to alter it and redistribute it
-- * freely, subject to the following restrictions:
-- *
-- * 1. The origin of this software must not be misrepresented; you must not
-- *    claim that you wrote the original software. If you use this software
-- *    in a product, an acknowledgment in the product documentation would be
-- *    appreciated but is not required.
-- * 2. Altered source versions must be plainly marked as such, and must not be
-- *    misrepresented as being the original software.
-- * 3. This notice may not be removed or altered from any source distribution.
-- *
-- * L. Peter Deutsch
-- * ghost@aladdin.com
--*/
--/* $Id: md5.h,v 1.4 2002/04/13 19:20:28 lpd Exp $ */
--/*
-- * Independent implementation of MD5 (RFC 1321).
-- *
-- * This code implements the MD5 Algorithm defined in RFC 1321, whose
-- * text is available at http://www.ietf.org/rfc/rfc1321.txt .
-- *
-- * The code is derived from the text of the RFC, including the test suite
-- * (section A.5) but excluding the rest of Appendix A.  It does not include
-- * any code or documentation that is identified in the RFC as being
-- * copyrighted.
-- *
-- * The original and principal author of md5.h is L. Peter Deutsch
-- * <ghost@aladdin.com>.  Other authors are noted in the change history
-- * that follows (in reverse chronological order):
-- *
-- * 2002-04-13 lpd Removed support for non-ANSI compilers; removed
-- *     references to Ghostscript; clarified derivation from RFC 1321;
-- *     now handles byte order either statically or dynamically.
-- * 1999-11-04 lpd Edited comments slightly for automatic TOC extraction.
-- * 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5);
-- *     added conditionalization for C++ compilation from Martin
-- *     Purschke <purschke@bnl.gov>.
-- * 1999-05-03 lpd Original version.
-- */
--
--#ifndef md5_INCLUDED
--#  define md5_INCLUDED
--
--/*
-- * This package supports both compile-time and run-time determination of CPU
-- * byte order.  If ARCH_IS_BIG_ENDIAN is defined as 0, the code will be
-- * compiled to run only on little-endian CPUs; if ARCH_IS_BIG_ENDIAN is
-- * defined as non-zero, the code will be compiled to run only on big-endian
-- * CPUs; if ARCH_IS_BIG_ENDIAN is not defined, the code will be compiled to
-- * run on either big- or little-endian CPUs, but will run slightly less
-- * efficiently on either one than if ARCH_IS_BIG_ENDIAN is defined.
-- */
--
--typedef unsigned char md5_byte_t; /* 8-bit byte */
--typedef unsigned int md5_word_t; /* 32-bit word */
--
--/* Define the state of the MD5 Algorithm. */
--typedef struct md5_state_s {
--    md5_word_t count[2];        /* message length in bits, lsw first */
--    md5_word_t abcd[4];         /* digest buffer */
--    md5_byte_t buf[64];         /* accumulate block */
--} md5_state_t;
--
--#ifdef __cplusplus
--extern "C"
--{
--#endif
--
--    /* Initialize the algorithm. */
--    void md5_init(md5_state_t *pms);
--
--    /* Append a string to the message. */
--    void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes);
--
--    /* Finish the message and return the digest. */
--    void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
--
--#ifdef __cplusplus
--}  /* end extern "C" */
--#endif
--
--#endif /* md5_INCLUDED */
-diff --git a/src/auth.cpp b/src/auth.cpp
-index e668c90..d66771d 100644
---- a/src/auth.cpp
-+++ b/src/auth.cpp
-@@ -29,7 +29,6 @@
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
--#include "md5.h"
- #include "milenage.h"
- #include "screen.hpp"
- #include "logger.hpp"
-@@ -106,7 +105,7 @@ static int createAuthHeaderSHA256(
- 
- /* This function is from RFC 2617 Section 5 */
- 
--static void hashToHex(md5_byte_t* _b_raw, unsigned char* _h, unsigned short size)
-+static void hashToHex(unsigned char* _b_raw, unsigned char* _h, unsigned short size)
- {
-     unsigned short i;
-     unsigned char j;
-@@ -264,21 +263,22 @@ static int createAuthResponseMD5(
-     const char* cnonce, const char* nc,
-     unsigned char* result)
- {
--    md5_byte_t ha1[MD5_HASH_SIZE], ha2[MD5_HASH_SIZE];
--    md5_byte_t resp[MD5_HASH_SIZE], body[MD5_HASH_SIZE];
-+    unsigned char ha1[MD5_HASH_SIZE], ha2[MD5_HASH_SIZE];
-+    unsigned char resp[MD5_HASH_SIZE], body[MD5_HASH_SIZE];
-     unsigned char body_hex[HASH_HEX_SIZE+1];
-     unsigned char ha1_hex[HASH_HEX_SIZE+1], ha2_hex[HASH_HEX_SIZE+1];
-     char tmp[MAX_HEADER_LEN];
--    md5_state_t Md5Ctx;
-+    unsigned int digest_len = 0;
-+    EVP_MD_CTX* mdctx = EVP_MD_CTX_new();
- 
-     // Load in A1
--    md5_init(&Md5Ctx);
--    md5_append(&Md5Ctx, (md5_byte_t *) user, strlen(user));
--    md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--    md5_append(&Md5Ctx, (md5_byte_t *) realm, strlen(realm));
--    md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--    md5_append(&Md5Ctx, (md5_byte_t *) password, password_len);
--    md5_finish(&Md5Ctx, ha1);
-+    EVP_DigestInit_ex(mdctx, EVP_md5(), nullptr);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) user, strlen(user));
-+    EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) realm, strlen(realm));
-+    EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) password, password_len);
-+    EVP_DigestFinal_ex(mdctx, ha1, &digest_len);
-     hashToHex(&ha1[0], &ha1_hex[0], MD5_HASH_SIZE);
- 
-     if (auth_uri) {
-@@ -288,39 +288,39 @@ static int createAuthResponseMD5(
-     }
-     // If using Auth-Int make a hash of the body - which is NULL for REG
-     if (stristr(authtype, "auth-int") != nullptr) {
--        md5_init(&Md5Ctx);
--        md5_append(&Md5Ctx, (md5_byte_t *) msgbody, strlen(msgbody));
--        md5_finish(&Md5Ctx, body);
-+        EVP_DigestInit_ex(mdctx, EVP_md5(), nullptr);
-+        EVP_DigestUpdate(mdctx, (unsigned char *) msgbody, strlen(msgbody));
-+        EVP_DigestFinal_ex(mdctx, body, &digest_len);
-         hashToHex(&body[0], &body_hex[0], MD5_HASH_SIZE);
-     }
- 
-     // Load in A2
--    md5_init(&Md5Ctx);
--    md5_append(&Md5Ctx, (md5_byte_t *) method, strlen(method));
--    md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--    md5_append(&Md5Ctx, (md5_byte_t *) tmp, strlen(tmp));
-+    EVP_DigestInit_ex(mdctx, EVP_md5(), nullptr);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) method, strlen(method));
-+    EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) tmp, strlen(tmp));
-     if (stristr(authtype, "auth-int") != nullptr) {
--        md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--        md5_append(&Md5Ctx, (md5_byte_t *) &body_hex, HASH_HEX_SIZE);
-+        EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+        EVP_DigestUpdate(mdctx, (unsigned char *) &body_hex, HASH_HEX_SIZE);
-     }
--    md5_finish(&Md5Ctx, ha2);
-+    EVP_DigestFinal_ex(mdctx, ha2, &digest_len);
-     hashToHex(&ha2[0], &ha2_hex[0], MD5_HASH_SIZE);
- 
--    md5_init(&Md5Ctx);
--    md5_append(&Md5Ctx, (md5_byte_t *) &ha1_hex, HASH_HEX_SIZE);
--    md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--    md5_append(&Md5Ctx, (md5_byte_t *) nonce, strlen(nonce));
-+    EVP_DigestInit_ex(mdctx, EVP_md5(), nullptr);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) &ha1_hex, HASH_HEX_SIZE);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) nonce, strlen(nonce));
-     if (cnonce[0] != '\0') {
--        md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--        md5_append(&Md5Ctx, (md5_byte_t *) nc, strlen(nc));
--        md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--        md5_append(&Md5Ctx, (md5_byte_t *) cnonce, strlen(cnonce));
--        md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--        md5_append(&Md5Ctx, (md5_byte_t *) authtype, strlen(authtype));
-+        EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+        EVP_DigestUpdate(mdctx, (unsigned char *) nc, strlen(nc));
-+        EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+        EVP_DigestUpdate(mdctx, (unsigned char *) cnonce, strlen(cnonce));
-+        EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+        EVP_DigestUpdate(mdctx, (unsigned char *) authtype, strlen(authtype));
-     }
--    md5_append(&Md5Ctx, (md5_byte_t *) ":", 1);
--    md5_append(&Md5Ctx, (md5_byte_t *) &ha2_hex, HASH_HEX_SIZE);
--    md5_finish(&Md5Ctx, resp);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) ":", 1);
-+    EVP_DigestUpdate(mdctx, (unsigned char *) &ha2_hex, HASH_HEX_SIZE);
-+    EVP_DigestFinal_ex(mdctx, resp, &digest_len);
-     hashToHex(&resp[0], result, MD5_HASH_SIZE);
- 
-     return 1;
-diff --git a/src/md5.c b/src/md5.c
-deleted file mode 100644
-index f40e87b..0000000
---- a/src/md5.c
-+++ /dev/null
-@@ -1,380 +0,0 @@
--/*
-- * Copyright (C) 1999, 2000, 2002 Aladdin Enterprises.  All rights reserved.
-- *
-- * This software is provided 'as-is', without any express or implied
-- * warranty.  In no event will the authors be held liable for any damages
-- * arising from the use of this software.
-- *
-- * Permission is granted to anyone to use this software for any purpose,
-- * including commercial applications, and to alter it and redistribute it
-- * freely, subject to the following restrictions:
-- *
-- * 1. The origin of this software must not be misrepresented; you must not
-- *    claim that you wrote the original software. If you use this software
-- *    in a product, an acknowledgment in the product documentation would be
-- *    appreciated but is not required.
-- * 2. Altered source versions must be plainly marked as such, and must not be
-- *    misrepresented as being the original software.
-- * 3. This notice may not be removed or altered from any source distribution.
-- *
-- * L. Peter Deutsch
-- * ghost@aladdin.com
-- */
--/* $Id: md5.c,v 1.6 2002/04/13 19:20:28 lpd Exp $ */
--/*
-- * Independent implementation of MD5 (RFC 1321).
-- *
-- * This code implements the MD5 Algorithm defined in RFC 1321, whose
-- * text is available at
-- *       http://www.ietf.org/rfc/rfc1321.txt
-- * The code is derived from the text of the RFC, including the test suite
-- * (section A.5) but excluding the rest of Appendix A.  It does not include
-- * any code or documentation that is identified in the RFC as being
-- * copyrighted.
-- *
-- * The original and principal author of md5.c is L. Peter Deutsch
-- * <ghost@aladdin.com>.  Other authors are noted in the change history
-- * that follows (in reverse chronological order):
-- *
-- * 2002-04-13 lpd Clarified derivation from RFC 1321; now handles byte order
-- *       either statically or dynamically; added missing #include <string.h>
-- *       in library.
-- * 2002-03-11 lpd Corrected argument list for main(), and added int return
-- *       type, in test program and T value program.
-- * 2002-02-21 lpd Added missing #include <stdio.h> in test program.
-- * 2000-07-03 lpd Patched to eliminate warnings about "constant is
-- *       unsigned in ANSI C, signed in traditional"; made test program
-- *       self-checking.
-- * 1999-11-04 lpd Edited comments slightly for automatic TOC extraction.
-- * 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5).
-- * 1999-05-03 lpd Original version.
-- */
--
--#include "md5.h"
--#include <string.h>
--
--#undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
--#ifdef ARCH_IS_BIG_ENDIAN
--#  define BYTE_ORDER (ARCH_IS_BIG_ENDIAN ? 1 : -1)
--#else
--#  define BYTE_ORDER 0
--#endif
--
--#define T_MASK ((md5_word_t)~0)
--#define  T1 /* 0xd76aa478 */ (T_MASK ^ 0x28955b87)
--#define  T2 /* 0xe8c7b756 */ (T_MASK ^ 0x173848a9)
--#define  T3    0x242070db
--#define  T4 /* 0xc1bdceee */ (T_MASK ^ 0x3e423111)
--#define  T5 /* 0xf57c0faf */ (T_MASK ^ 0x0a83f050)
--#define  T6    0x4787c62a
--#define  T7 /* 0xa8304613 */ (T_MASK ^ 0x57cfb9ec)
--#define  T8 /* 0xfd469501 */ (T_MASK ^ 0x02b96afe)
--#define  T9    0x698098d8
--#define T10 /* 0x8b44f7af */ (T_MASK ^ 0x74bb0850)
--#define T11 /* 0xffff5bb1 */ (T_MASK ^ 0x0000a44e)
--#define T12 /* 0x895cd7be */ (T_MASK ^ 0x76a32841)
--#define T13    0x6b901122
--#define T14 /* 0xfd987193 */ (T_MASK ^ 0x02678e6c)
--#define T15 /* 0xa679438e */ (T_MASK ^ 0x5986bc71)
--#define T16    0x49b40821
--#define T17 /* 0xf61e2562 */ (T_MASK ^ 0x09e1da9d)
--#define T18 /* 0xc040b340 */ (T_MASK ^ 0x3fbf4cbf)
--#define T19    0x265e5a51
--#define T20 /* 0xe9b6c7aa */ (T_MASK ^ 0x16493855)
--#define T21 /* 0xd62f105d */ (T_MASK ^ 0x29d0efa2)
--#define T22    0x02441453
--#define T23 /* 0xd8a1e681 */ (T_MASK ^ 0x275e197e)
--#define T24 /* 0xe7d3fbc8 */ (T_MASK ^ 0x182c0437)
--#define T25    0x21e1cde6
--#define T26 /* 0xc33707d6 */ (T_MASK ^ 0x3cc8f829)
--#define T27 /* 0xf4d50d87 */ (T_MASK ^ 0x0b2af278)
--#define T28    0x455a14ed
--#define T29 /* 0xa9e3e905 */ (T_MASK ^ 0x561c16fa)
--#define T30 /* 0xfcefa3f8 */ (T_MASK ^ 0x03105c07)
--#define T31    0x676f02d9
--#define T32 /* 0x8d2a4c8a */ (T_MASK ^ 0x72d5b375)
--#define T33 /* 0xfffa3942 */ (T_MASK ^ 0x0005c6bd)
--#define T34 /* 0x8771f681 */ (T_MASK ^ 0x788e097e)
--#define T35    0x6d9d6122
--#define T36 /* 0xfde5380c */ (T_MASK ^ 0x021ac7f3)
--#define T37 /* 0xa4beea44 */ (T_MASK ^ 0x5b4115bb)
--#define T38    0x4bdecfa9
--#define T39 /* 0xf6bb4b60 */ (T_MASK ^ 0x0944b49f)
--#define T40 /* 0xbebfbc70 */ (T_MASK ^ 0x4140438f)
--#define T41    0x289b7ec6
--#define T42 /* 0xeaa127fa */ (T_MASK ^ 0x155ed805)
--#define T43 /* 0xd4ef3085 */ (T_MASK ^ 0x2b10cf7a)
--#define T44    0x04881d05
--#define T45 /* 0xd9d4d039 */ (T_MASK ^ 0x262b2fc6)
--#define T46 /* 0xe6db99e5 */ (T_MASK ^ 0x1924661a)
--#define T47    0x1fa27cf8
--#define T48 /* 0xc4ac5665 */ (T_MASK ^ 0x3b53a99a)
--#define T49 /* 0xf4292244 */ (T_MASK ^ 0x0bd6ddbb)
--#define T50    0x432aff97
--#define T51 /* 0xab9423a7 */ (T_MASK ^ 0x546bdc58)
--#define T52 /* 0xfc93a039 */ (T_MASK ^ 0x036c5fc6)
--#define T53    0x655b59c3
--#define T54 /* 0x8f0ccc92 */ (T_MASK ^ 0x70f3336d)
--#define T55 /* 0xffeff47d */ (T_MASK ^ 0x00100b82)
--#define T56 /* 0x85845dd1 */ (T_MASK ^ 0x7a7ba22e)
--#define T57    0x6fa87e4f
--#define T58 /* 0xfe2ce6e0 */ (T_MASK ^ 0x01d3191f)
--#define T59 /* 0xa3014314 */ (T_MASK ^ 0x5cfebceb)
--#define T60    0x4e0811a1
--#define T61 /* 0xf7537e82 */ (T_MASK ^ 0x08ac817d)
--#define T62 /* 0xbd3af235 */ (T_MASK ^ 0x42c50dca)
--#define T63    0x2ad7d2bb
--#define T64 /* 0xeb86d391 */ (T_MASK ^ 0x14792c6e)
--
--
--static void
--md5_process(md5_state_t *pms, const md5_byte_t *data /*[64]*/)
--{
--    md5_word_t
--    a = pms->abcd[0], b = pms->abcd[1],
--    c = pms->abcd[2], d = pms->abcd[3];
--    md5_word_t t;
--#if BYTE_ORDER > 0
--    /* Define storage only for big-endian CPUs. */
--    md5_word_t X[16];
--#else
--    /* Define storage for little-endian or both types of CPUs. */
--    md5_word_t xbuf[16];
--    const md5_word_t *X;
--#endif
--
--    {
--#if BYTE_ORDER == 0
--        /*
--         * Determine dynamically whether this is a big-endian or
--         * little-endian machine, since we can use a more efficient
--         * algorithm on the latter.
--         */
--        static const int w = 1;
--
--        if (*((const md5_byte_t *)&w)) /* dynamic little-endian */
--#endif
--#if BYTE_ORDER <= 0             /* little-endian */
--        {
--            /*
--             * On little-endian machines, we can process properly aligned
--             * data without copying it.
--             */
--            if (!((data - (const md5_byte_t *)0) & 3)) {
--                /* data are properly aligned */
--                X = (const md5_word_t *)data;
--            } else {
--                /* not aligned */
--                memcpy(xbuf, data, 64);
--                X = xbuf;
--            }
--        }
--#endif
--#if BYTE_ORDER == 0
--        else                    /* dynamic big-endian */
--#endif
--#if BYTE_ORDER >= 0             /* big-endian */
--        {
--            /*
--             * On big-endian machines, we must arrange the bytes in the
--             * right order.
--             */
--            const md5_byte_t *xp = data;
--            int i;
--
--#  if BYTE_ORDER == 0
--            X = xbuf;           /* (dynamic only) */
--#  else
--#    define xbuf X              /* (static only) */
--#  endif
--            for (i = 0; i < 16; ++i, xp += 4)
--                xbuf[i] = xp[0] + (xp[1] << 8) + (xp[2] << 16) + (xp[3] << 24);
--        }
--#endif
--    }
--
--#define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
--
--    /* Round 1. */
--    /* Let [abcd k s i] denote the operation
--       a = b + ((a + F(b,c,d) + X[k] + T[i]) <<< s). */
--#define F(x, y, z) (((x) & (y)) | (~(x) & (z)))
--#define SET(a, b, c, d, k, s, Ti) \
--    t = a + F(b,c,d) + X[k] + Ti; \
--    a = ROTATE_LEFT(t, s) + b
--    /* Do the following 16 operations. */
--    SET(a, b, c, d,  0,  7,  T1);
--    SET(d, a, b, c,  1, 12,  T2);
--    SET(c, d, a, b,  2, 17,  T3);
--    SET(b, c, d, a,  3, 22,  T4);
--    SET(a, b, c, d,  4,  7,  T5);
--    SET(d, a, b, c,  5, 12,  T6);
--    SET(c, d, a, b,  6, 17,  T7);
--    SET(b, c, d, a,  7, 22,  T8);
--    SET(a, b, c, d,  8,  7,  T9);
--    SET(d, a, b, c,  9, 12, T10);
--    SET(c, d, a, b, 10, 17, T11);
--    SET(b, c, d, a, 11, 22, T12);
--    SET(a, b, c, d, 12,  7, T13);
--    SET(d, a, b, c, 13, 12, T14);
--    SET(c, d, a, b, 14, 17, T15);
--    SET(b, c, d, a, 15, 22, T16);
--#undef SET
--
--    /* Round 2. */
--    /* Let [abcd k s i] denote the operation
--         a = b + ((a + G(b,c,d) + X[k] + T[i]) <<< s). */
--#define G(x, y, z) (((x) & (z)) | ((y) & ~(z)))
--#define SET(a, b, c, d, k, s, Ti) \
--    t = a + G(b,c,d) + X[k] + Ti; \
--    a = ROTATE_LEFT(t, s) + b
--    /* Do the following 16 operations. */
--    SET(a, b, c, d,  1,  5, T17);
--    SET(d, a, b, c,  6,  9, T18);
--    SET(c, d, a, b, 11, 14, T19);
--    SET(b, c, d, a,  0, 20, T20);
--    SET(a, b, c, d,  5,  5, T21);
--    SET(d, a, b, c, 10,  9, T22);
--    SET(c, d, a, b, 15, 14, T23);
--    SET(b, c, d, a,  4, 20, T24);
--    SET(a, b, c, d,  9,  5, T25);
--    SET(d, a, b, c, 14,  9, T26);
--    SET(c, d, a, b,  3, 14, T27);
--    SET(b, c, d, a,  8, 20, T28);
--    SET(a, b, c, d, 13,  5, T29);
--    SET(d, a, b, c,  2,  9, T30);
--    SET(c, d, a, b,  7, 14, T31);
--    SET(b, c, d, a, 12, 20, T32);
--#undef SET
--
--    /* Round 3. */
--    /* Let [abcd k s t] denote the operation
--         a = b + ((a + H(b,c,d) + X[k] + T[i]) <<< s). */
--#define H(x, y, z) ((x) ^ (y) ^ (z))
--#define SET(a, b, c, d, k, s, Ti) \
--    t = a + H(b,c,d) + X[k] + Ti; \
--    a = ROTATE_LEFT(t, s) + b
--    /* Do the following 16 operations. */
--    SET(a, b, c, d,  5,  4, T33);
--    SET(d, a, b, c,  8, 11, T34);
--    SET(c, d, a, b, 11, 16, T35);
--    SET(b, c, d, a, 14, 23, T36);
--    SET(a, b, c, d,  1,  4, T37);
--    SET(d, a, b, c,  4, 11, T38);
--    SET(c, d, a, b,  7, 16, T39);
--    SET(b, c, d, a, 10, 23, T40);
--    SET(a, b, c, d, 13,  4, T41);
--    SET(d, a, b, c,  0, 11, T42);
--    SET(c, d, a, b,  3, 16, T43);
--    SET(b, c, d, a,  6, 23, T44);
--    SET(a, b, c, d,  9,  4, T45);
--    SET(d, a, b, c, 12, 11, T46);
--    SET(c, d, a, b, 15, 16, T47);
--    SET(b, c, d, a,  2, 23, T48);
--#undef SET
--
--    /* Round 4. */
--    /* Let [abcd k s t] denote the operation
--         a = b + ((a + I(b,c,d) + X[k] + T[i]) <<< s). */
--#define I(x, y, z) ((y) ^ ((x) | ~(z)))
--#define SET(a, b, c, d, k, s, Ti) \
--    t = a + I(b,c,d) + X[k] + Ti; \
--    a = ROTATE_LEFT(t, s) + b
--    /* Do the following 16 operations. */
--    SET(a, b, c, d,  0,  6, T49);
--    SET(d, a, b, c,  7, 10, T50);
--    SET(c, d, a, b, 14, 15, T51);
--    SET(b, c, d, a,  5, 21, T52);
--    SET(a, b, c, d, 12,  6, T53);
--    SET(d, a, b, c,  3, 10, T54);
--    SET(c, d, a, b, 10, 15, T55);
--    SET(b, c, d, a,  1, 21, T56);
--    SET(a, b, c, d,  8,  6, T57);
--    SET(d, a, b, c, 15, 10, T58);
--    SET(c, d, a, b,  6, 15, T59);
--    SET(b, c, d, a, 13, 21, T60);
--    SET(a, b, c, d,  4,  6, T61);
--    SET(d, a, b, c, 11, 10, T62);
--    SET(c, d, a, b,  2, 15, T63);
--    SET(b, c, d, a,  9, 21, T64);
--#undef SET
--
--    /* Then perform the following additions. (That is increment each
--       of the four registers by the value it had before this block
--       was started.) */
--    pms->abcd[0] += a;
--    pms->abcd[1] += b;
--    pms->abcd[2] += c;
--    pms->abcd[3] += d;
--}
--
--void
--md5_init(md5_state_t *pms)
--{
--    pms->count[0] = pms->count[1] = 0;
--    pms->abcd[0] = 0x67452301;
--    pms->abcd[1] = /*0xefcdab89*/ T_MASK ^ 0x10325476;
--    pms->abcd[2] = /*0x98badcfe*/ T_MASK ^ 0x67452301;
--    pms->abcd[3] = 0x10325476;
--}
--
--void
--md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes)
--{
--    const md5_byte_t *p = data;
--    int left = nbytes;
--    int offset = (pms->count[0] >> 3) & 63;
--    md5_word_t nbits = (md5_word_t)(nbytes << 3);
--
--    if (nbytes <= 0)
--        return;
--
--    /* Update the message length. */
--    pms->count[1] += nbytes >> 29;
--    pms->count[0] += nbits;
--    if (pms->count[0] < nbits)
--        pms->count[1]++;
--
--    /* Process an initial partial block. */
--    if (offset) {
--        int copy = (offset + nbytes > 64 ? 64 - offset : nbytes);
--
--        memcpy(pms->buf + offset, p, copy);
--        if (offset + copy < 64)
--            return;
--        p += copy;
--        left -= copy;
--        md5_process(pms, pms->buf);
--    }
--
--    /* Process full blocks. */
--    for (; left >= 64; p += 64, left -= 64)
--        md5_process(pms, p);
--
--    /* Process a final partial block. */
--    if (left)
--        memcpy(pms->buf, p, left);
--}
--
--void
--md5_finish(md5_state_t *pms, md5_byte_t digest[16])
--{
--    static const md5_byte_t pad[64] = {
--        0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
--        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
--        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
--        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
--    };
--    md5_byte_t data[8];
--    int i;
--
--    /* Save the length before padding. */
--    for (i = 0; i < 8; ++i)
--        data[i] = (md5_byte_t)(pms->count[i >> 2] >> ((i & 3) << 3));
--    /* Pad to 56 bytes mod 64. */
--    md5_append(pms, pad, ((55 - (pms->count[0] >> 3)) & 63) + 1);
--    /* Append the length. */
--    md5_append(pms, data, 8);
--    for (i = 0; i < 16; ++i)
--        digest[i] = (md5_byte_t)(pms->abcd[i >> 2] >> ((i & 3) << 3));
--}

diff --git a/sipp-0005-Removed-outdated-Rijndael-Vincent-Rijmen-et-al.-impl.patch b/sipp-0005-Removed-outdated-Rijndael-Vincent-Rijmen-et-al.-impl.patch
deleted file mode 100644
index 1ac8d59..0000000
--- a/sipp-0005-Removed-outdated-Rijndael-Vincent-Rijmen-et-al.-impl.patch
+++ /dev/null
@@ -1,689 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Thu, 1 Jan 2026 00:59:00 +0100
-Subject: [PATCH] Removed outdated Rijndael (Vincent Rijmen et al.)
- implementation
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/include/milenage.h b/include/milenage.h
-index 2df7498..61e7434 100644
---- a/include/milenage.h
-+++ b/include/milenage.h
-@@ -33,7 +33,6 @@ void f1star(uint8_t k[16], uint8_t rand[16], uint8_t sqn[6], uint8_t amf[2],
-             uint8_t mac_s[8], uint8_t op[16]);
- void f5star(uint8_t k[16], uint8_t rand[16],
-             uint8_t ak[6], uint8_t op[16]);
--void ComputeOPc(uint8_t op_c[16], uint8_t op[16]);
- 
- #ifdef __cplusplus
- }  /* end extern "C" */
-diff --git a/include/rijndael.h b/include/rijndael.h
-deleted file mode 100644
-index 311eb8e..0000000
---- a/include/rijndael.h
-+++ /dev/null
-@@ -1,26 +0,0 @@
--/*-------------------------------------------------------------------
-- *          Example algorithms f1, f1*, f2, f3, f4, f5, f5*
-- *-------------------------------------------------------------------
-- *
-- *  A sample implementation of the example 3GPP authentication and
-- *  key agreement functions f1, f1*, f2, f3, f4, f5 and f5*.  This is
-- *  a byte-oriented implementation of the functions, and of the block
-- *  cipher kernel function Rijndael.
-- *
-- *  This has been coded for clarity, not necessarily for efficiency.
-- *
-- *  The functions f2, f3, f4 and f5 share the same inputs and have
-- *  been coded together as a single function.  f1, f1* and f5* are
-- *  all coded separately.
-- *
-- *-----------------------------------------------------------------*/
--
--#ifndef RIJNDAEL_H
--#define RIJNDAEL_H
--
--#include <stdint.h>
--
--void RijndaelKeySchedule(uint8_t key[16]);
--void RijndaelEncrypt(uint8_t input[16], uint8_t output[16]);
--
--#endif
-diff --git a/src/milenage.c b/src/milenage.c
-index a9bfd59..f5670b5 100644
---- a/src/milenage.c
-+++ b/src/milenage.c
-@@ -16,13 +16,40 @@
-  *-----------------------------------------------------------------*/
- 
- #include "milenage.h"
--#include "rijndael.h"
- 
- #include <stdint.h>
- 
--/*--------------------------- prototypes --------------------------*/
-+#if defined(USE_OPENSSL)
-+#include <openssl/evp.h>
-+#elif defined(USE_WOLFSSL)
-+#include <wolfssl/options.h>
-+#include <wolfssl/openssl/evp.h>
-+#endif
- 
-+/*--------------------------- helpers -----------------------------*/
- 
-+/*-------------------------------------------------------------------
-+ *  Function to compute OPc from OP and K.  Assumes key schedule has
-+    already been performed.
-+ *-----------------------------------------------------------------*/
-+
-+static void aes128_encrypt_block(const uint8_t key[16], const uint8_t in[16], uint8_t out[16]) {
-+    EVP_CIPHER_CTX* ctx = EVP_CIPHER_CTX_new();
-+    int outlen;
-+    EVP_EncryptInit_ex(ctx, EVP_aes_128_ecb(), NULL, key, NULL);
-+    EVP_CIPHER_CTX_set_padding(ctx, 0);  // No PKCS padding for raw blocks
-+    EVP_EncryptUpdate(ctx, out, &outlen, in, 16);
-+    EVP_CIPHER_CTX_free(ctx);
-+}
-+
-+static void ComputeOPc(const uint8_t k[16], uint8_t op_c[16], uint8_t op[16])
-+{
-+    aes128_encrypt_block(k, op, op_c);
-+    for (uint8_t i = 0; i < 16; i++)
-+        op_c[i] ^= op[i];
-+}
-+
-+/* end of function ComputeOPc */
- 
- /*-------------------------------------------------------------------
-  *                            Algorithm f1
-@@ -44,13 +71,11 @@ void f1(uint8_t k[16], uint8_t rand[16], uint8_t sqn[6], uint8_t amf[2],
-     uint8_t rijndaelInput[16];
-     uint8_t i;
- 
--    RijndaelKeySchedule( k );
--
--    ComputeOPc( op_c, op );
-+    ComputeOPc(k, op_c, op);
- 
-     for (i=0; i<16; i++)
-         rijndaelInput[i] = rand[i] ^ op_c[i];
--    RijndaelEncrypt( rijndaelInput, temp );
-+    aes128_encrypt_block(k, rijndaelInput, temp);
- 
-     for (i=0; i<6; i++) {
-         in1[i]    = sqn[i];
-@@ -72,7 +97,7 @@ void f1(uint8_t k[16], uint8_t rand[16], uint8_t sqn[6], uint8_t amf[2],
-     for (i=0; i<16; i++)
-         rijndaelInput[i] ^= temp[i];
- 
--    RijndaelEncrypt( rijndaelInput, out1 );
-+    aes128_encrypt_block(k, rijndaelInput, out1);
-     for (i=0; i<16; i++)
-         out1[i] ^= op_c[i];
- 
-@@ -82,8 +107,6 @@ void f1(uint8_t k[16], uint8_t rand[16], uint8_t sqn[6], uint8_t amf[2],
-     return;
- } /* end of function f1 */
- 
--
--
- /*-------------------------------------------------------------------
-  *                            Algorithms f2-f5
-  *-------------------------------------------------------------------
-@@ -102,13 +125,11 @@ void f2345(uint8_t k[16], uint8_t rand[16],
-     uint8_t rijndaelInput[16];
-     uint8_t i;
- 
--    RijndaelKeySchedule( k );
--
--    ComputeOPc( op_c, op );
-+    ComputeOPc(k, op_c, op);
- 
-     for (i=0; i<16; i++)
-         rijndaelInput[i] = rand[i] ^ op_c[i];
--    RijndaelEncrypt( rijndaelInput, temp );
-+    aes128_encrypt_block(k, rijndaelInput, temp);
- 
-     /* To obtain output block OUT2: XOR OPc and TEMP,    *
-      * rotate by r2=0, and XOR on the constant c2 (which *
-@@ -118,7 +139,7 @@ void f2345(uint8_t k[16], uint8_t rand[16],
-         rijndaelInput[i] = temp[i] ^ op_c[i];
-     rijndaelInput[15] ^= 1;
- 
--    RijndaelEncrypt( rijndaelInput, out );
-+    aes128_encrypt_block(k, rijndaelInput, out);
-     for (i=0; i<16; i++)
-         out[i] ^= op_c[i];
- 
-@@ -135,7 +156,7 @@ void f2345(uint8_t k[16], uint8_t rand[16],
-         rijndaelInput[(i+12) % 16] = temp[i] ^ op_c[i];
-     rijndaelInput[15] ^= 2;
- 
--    RijndaelEncrypt( rijndaelInput, out );
-+    aes128_encrypt_block(k, rijndaelInput, out);
-     for (i=0; i<16; i++)
-         out[i] ^= op_c[i];
- 
-@@ -150,7 +171,7 @@ void f2345(uint8_t k[16], uint8_t rand[16],
-         rijndaelInput[(i+8) % 16] = temp[i] ^ op_c[i];
-     rijndaelInput[15] ^= 4;
- 
--    RijndaelEncrypt( rijndaelInput, out );
-+    aes128_encrypt_block(k, rijndaelInput, out);
-     for (i=0; i<16; i++)
-         out[i] ^= op_c[i];
- 
-@@ -181,13 +202,11 @@ void f1star(uint8_t k[16], uint8_t rand[16], uint8_t sqn[6], uint8_t amf[2],
-     uint8_t rijndaelInput[16];
-     uint8_t i;
- 
--    RijndaelKeySchedule( k );
--
--    ComputeOPc( op_c, op );
-+    ComputeOPc(k, op_c, op);
- 
-     for (i=0; i<16; i++)
-         rijndaelInput[i] = rand[i] ^ op_c[i];
--    RijndaelEncrypt( rijndaelInput, temp );
-+    aes128_encrypt_block(k, rijndaelInput, temp);
- 
-     for (i=0; i<6; i++) {
-         in1[i]    = sqn[i];
-@@ -209,7 +228,7 @@ void f1star(uint8_t k[16], uint8_t rand[16], uint8_t sqn[6], uint8_t amf[2],
-     for (i=0; i<16; i++)
-         rijndaelInput[i] ^= temp[i];
- 
--    RijndaelEncrypt( rijndaelInput, out1 );
-+    aes128_encrypt_block(k, rijndaelInput, out1);
-     for (i=0; i<16; i++)
-         out1[i] ^= op_c[i];
- 
-@@ -238,13 +257,11 @@ void f5star(uint8_t k[16], uint8_t rand[16],
-     uint8_t rijndaelInput[16];
-     uint8_t i;
- 
--    RijndaelKeySchedule( k );
--
--    ComputeOPc( op_c, op );
-+    ComputeOPc(k, op_c, op);
- 
-     for (i=0; i<16; i++)
-         rijndaelInput[i] = rand[i] ^ op_c[i];
--    RijndaelEncrypt( rijndaelInput, temp );
-+    aes128_encrypt_block(k, rijndaelInput, temp);
- 
-     /* To obtain output block OUT5: XOR OPc and TEMP,         *
-      * rotate by r5=96, and XOR on the constant c5 (which     *
-@@ -254,7 +271,7 @@ void f5star(uint8_t k[16], uint8_t rand[16],
-         rijndaelInput[(i+4) % 16] = temp[i] ^ op_c[i];
-     rijndaelInput[15] ^= 8;
- 
--    RijndaelEncrypt( rijndaelInput, out );
-+    aes128_encrypt_block(k, rijndaelInput, out);
-     for (i=0; i<16; i++)
-         out[i] ^= op_c[i];
- 
-@@ -263,20 +280,3 @@ void f5star(uint8_t k[16], uint8_t rand[16],
- 
-     return;
- } /* end of function f5star */
--
--
--/*-------------------------------------------------------------------
-- *  Function to compute OPc from OP and K.  Assumes key schedule has
--    already been performed.
-- *-----------------------------------------------------------------*/
--
--void ComputeOPc(uint8_t op_c[16], uint8_t op[16])
--{
--    uint8_t i;
--
--    RijndaelEncrypt( op, op_c );
--    for (i=0; i<16; i++)
--        op_c[i] ^= op[i];
--
--    return;
--} /* end of function ComputeOPc */
-diff --git a/src/rijndael.c b/src/rijndael.c
-deleted file mode 100644
-index b6f051d..0000000
---- a/src/rijndael.c
-+++ /dev/null
-@@ -1,437 +0,0 @@
--/*-------------------------------------------------------------------
-- *                      Rijndael Implementation
-- *-------------------------------------------------------------------
-- *
-- *  A sample 32-bit orientated implementation of Rijndael, the
-- *  suggested kernel for the example 3GPP authentication and key
-- *  agreement functions.
-- *
-- *  This implementation draws on the description in section 5.2 of
-- *  the AES proposal and also on the implementation by
-- *  Dr B. R. Gladman <brg@gladman.uk.net> 9th October 2000.
-- *  It uses a number of large (4k) lookup tables to implement the
-- *  algorithm in an efficient manner.
-- *
-- *  Note: in this implementation the State is stored in four 32-bit
-- *  words, one per column of the State, with the top byte of the
-- *  column being the _least_ significant byte of the word.
-- *
--*-----------------------------------------------------------------*/
--
--#include "rijndael.h"
--
--#include <stdint.h>
--
--#define LITTLE_ENDIAN   /* For INTEL architecture */
--
--/* Circular byte rotates of 32 bit values */
--
--#define rot1(x) ((x <<  8) | (x >> 24))
--#define rot2(x) ((x << 16) | (x >> 16))
--#define rot3(x) ((x << 24) | (x >>  8))
--
--/* Extract a byte from a 32-bit uint32_t */
--
--#define byte0(x)    ((uint8_t)(x))
--#define byte1(x)    ((uint8_t)(x >>  8))
--#define byte2(x)    ((uint8_t)(x >> 16))
--#define byte3(x)    ((uint8_t)(x >> 24))
--
--
--/* Put or get a 32 bit uint32_t (v) in machine order from a byte *
-- * address in (x)                                           */
--
--#ifdef  LITTLE_ENDIAN
--
--#define u32_in(x)     (*(uint32_t*)(x))
--#define u32_out(x,y)  (*(uint32_t*)(x) = y)
--
--#else
--
--/* Invert byte order in a 32 bit variable */
--
--__inline uint32_t byte_swap(const uint32_t x)
--{
--    return rot1(x) & 0x00ff00ff | rot3(x) & 0xff00ff00;
--}
--__inline uint32_t u32_in(const uint8_t x[])
--{
--    return byte_swap(*(uint32_t*)x);
--};
--__inline void u32_out(uint8_t x[], const uint32_t v)
--{
--    *(uint32_t*)x = byte_swap(v);
--};
--
--#endif
--
--/*--------------- The lookup tables ----------------------------*/
--
--static uint32_t rnd_con[10] = {
--    0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1B, 0x36
--};
--
--static uint32_t ft_tab[4][256] = {
--    {
--        0xA56363C6,0x847C7CF8,0x997777EE,0x8D7B7BF6,0x0DF2F2FF,0xBD6B6BD6,0xB16F6FDE,0x54C5C591,
--        0x50303060,0x03010102,0xA96767CE,0x7D2B2B56,0x19FEFEE7,0x62D7D7B5,0xE6ABAB4D,0x9A7676EC,
--        0x45CACA8F,0x9D82821F,0x40C9C989,0x877D7DFA,0x15FAFAEF,0xEB5959B2,0xC947478E,0x0BF0F0FB,
--        0xECADAD41,0x67D4D4B3,0xFDA2A25F,0xEAAFAF45,0xBF9C9C23,0xF7A4A453,0x967272E4,0x5BC0C09B,
--        0xC2B7B775,0x1CFDFDE1,0xAE93933D,0x6A26264C,0x5A36366C,0x413F3F7E,0x02F7F7F5,0x4FCCCC83,
--        0x5C343468,0xF4A5A551,0x34E5E5D1,0x08F1F1F9,0x937171E2,0x73D8D8AB,0x53313162,0x3F15152A,
--        0x0C040408,0x52C7C795,0x65232346,0x5EC3C39D,0x28181830,0xA1969637,0x0F05050A,0xB59A9A2F,
--        0x0907070E,0x36121224,0x9B80801B,0x3DE2E2DF,0x26EBEBCD,0x6927274E,0xCDB2B27F,0x9F7575EA,
--        0x1B090912,0x9E83831D,0x742C2C58,0x2E1A1A34,0x2D1B1B36,0xB26E6EDC,0xEE5A5AB4,0xFBA0A05B,
--        0xF65252A4,0x4D3B3B76,0x61D6D6B7,0xCEB3B37D,0x7B292952,0x3EE3E3DD,0x712F2F5E,0x97848413,
--        0xF55353A6,0x68D1D1B9,0000000000,0x2CEDEDC1,0x60202040,0x1FFCFCE3,0xC8B1B179,0xED5B5BB6,
--        0xBE6A6AD4,0x46CBCB8D,0xD9BEBE67,0x4B393972,0xDE4A4A94,0xD44C4C98,0xE85858B0,0x4ACFCF85,
--        0x6BD0D0BB,0x2AEFEFC5,0xE5AAAA4F,0x16FBFBED,0xC5434386,0xD74D4D9A,0x55333366,0x94858511,
--        0xCF45458A,0x10F9F9E9,0x06020204,0x817F7FFE,0xF05050A0,0x443C3C78,0xBA9F9F25,0xE3A8A84B,
--        0xF35151A2,0xFEA3A35D,0xC0404080,0x8A8F8F05,0xAD92923F,0xBC9D9D21,0x48383870,0x04F5F5F1,
--        0xDFBCBC63,0xC1B6B677,0x75DADAAF,0x63212142,0x30101020,0x1AFFFFE5,0x0EF3F3FD,0x6DD2D2BF,
--        0x4CCDCD81,0x140C0C18,0x35131326,0x2FECECC3,0xE15F5FBE,0xA2979735,0xCC444488,0x3917172E,
--        0x57C4C493,0xF2A7A755,0x827E7EFC,0x473D3D7A,0xAC6464C8,0xE75D5DBA,0x2B191932,0x957373E6,
--        0xA06060C0,0x98818119,0xD14F4F9E,0x7FDCDCA3,0x66222244,0x7E2A2A54,0xAB90903B,0x8388880B,
--        0xCA46468C,0x29EEEEC7,0xD3B8B86B,0x3C141428,0x79DEDEA7,0xE25E5EBC,0x1D0B0B16,0x76DBDBAD,
--        0x3BE0E0DB,0x56323264,0x4E3A3A74,0x1E0A0A14,0xDB494992,0x0A06060C,0x6C242448,0xE45C5CB8,
--        0x5DC2C29F,0x6ED3D3BD,0xEFACAC43,0xA66262C4,0xA8919139,0xA4959531,0x37E4E4D3,0x8B7979F2,
--        0x32E7E7D5,0x43C8C88B,0x5937376E,0xB76D6DDA,0x8C8D8D01,0x64D5D5B1,0xD24E4E9C,0xE0A9A949,
--        0xB46C6CD8,0xFA5656AC,0x07F4F4F3,0x25EAEACF,0xAF6565CA,0x8E7A7AF4,0xE9AEAE47,0x18080810,
--        0xD5BABA6F,0x887878F0,0x6F25254A,0x722E2E5C,0x241C1C38,0xF1A6A657,0xC7B4B473,0x51C6C697,
--        0x23E8E8CB,0x7CDDDDA1,0x9C7474E8,0x211F1F3E,0xDD4B4B96,0xDCBDBD61,0x868B8B0D,0x858A8A0F,
--        0x907070E0,0x423E3E7C,0xC4B5B571,0xAA6666CC,0xD8484890,0x05030306,0x01F6F6F7,0x120E0E1C,
--        0xA36161C2,0x5F35356A,0xF95757AE,0xD0B9B969,0x91868617,0x58C1C199,0x271D1D3A,0xB99E9E27,
--        0x38E1E1D9,0x13F8F8EB,0xB398982B,0x33111122,0xBB6969D2,0x70D9D9A9,0x898E8E07,0xA7949433,
--        0xB69B9B2D,0x221E1E3C,0x92878715,0x20E9E9C9,0x49CECE87,0xFF5555AA,0x78282850,0x7ADFDFA5,
--        0x8F8C8C03,0xF8A1A159,0x80898909,0x170D0D1A,0xDABFBF65,0x31E6E6D7,0xC6424284,0xB86868D0,
--        0xC3414182,0xB0999929,0x772D2D5A,0x110F0F1E,0xCBB0B07B,0xFC5454A8,0xD6BBBB6D,0x3A16162C
--    },
--    {
--        0x6363C6A5,0x7C7CF884,0x7777EE99,0x7B7BF68D,0xF2F2FF0D,0x6B6BD6BD,0x6F6FDEB1,0xC5C59154,
--        0x30306050,0x01010203,0x6767CEA9,0x2B2B567D,0xFEFEE719,0xD7D7B562,0xABAB4DE6,0x7676EC9A,
--        0xCACA8F45,0x82821F9D,0xC9C98940,0x7D7DFA87,0xFAFAEF15,0x5959B2EB,0x47478EC9,0xF0F0FB0B,
--        0xADAD41EC,0xD4D4B367,0xA2A25FFD,0xAFAF45EA,0x9C9C23BF,0xA4A453F7,0x7272E496,0xC0C09B5B,
--        0xB7B775C2,0xFDFDE11C,0x93933DAE,0x26264C6A,0x36366C5A,0x3F3F7E41,0xF7F7F502,0xCCCC834F,
--        0x3434685C,0xA5A551F4,0xE5E5D134,0xF1F1F908,0x7171E293,0xD8D8AB73,0x31316253,0x15152A3F,
--        0x0404080C,0xC7C79552,0x23234665,0xC3C39D5E,0x18183028,0x969637A1,0x05050A0F,0x9A9A2FB5,
--        0x07070E09,0x12122436,0x80801B9B,0xE2E2DF3D,0xEBEBCD26,0x27274E69,0xB2B27FCD,0x7575EA9F,
--        0x0909121B,0x83831D9E,0x2C2C5874,0x1A1A342E,0x1B1B362D,0x6E6EDCB2,0x5A5AB4EE,0xA0A05BFB,
--        0x5252A4F6,0x3B3B764D,0xD6D6B761,0xB3B37DCE,0x2929527B,0xE3E3DD3E,0x2F2F5E71,0x84841397,
--        0x5353A6F5,0xD1D1B968,0000000000,0xEDEDC12C,0x20204060,0xFCFCE31F,0xB1B179C8,0x5B5BB6ED,
--        0x6A6AD4BE,0xCBCB8D46,0xBEBE67D9,0x3939724B,0x4A4A94DE,0x4C4C98D4,0x5858B0E8,0xCFCF854A,
--        0xD0D0BB6B,0xEFEFC52A,0xAAAA4FE5,0xFBFBED16,0x434386C5,0x4D4D9AD7,0x33336655,0x85851194,
--        0x45458ACF,0xF9F9E910,0x02020406,0x7F7FFE81,0x5050A0F0,0x3C3C7844,0x9F9F25BA,0xA8A84BE3,
--        0x5151A2F3,0xA3A35DFE,0x404080C0,0x8F8F058A,0x92923FAD,0x9D9D21BC,0x38387048,0xF5F5F104,
--        0xBCBC63DF,0xB6B677C1,0xDADAAF75,0x21214263,0x10102030,0xFFFFE51A,0xF3F3FD0E,0xD2D2BF6D,
--        0xCDCD814C,0x0C0C1814,0x13132635,0xECECC32F,0x5F5FBEE1,0x979735A2,0x444488CC,0x17172E39,
--        0xC4C49357,0xA7A755F2,0x7E7EFC82,0x3D3D7A47,0x6464C8AC,0x5D5DBAE7,0x1919322B,0x7373E695,
--        0x6060C0A0,0x81811998,0x4F4F9ED1,0xDCDCA37F,0x22224466,0x2A2A547E,0x90903BAB,0x88880B83,
--        0x46468CCA,0xEEEEC729,0xB8B86BD3,0x1414283C,0xDEDEA779,0x5E5EBCE2,0x0B0B161D,0xDBDBAD76,
--        0xE0E0DB3B,0x32326456,0x3A3A744E,0x0A0A141E,0x494992DB,0x06060C0A,0x2424486C,0x5C5CB8E4,
--        0xC2C29F5D,0xD3D3BD6E,0xACAC43EF,0x6262C4A6,0x919139A8,0x959531A4,0xE4E4D337,0x7979F28B,
--        0xE7E7D532,0xC8C88B43,0x37376E59,0x6D6DDAB7,0x8D8D018C,0xD5D5B164,0x4E4E9CD2,0xA9A949E0,
--        0x6C6CD8B4,0x5656ACFA,0xF4F4F307,0xEAEACF25,0x6565CAAF,0x7A7AF48E,0xAEAE47E9,0x08081018,
--        0xBABA6FD5,0x7878F088,0x25254A6F,0x2E2E5C72,0x1C1C3824,0xA6A657F1,0xB4B473C7,0xC6C69751,
--        0xE8E8CB23,0xDDDDA17C,0x7474E89C,0x1F1F3E21,0x4B4B96DD,0xBDBD61DC,0x8B8B0D86,0x8A8A0F85,
--        0x7070E090,0x3E3E7C42,0xB5B571C4,0x6666CCAA,0x484890D8,0x03030605,0xF6F6F701,0x0E0E1C12,
--        0x6161C2A3,0x35356A5F,0x5757AEF9,0xB9B969D0,0x86861791,0xC1C19958,0x1D1D3A27,0x9E9E27B9,
--        0xE1E1D938,0xF8F8EB13,0x98982BB3,0x11112233,0x6969D2BB,0xD9D9A970,0x8E8E0789,0x949433A7,
--        0x9B9B2DB6,0x1E1E3C22,0x87871592,0xE9E9C920,0xCECE8749,0x5555AAFF,0x28285078,0xDFDFA57A,
--        0x8C8C038F,0xA1A159F8,0x89890980,0x0D0D1A17,0xBFBF65DA,0xE6E6D731,0x424284C6,0x6868D0B8,
--        0x414182C3,0x999929B0,0x2D2D5A77,0x0F0F1E11,0xB0B07BCB,0x5454A8FC,0xBBBB6DD6,0x16162C3A
--    },
--    {
--        0x63C6A563,0x7CF8847C,0x77EE9977,0x7BF68D7B,0xF2FF0DF2,0x6BD6BD6B,0x6FDEB16F,0xC59154C5,
--        0x30605030,0x01020301,0x67CEA967,0x2B567D2B,0xFEE719FE,0xD7B562D7,0xAB4DE6AB,0x76EC9A76,
--        0xCA8F45CA,0x821F9D82,0xC98940C9,0x7DFA877D,0xFAEF15FA,0x59B2EB59,0x478EC947,0xF0FB0BF0,
--        0xAD41ECAD,0xD4B367D4,0xA25FFDA2,0xAF45EAAF,0x9C23BF9C,0xA453F7A4,0x72E49672,0xC09B5BC0,
--        0xB775C2B7,0xFDE11CFD,0x933DAE93,0x264C6A26,0x366C5A36,0x3F7E413F,0xF7F502F7,0xCC834FCC,
--        0x34685C34,0xA551F4A5,0xE5D134E5,0xF1F908F1,0x71E29371,0xD8AB73D8,0x31625331,0x152A3F15,
--        0x04080C04,0xC79552C7,0x23466523,0xC39D5EC3,0x18302818,0x9637A196,0x050A0F05,0x9A2FB59A,
--        0x070E0907,0x12243612,0x801B9B80,0xE2DF3DE2,0xEBCD26EB,0x274E6927,0xB27FCDB2,0x75EA9F75,
--        0x09121B09,0x831D9E83,0x2C58742C,0x1A342E1A,0x1B362D1B,0x6EDCB26E,0x5AB4EE5A,0xA05BFBA0,
--        0x52A4F652,0x3B764D3B,0xD6B761D6,0xB37DCEB3,0x29527B29,0xE3DD3EE3,0x2F5E712F,0x84139784,
--        0x53A6F553,0xD1B968D1,0000000000,0xEDC12CED,0x20406020,0xFCE31FFC,0xB179C8B1,0x5BB6ED5B,
--        0x6AD4BE6A,0xCB8D46CB,0xBE67D9BE,0x39724B39,0x4A94DE4A,0x4C98D44C,0x58B0E858,0xCF854ACF,
--        0xD0BB6BD0,0xEFC52AEF,0xAA4FE5AA,0xFBED16FB,0x4386C543,0x4D9AD74D,0x33665533,0x85119485,
--        0x458ACF45,0xF9E910F9,0x02040602,0x7FFE817F,0x50A0F050,0x3C78443C,0x9F25BA9F,0xA84BE3A8,
--        0x51A2F351,0xA35DFEA3,0x4080C040,0x8F058A8F,0x923FAD92,0x9D21BC9D,0x38704838,0xF5F104F5,
--        0xBC63DFBC,0xB677C1B6,0xDAAF75DA,0x21426321,0x10203010,0xFFE51AFF,0xF3FD0EF3,0xD2BF6DD2,
--        0xCD814CCD,0x0C18140C,0x13263513,0xECC32FEC,0x5FBEE15F,0x9735A297,0x4488CC44,0x172E3917,
--        0xC49357C4,0xA755F2A7,0x7EFC827E,0x3D7A473D,0x64C8AC64,0x5DBAE75D,0x19322B19,0x73E69573,
--        0x60C0A060,0x81199881,0x4F9ED14F,0xDCA37FDC,0x22446622,0x2A547E2A,0x903BAB90,0x880B8388,
--        0x468CCA46,0xEEC729EE,0xB86BD3B8,0x14283C14,0xDEA779DE,0x5EBCE25E,0x0B161D0B,0xDBAD76DB,
--        0xE0DB3BE0,0x32645632,0x3A744E3A,0x0A141E0A,0x4992DB49,0x060C0A06,0x24486C24,0x5CB8E45C,
--        0xC29F5DC2,0xD3BD6ED3,0xAC43EFAC,0x62C4A662,0x9139A891,0x9531A495,0xE4D337E4,0x79F28B79,
--        0xE7D532E7,0xC88B43C8,0x376E5937,0x6DDAB76D,0x8D018C8D,0xD5B164D5,0x4E9CD24E,0xA949E0A9,
--        0x6CD8B46C,0x56ACFA56,0xF4F307F4,0xEACF25EA,0x65CAAF65,0x7AF48E7A,0xAE47E9AE,0x08101808,
--        0xBA6FD5BA,0x78F08878,0x254A6F25,0x2E5C722E,0x1C38241C,0xA657F1A6,0xB473C7B4,0xC69751C6,
--        0xE8CB23E8,0xDDA17CDD,0x74E89C74,0x1F3E211F,0x4B96DD4B,0xBD61DCBD,0x8B0D868B,0x8A0F858A,
--        0x70E09070,0x3E7C423E,0xB571C4B5,0x66CCAA66,0x4890D848,0x03060503,0xF6F701F6,0x0E1C120E,
--        0x61C2A361,0x356A5F35,0x57AEF957,0xB969D0B9,0x86179186,0xC19958C1,0x1D3A271D,0x9E27B99E,
--        0xE1D938E1,0xF8EB13F8,0x982BB398,0x11223311,0x69D2BB69,0xD9A970D9,0x8E07898E,0x9433A794,
--        0x9B2DB69B,0x1E3C221E,0x87159287,0xE9C920E9,0xCE8749CE,0x55AAFF55,0x28507828,0xDFA57ADF,
--        0x8C038F8C,0xA159F8A1,0x89098089,0x0D1A170D,0xBF65DABF,0xE6D731E6,0x4284C642,0x68D0B868,
--        0x4182C341,0x9929B099,0x2D5A772D,0x0F1E110F,0xB07BCBB0,0x54A8FC54,0xBB6DD6BB,0x162C3A16
--    },
--    {
--        0xC6A56363,0xF8847C7C,0xEE997777,0xF68D7B7B,0xFF0DF2F2,0xD6BD6B6B,0xDEB16F6F,0x9154C5C5,
--        0x60503030,0x02030101,0xCEA96767,0x567D2B2B,0xE719FEFE,0xB562D7D7,0x4DE6ABAB,0xEC9A7676,
--        0x8F45CACA,0x1F9D8282,0x8940C9C9,0xFA877D7D,0xEF15FAFA,0xB2EB5959,0x8EC94747,0xFB0BF0F0,
--        0x41ECADAD,0xB367D4D4,0x5FFDA2A2,0x45EAAFAF,0x23BF9C9C,0x53F7A4A4,0xE4967272,0x9B5BC0C0,
--        0x75C2B7B7,0xE11CFDFD,0x3DAE9393,0x4C6A2626,0x6C5A3636,0x7E413F3F,0xF502F7F7,0x834FCCCC,
--        0x685C3434,0x51F4A5A5,0xD134E5E5,0xF908F1F1,0xE2937171,0xAB73D8D8,0x62533131,0x2A3F1515,
--        0x080C0404,0x9552C7C7,0x46652323,0x9D5EC3C3,0x30281818,0x37A19696,0x0A0F0505,0x2FB59A9A,
--        0x0E090707,0x24361212,0x1B9B8080,0xDF3DE2E2,0xCD26EBEB,0x4E692727,0x7FCDB2B2,0xEA9F7575,
--        0x121B0909,0x1D9E8383,0x58742C2C,0x342E1A1A,0x362D1B1B,0xDCB26E6E,0xB4EE5A5A,0x5BFBA0A0,
--        0xA4F65252,0x764D3B3B,0xB761D6D6,0x7DCEB3B3,0x527B2929,0xDD3EE3E3,0x5E712F2F,0x13978484,
--        0xA6F55353,0xB968D1D1,0000000000,0xC12CEDED,0x40602020,0xE31FFCFC,0x79C8B1B1,0xB6ED5B5B,
--        0xD4BE6A6A,0x8D46CBCB,0x67D9BEBE,0x724B3939,0x94DE4A4A,0x98D44C4C,0xB0E85858,0x854ACFCF,
--        0xBB6BD0D0,0xC52AEFEF,0x4FE5AAAA,0xED16FBFB,0x86C54343,0x9AD74D4D,0x66553333,0x11948585,
--        0x8ACF4545,0xE910F9F9,0x04060202,0xFE817F7F,0xA0F05050,0x78443C3C,0x25BA9F9F,0x4BE3A8A8,
--        0xA2F35151,0x5DFEA3A3,0x80C04040,0x058A8F8F,0x3FAD9292,0x21BC9D9D,0x70483838,0xF104F5F5,
--        0x63DFBCBC,0x77C1B6B6,0xAF75DADA,0x42632121,0x20301010,0xE51AFFFF,0xFD0EF3F3,0xBF6DD2D2,
--        0x814CCDCD,0x18140C0C,0x26351313,0xC32FECEC,0xBEE15F5F,0x35A29797,0x88CC4444,0x2E391717,
--        0x9357C4C4,0x55F2A7A7,0xFC827E7E,0x7A473D3D,0xC8AC6464,0xBAE75D5D,0x322B1919,0xE6957373,
--        0xC0A06060,0x19988181,0x9ED14F4F,0xA37FDCDC,0x44662222,0x547E2A2A,0x3BAB9090,0x0B838888,
--        0x8CCA4646,0xC729EEEE,0x6BD3B8B8,0x283C1414,0xA779DEDE,0xBCE25E5E,0x161D0B0B,0xAD76DBDB,
--        0xDB3BE0E0,0x64563232,0x744E3A3A,0x141E0A0A,0x92DB4949,0x0C0A0606,0x486C2424,0xB8E45C5C,
--        0x9F5DC2C2,0xBD6ED3D3,0x43EFACAC,0xC4A66262,0x39A89191,0x31A49595,0xD337E4E4,0xF28B7979,
--        0xD532E7E7,0x8B43C8C8,0x6E593737,0xDAB76D6D,0x018C8D8D,0xB164D5D5,0x9CD24E4E,0x49E0A9A9,
--        0xD8B46C6C,0xACFA5656,0xF307F4F4,0xCF25EAEA,0xCAAF6565,0xF48E7A7A,0x47E9AEAE,0x10180808,
--        0x6FD5BABA,0xF0887878,0x4A6F2525,0x5C722E2E,0x38241C1C,0x57F1A6A6,0x73C7B4B4,0x9751C6C6,
--        0xCB23E8E8,0xA17CDDDD,0xE89C7474,0x3E211F1F,0x96DD4B4B,0x61DCBDBD,0x0D868B8B,0x0F858A8A,
--        0xE0907070,0x7C423E3E,0x71C4B5B5,0xCCAA6666,0x90D84848,0x06050303,0xF701F6F6,0x1C120E0E,
--        0xC2A36161,0x6A5F3535,0xAEF95757,0x69D0B9B9,0x17918686,0x9958C1C1,0x3A271D1D,0x27B99E9E,
--        0xD938E1E1,0xEB13F8F8,0x2BB39898,0x22331111,0xD2BB6969,0xA970D9D9,0x07898E8E,0x33A79494,
--        0x2DB69B9B,0x3C221E1E,0x15928787,0xC920E9E9,0x8749CECE,0xAAFF5555,0x50782828,0xA57ADFDF,
--        0x038F8C8C,0x59F8A1A1,0x09808989,0x1A170D0D,0x65DABFBF,0xD731E6E6,0x84C64242,0xD0B86868,
--        0x82C34141,0x29B09999,0x5A772D2D,0x1E110F0F,0x7BCBB0B0,0xA8FC5454,0x6DD6BBBB,0x2C3A1616
--    }
--};
--
--static uint32_t fl_tab[4][256] = {
--    {
--        0x00000063,0x0000007C,0x00000077,0x0000007B,0x000000F2,0x0000006B,0x0000006F,0x000000C5,
--        0x00000030,0x00000001,0x00000067,0x0000002B,0x000000FE,0x000000D7,0x000000AB,0x00000076,
--        0x000000CA,0x00000082,0x000000C9,0x0000007D,0x000000FA,0x00000059,0x00000047,0x000000F0,
--        0x000000AD,0x000000D4,0x000000A2,0x000000AF,0x0000009C,0x000000A4,0x00000072,0x000000C0,
--        0x000000B7,0x000000FD,0x00000093,0x00000026,0x00000036,0x0000003F,0x000000F7,0x000000CC,
--        0x00000034,0x000000A5,0x000000E5,0x000000F1,0x00000071,0x000000D8,0x00000031,0x00000015,
--        0x00000004,0x000000C7,0x00000023,0x000000C3,0x00000018,0x00000096,0x00000005,0x0000009A,
--        0x00000007,0x00000012,0x00000080,0x000000E2,0x000000EB,0x00000027,0x000000B2,0x00000075,
--        0x00000009,0x00000083,0x0000002C,0x0000001A,0x0000001B,0x0000006E,0x0000005A,0x000000A0,
--        0x00000052,0x0000003B,0x000000D6,0x000000B3,0x00000029,0x000000E3,0x0000002F,0x00000084,
--        0x00000053,0x000000D1,0x00000000,0x000000ED,0x00000020,0x000000FC,0x000000B1,0x0000005B,
--        0x0000006A,0x000000CB,0x000000BE,0x00000039,0x0000004A,0x0000004C,0x00000058,0x000000CF,
--        0x000000D0,0x000000EF,0x000000AA,0x000000FB,0x00000043,0x0000004D,0x00000033,0x00000085,
--        0x00000045,0x000000F9,0x00000002,0x0000007F,0x00000050,0x0000003C,0x0000009F,0x000000A8,
--        0x00000051,0x000000A3,0x00000040,0x0000008F,0x00000092,0x0000009D,0x00000038,0x000000F5,
--        0x000000BC,0x000000B6,0x000000DA,0x00000021,0x00000010,0x000000FF,0x000000F3,0x000000D2,
--        0x000000CD,0x0000000C,0x00000013,0x000000EC,0x0000005F,0x00000097,0x00000044,0x00000017,
--        0x000000C4,0x000000A7,0x0000007E,0x0000003D,0x00000064,0x0000005D,0x00000019,0x00000073,
--        0x00000060,0x00000081,0x0000004F,0x000000DC,0x00000022,0x0000002A,0x00000090,0x00000088,
--        0x00000046,0x000000EE,0x000000B8,0x00000014,0x000000DE,0x0000005E,0x0000000B,0x000000DB,
--        0x000000E0,0x00000032,0x0000003A,0x0000000A,0x00000049,0x00000006,0x00000024,0x0000005C,
--        0x000000C2,0x000000D3,0x000000AC,0x00000062,0x00000091,0x00000095,0x000000E4,0x00000079,
--        0x000000E7,0x000000C8,0x00000037,0x0000006D,0x0000008D,0x000000D5,0x0000004E,0x000000A9,
--        0x0000006C,0x00000056,0x000000F4,0x000000EA,0x00000065,0x0000007A,0x000000AE,0x00000008,
--        0x000000BA,0x00000078,0x00000025,0x0000002E,0x0000001C,0x000000A6,0x000000B4,0x000000C6,
--        0x000000E8,0x000000DD,0x00000074,0x0000001F,0x0000004B,0x000000BD,0x0000008B,0x0000008A,
--        0x00000070,0x0000003E,0x000000B5,0x00000066,0x00000048,0x00000003,0x000000F6,0x0000000E,
--        0x00000061,0x00000035,0x00000057,0x000000B9,0x00000086,0x000000C1,0x0000001D,0x0000009E,
--        0x000000E1,0x000000F8,0x00000098,0x00000011,0x00000069,0x000000D9,0x0000008E,0x00000094,
--        0x0000009B,0x0000001E,0x00000087,0x000000E9,0x000000CE,0x00000055,0x00000028,0x000000DF,
--        0x0000008C,0x000000A1,0x00000089,0x0000000D,0x000000BF,0x000000E6,0x00000042,0x00000068,
--        0x00000041,0x00000099,0x0000002D,0x0000000F,0x000000B0,0x00000054,0x000000BB,0x00000016
--    },
--    {
--        0x00006300,0x00007C00,0x00007700,0x00007B00,0x0000F200,0x00006B00,0x00006F00,0x0000C500,
--        0x00003000,0x00000100,0x00006700,0x00002B00,0x0000FE00,0x0000D700,0x0000AB00,0x00007600,
--        0x0000CA00,0x00008200,0x0000C900,0x00007D00,0x0000FA00,0x00005900,0x00004700,0x0000F000,
--        0x0000AD00,0x0000D400,0x0000A200,0x0000AF00,0x00009C00,0x0000A400,0x00007200,0x0000C000,
--        0x0000B700,0x0000FD00,0x00009300,0x00002600,0x00003600,0x00003F00,0x0000F700,0x0000CC00,
--        0x00003400,0x0000A500,0x0000E500,0x0000F100,0x00007100,0x0000D800,0x00003100,0x00001500,
--        0x00000400,0x0000C700,0x00002300,0x0000C300,0x00001800,0x00009600,0x00000500,0x00009A00,
--        0x00000700,0x00001200,0x00008000,0x0000E200,0x0000EB00,0x00002700,0x0000B200,0x00007500,
--        0x00000900,0x00008300,0x00002C00,0x00001A00,0x00001B00,0x00006E00,0x00005A00,0x0000A000,
--        0x00005200,0x00003B00,0x0000D600,0x0000B300,0x00002900,0x0000E300,0x00002F00,0x00008400,
--        0x00005300,0x0000D100,0000000000,0x0000ED00,0x00002000,0x0000FC00,0x0000B100,0x00005B00,
--        0x00006A00,0x0000CB00,0x0000BE00,0x00003900,0x00004A00,0x00004C00,0x00005800,0x0000CF00,
--        0x0000D000,0x0000EF00,0x0000AA00,0x0000FB00,0x00004300,0x00004D00,0x00003300,0x00008500,
--        0x00004500,0x0000F900,0x00000200,0x00007F00,0x00005000,0x00003C00,0x00009F00,0x0000A800,
--        0x00005100,0x0000A300,0x00004000,0x00008F00,0x00009200,0x00009D00,0x00003800,0x0000F500,
--        0x0000BC00,0x0000B600,0x0000DA00,0x00002100,0x00001000,0x0000FF00,0x0000F300,0x0000D200,
--        0x0000CD00,0x00000C00,0x00001300,0x0000EC00,0x00005F00,0x00009700,0x00004400,0x00001700,
--        0x0000C400,0x0000A700,0x00007E00,0x00003D00,0x00006400,0x00005D00,0x00001900,0x00007300,
--        0x00006000,0x00008100,0x00004F00,0x0000DC00,0x00002200,0x00002A00,0x00009000,0x00008800,
--        0x00004600,0x0000EE00,0x0000B800,0x00001400,0x0000DE00,0x00005E00,0x00000B00,0x0000DB00,
--        0x0000E000,0x00003200,0x00003A00,0x00000A00,0x00004900,0x00000600,0x00002400,0x00005C00,
--        0x0000C200,0x0000D300,0x0000AC00,0x00006200,0x00009100,0x00009500,0x0000E400,0x00007900,
--        0x0000E700,0x0000C800,0x00003700,0x00006D00,0x00008D00,0x0000D500,0x00004E00,0x0000A900,
--        0x00006C00,0x00005600,0x0000F400,0x0000EA00,0x00006500,0x00007A00,0x0000AE00,0x00000800,
--        0x0000BA00,0x00007800,0x00002500,0x00002E00,0x00001C00,0x0000A600,0x0000B400,0x0000C600,
--        0x0000E800,0x0000DD00,0x00007400,0x00001F00,0x00004B00,0x0000BD00,0x00008B00,0x00008A00,
--        0x00007000,0x00003E00,0x0000B500,0x00006600,0x00004800,0x00000300,0x0000F600,0x00000E00,
--        0x00006100,0x00003500,0x00005700,0x0000B900,0x00008600,0x0000C100,0x00001D00,0x00009E00,
--        0x0000E100,0x0000F800,0x00009800,0x00001100,0x00006900,0x0000D900,0x00008E00,0x00009400,
--        0x00009B00,0x00001E00,0x00008700,0x0000E900,0x0000CE00,0x00005500,0x00002800,0x0000DF00,
--        0x00008C00,0x0000A100,0x00008900,0x00000D00,0x0000BF00,0x0000E600,0x00004200,0x00006800,
--        0x00004100,0x00009900,0x00002D00,0x00000F00,0x0000B000,0x00005400,0x0000BB00,0x00001600
--    },
--    {
--        0x00630000,0x007C0000,0x00770000,0x007B0000,0x00F20000,0x006B0000,0x006F0000,0x00C50000,
--        0x00300000,0x00010000,0x00670000,0x002B0000,0x00FE0000,0x00D70000,0x00AB0000,0x00760000,
--        0x00CA0000,0x00820000,0x00C90000,0x007D0000,0x00FA0000,0x00590000,0x00470000,0x00F00000,
--        0x00AD0000,0x00D40000,0x00A20000,0x00AF0000,0x009C0000,0x00A40000,0x00720000,0x00C00000,
--        0x00B70000,0x00FD0000,0x00930000,0x00260000,0x00360000,0x003F0000,0x00F70000,0x00CC0000,
--        0x00340000,0x00A50000,0x00E50000,0x00F10000,0x00710000,0x00D80000,0x00310000,0x00150000,
--        0x00040000,0x00C70000,0x00230000,0x00C30000,0x00180000,0x00960000,0x00050000,0x009A0000,
--        0x00070000,0x00120000,0x00800000,0x00E20000,0x00EB0000,0x00270000,0x00B20000,0x00750000,
--        0x00090000,0x00830000,0x002C0000,0x001A0000,0x001B0000,0x006E0000,0x005A0000,0x00A00000,
--        0x00520000,0x003B0000,0x00D60000,0x00B30000,0x00290000,0x00E30000,0x002F0000,0x00840000,
--        0x00530000,0x00D10000,0000000000,0x00ED0000,0x00200000,0x00FC0000,0x00B10000,0x005B0000,
--        0x006A0000,0x00CB0000,0x00BE0000,0x00390000,0x004A0000,0x004C0000,0x00580000,0x00CF0000,
--        0x00D00000,0x00EF0000,0x00AA0000,0x00FB0000,0x00430000,0x004D0000,0x00330000,0x00850000,
--        0x00450000,0x00F90000,0x00020000,0x007F0000,0x00500000,0x003C0000,0x009F0000,0x00A80000,
--        0x00510000,0x00A30000,0x00400000,0x008F0000,0x00920000,0x009D0000,0x00380000,0x00F50000,
--        0x00BC0000,0x00B60000,0x00DA0000,0x00210000,0x00100000,0x00FF0000,0x00F30000,0x00D20000,
--        0x00CD0000,0x000C0000,0x00130000,0x00EC0000,0x005F0000,0x00970000,0x00440000,0x00170000,
--        0x00C40000,0x00A70000,0x007E0000,0x003D0000,0x00640000,0x005D0000,0x00190000,0x00730000,
--        0x00600000,0x00810000,0x004F0000,0x00DC0000,0x00220000,0x002A0000,0x00900000,0x00880000,
--        0x00460000,0x00EE0000,0x00B80000,0x00140000,0x00DE0000,0x005E0000,0x000B0000,0x00DB0000,
--        0x00E00000,0x00320000,0x003A0000,0x000A0000,0x00490000,0x00060000,0x00240000,0x005C0000,
--        0x00C20000,0x00D30000,0x00AC0000,0x00620000,0x00910000,0x00950000,0x00E40000,0x00790000,
--        0x00E70000,0x00C80000,0x00370000,0x006D0000,0x008D0000,0x00D50000,0x004E0000,0x00A90000,
--        0x006C0000,0x00560000,0x00F40000,0x00EA0000,0x00650000,0x007A0000,0x00AE0000,0x00080000,
--        0x00BA0000,0x00780000,0x00250000,0x002E0000,0x001C0000,0x00A60000,0x00B40000,0x00C60000,
--        0x00E80000,0x00DD0000,0x00740000,0x001F0000,0x004B0000,0x00BD0000,0x008B0000,0x008A0000,
--        0x00700000,0x003E0000,0x00B50000,0x00660000,0x00480000,0x00030000,0x00F60000,0x000E0000,
--        0x00610000,0x00350000,0x00570000,0x00B90000,0x00860000,0x00C10000,0x001D0000,0x009E0000,
--        0x00E10000,0x00F80000,0x00980000,0x00110000,0x00690000,0x00D90000,0x008E0000,0x00940000,
--        0x009B0000,0x001E0000,0x00870000,0x00E90000,0x00CE0000,0x00550000,0x00280000,0x00DF0000,
--        0x008C0000,0x00A10000,0x00890000,0x000D0000,0x00BF0000,0x00E60000,0x00420000,0x00680000,
--        0x00410000,0x00990000,0x002D0000,0x000F0000,0x00B00000,0x00540000,0x00BB0000,0x00160000
--    },
--    {
--        0x63000000,0x7C000000,0x77000000,0x7B000000,0xF2000000,0x6B000000,0x6F000000,0xC5000000,
--        0x30000000,0x01000000,0x67000000,0x2B000000,0xFE000000,0xD7000000,0xAB000000,0x76000000,
--        0xCA000000,0x82000000,0xC9000000,0x7D000000,0xFA000000,0x59000000,0x47000000,0xF0000000,
--        0xAD000000,0xD4000000,0xA2000000,0xAF000000,0x9C000000,0xA4000000,0x72000000,0xC0000000,
--        0xB7000000,0xFD000000,0x93000000,0x26000000,0x36000000,0x3F000000,0xF7000000,0xCC000000,
--        0x34000000,0xA5000000,0xE5000000,0xF1000000,0x71000000,0xD8000000,0x31000000,0x15000000,
--        0x04000000,0xC7000000,0x23000000,0xC3000000,0x18000000,0x96000000,0x05000000,0x9A000000,
--        0x07000000,0x12000000,0x80000000,0xE2000000,0xEB000000,0x27000000,0xB2000000,0x75000000,
--        0x09000000,0x83000000,0x2C000000,0x1A000000,0x1B000000,0x6E000000,0x5A000000,0xA0000000,
--        0x52000000,0x3B000000,0xD6000000,0xB3000000,0x29000000,0xE3000000,0x2F000000,0x84000000,
--        0x53000000,0xD1000000,0000000000,0xED000000,0x20000000,0xFC000000,0xB1000000,0x5B000000,
--        0x6A000000,0xCB000000,0xBE000000,0x39000000,0x4A000000,0x4C000000,0x58000000,0xCF000000,
--        0xD0000000,0xEF000000,0xAA000000,0xFB000000,0x43000000,0x4D000000,0x33000000,0x85000000,
--        0x45000000,0xF9000000,0x02000000,0x7F000000,0x50000000,0x3C000000,0x9F000000,0xA8000000,
--        0x51000000,0xA3000000,0x40000000,0x8F000000,0x92000000,0x9D000000,0x38000000,0xF5000000,
--        0xBC000000,0xB6000000,0xDA000000,0x21000000,0x10000000,0xFF000000,0xF3000000,0xD2000000,
--        0xCD000000,0x0C000000,0x13000000,0xEC000000,0x5F000000,0x97000000,0x44000000,0x17000000,
--        0xC4000000,0xA7000000,0x7E000000,0x3D000000,0x64000000,0x5D000000,0x19000000,0x73000000,
--        0x60000000,0x81000000,0x4F000000,0xDC000000,0x22000000,0x2A000000,0x90000000,0x88000000,
--        0x46000000,0xEE000000,0xB8000000,0x14000000,0xDE000000,0x5E000000,0x0B000000,0xDB000000,
--        0xE0000000,0x32000000,0x3A000000,0x0A000000,0x49000000,0x06000000,0x24000000,0x5C000000,
--        0xC2000000,0xD3000000,0xAC000000,0x62000000,0x91000000,0x95000000,0xE4000000,0x79000000,
--        0xE7000000,0xC8000000,0x37000000,0x6D000000,0x8D000000,0xD5000000,0x4E000000,0xA9000000,
--        0x6C000000,0x56000000,0xF4000000,0xEA000000,0x65000000,0x7A000000,0xAE000000,0x08000000,
--        0xBA000000,0x78000000,0x25000000,0x2E000000,0x1C000000,0xA6000000,0xB4000000,0xC6000000,
--        0xE8000000,0xDD000000,0x74000000,0x1F000000,0x4B000000,0xBD000000,0x8B000000,0x8A000000,
--        0x70000000,0x3E000000,0xB5000000,0x66000000,0x48000000,0x03000000,0xF6000000,0x0E000000,
--        0x61000000,0x35000000,0x57000000,0xB9000000,0x86000000,0xC1000000,0x1D000000,0x9E000000,
--        0xE1000000,0xF8000000,0x98000000,0x11000000,0x69000000,0xD9000000,0x8E000000,0x94000000,
--        0x9B000000,0x1E000000,0x87000000,0xE9000000,0xCE000000,0x55000000,0x28000000,0xDF000000,
--        0x8C000000,0xA1000000,0x89000000,0x0D000000,0xBF000000,0xE6000000,0x42000000,0x68000000,
--        0x41000000,0x99000000,0x2D000000,0x0F000000,0xB0000000,0x54000000,0xBB000000,0x16000000
--    }
--};
--
--/*----------------- The workspace ------------------------------*/
--
--static uint32_t Ekey[44];    /* The expanded key */
--
--/*------ The round Function.  4 table lookups and 4 Exors ------*/
--#define f_rnd(x, n)                     \
--  ( ft_tab[0][byte0(x[n])]              \
--  ^ ft_tab[1][byte1(x[(n + 1) & 3])]    \
--  ^ ft_tab[2][byte2(x[(n + 2) & 3])]    \
--  ^ ft_tab[3][byte3(x[(n + 3) & 3])] )
--
--#define f_round(bo, bi, k)          \
--    bo[0] = f_rnd(bi, 0) ^ k[0];    \
--    bo[1] = f_rnd(bi, 1) ^ k[1];    \
--    bo[2] = f_rnd(bi, 2) ^ k[2];    \
--    bo[3] = f_rnd(bi, 3) ^ k[3];    \
--    k += 4
--
--/*--- The S Box lookup used in constructing the Key schedule ---*/
--#define ls_box(x)       \
-- (  fl_tab[0][byte0(x)] \
--  ^ fl_tab[1][byte1(x)] \
--  ^ fl_tab[2][byte2(x)] \
--  ^ fl_tab[3][byte3(x)] )
--
--/*------------ The last round function (no MixColumn) ----------*/
--#define lf_rnd(x, n)                    \
--  ( fl_tab[0][byte0(x[n])]              \
--  ^ fl_tab[1][byte1(x[(n + 1) & 3])]    \
--  ^ fl_tab[2][byte2(x[(n + 2) & 3])]    \
--  ^ fl_tab[3][byte3(x[(n + 3) & 3])] )
--
--
--/*-----------------------------------------------------------
-- * RijndaelKeySchedule
-- *   Initialise the key schedule from a supplied key
-- */
--void RijndaelKeySchedule(uint8_t key[16])
--{
--    uint32_t  t;
--    uint32_t  *ek=Ekey,      /* pointer to the expanded key   */
--          *rc=rnd_con;  /* pointer to the round constant */
--
--    Ekey[0] = u32_in(key     );
--    Ekey[1] = u32_in(key +  4);
--    Ekey[2] = u32_in(key +  8);
--    Ekey[3] = u32_in(key + 12);
--
--    while(ek < Ekey + 40) {
--        t = rot3(ek[3]);
--        ek[4] = ek[0] ^ ls_box(t) ^ *rc++;
--        ek[5] = ek[1] ^ ek[4];
--        ek[6] = ek[2] ^ ek[5];
--        ek[7] = ek[3] ^ ek[6];
--        ek += 4;
--    }
--}
--
--/*-----------------------------------------------------------
-- * RijndaelEncrypt
-- *   Encrypt an input block
-- */
--void RijndaelEncrypt(uint8_t in[16], uint8_t out[16])
--{
--    uint32_t    b0[4], b1[4], *kp = Ekey;
--
--    b0[0] = u32_in(in     ) ^ *kp++;
--    b0[1] = u32_in(in +  4) ^ *kp++;
--    b0[2] = u32_in(in +  8) ^ *kp++;
--    b0[3] = u32_in(in + 12) ^ *kp++;
--
--    f_round(b1, b0, kp);
--    f_round(b0, b1, kp);
--    f_round(b1, b0, kp);
--    f_round(b0, b1, kp);
--    f_round(b1, b0, kp);
--    f_round(b0, b1, kp);
--    f_round(b1, b0, kp);
--    f_round(b0, b1, kp);
--    f_round(b1, b0, kp);
--
--    u32_out(out,      lf_rnd(b1, 0) ^ kp[0]);
--    u32_out(out +  4, lf_rnd(b1, 1) ^ kp[1]);
--    u32_out(out +  8, lf_rnd(b1, 2) ^ kp[2]);
--    u32_out(out + 12, lf_rnd(b1, 3) ^ kp[3]);
--}

diff --git a/sipp-0006-Raise-minimal-OpenSSL-version-to-1.1.1.patch b/sipp-0006-Raise-minimal-OpenSSL-version-to-1.1.1.patch
deleted file mode 100644
index 7a2c1b2..0000000
--- a/sipp-0006-Raise-minimal-OpenSSL-version-to-1.1.1.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Wed, 31 Dec 2025 00:49:24 +0100
-Subject: [PATCH] Raise minimal OpenSSL version to 1.1.1
-
-This version has TLS 1.3 support and this is a first version where it is
-possible to dump crypto keys.
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 141de0c..1369a55 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -134,7 +134,7 @@ if(USE_WOLFSSL)
-     endif()
-     add_definitions("-DUSE_WOLFSSL" "-DOPENSSL_ALL")
- else()
--    pkg_search_module(SSL REQUIRED openssl>=1.1.0)
-+    pkg_search_module(SSL REQUIRED openssl>=1.1.1)
-     add_definitions("-DUSE_OPENSSL")
-     if(TLS_KEY_LOGGING)
-         add_definitions("-DUSE_OPENSSL_KL")
-diff --git a/docs/installation.rst b/docs/installation.rst
-index 92b494b..641a59b 100644
---- a/docs/installation.rst
-+++ b/docs/installation.rst
-@@ -63,7 +63,7 @@ Installing SIPp
- 
-     + C++ Compiler
-     + curses or ncurses library
--    + OpenSSL >= 1.1.0 or WolfSSL >= 3.15.0
-+    + OpenSSL >= 1.1.1 or WolfSSL >= 3.15.0
-     + For pcap play support: libpcap and libnet
-     + For SCTP support: lksctp-tools
-     + For distributed pauses: `Gnu Scientific Libraries`_
-diff --git a/src/sslsocket.cpp b/src/sslsocket.cpp
-index 0f91622..00917d5 100644
---- a/src/sslsocket.cpp
-+++ b/src/sslsocket.cpp
-@@ -23,8 +23,7 @@
- #include "sipp.hpp"
- #include "sslsocket.hpp"
- 
--#if (USE_OPENSSL_KL && OPENSSL_VERSION_NUMBER >= 0x10101000L)
--#define HAVE_KEYLOG_CB
-+#if USE_OPENSSL_KL
- #define KEYLOG_ENV "SSLKEYLOGFILE"
- #endif
- 
-@@ -99,7 +98,7 @@ static int passwd_call_back_routine(char *buf, int size, int /*flag*/, void *pas
-     return(strlen(buf));
- }
- 
--#ifdef HAVE_KEYLOG_CB
-+#ifdef USE_OPENSSL_KL
- static const char *keylog_file()
- {
-     char *kl_env = getenv(KEYLOG_ENV);
-@@ -148,7 +147,7 @@ static void sip_tls_keylog_callback(const SSL *ssl, const char *line)
-         write_keylog_line(keylog_file_name, line);
-     }
- }
--#endif // HAVE_KEYLOG_CB
-+#endif // USE_OPENSSL_KL
- 
- /****** SSL error handling *************/
- const char *SSL_error_string(int ssl_error, int orig_ret)
-@@ -453,12 +452,12 @@ enum tls_init_status TLS_init_context(void)
-         return TLS_INIT_ERROR;
-     }
- 
--#ifdef HAVE_KEYLOG_CB
-+#ifdef USE_OPENSSL_KL
-     if (keylog_file()) {
-         SSL_CTX_set_keylog_callback(sip_trp_ssl_ctx_client, sip_tls_keylog_callback);
-         SSL_CTX_set_keylog_callback(sip_trp_ssl_ctx, sip_tls_keylog_callback);
-     }
--#endif // HAVE_KEYLOG_CB
-+#endif // USE_OPENSSL_KL
- 
- 
-     return TLS_INIT_NORMAL;

diff --git a/sipp-0007-fix-use-getAuthParameter-for-algorithm-in-createAuth.patch b/sipp-0007-fix-use-getAuthParameter-for-algorithm-in-createAuth.patch
deleted file mode 100644
index 5a0eabd..0000000
--- a/sipp-0007-fix-use-getAuthParameter-for-algorithm-in-createAuth.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From: Orgad Shaneh <orgad.shaneh@audiocodes.com>
-Date: Mon, 24 Aug 2026 11:57:09 +0300
-Subject: [PATCH] fix: use getAuthParameter() for algorithm in
- createAuthHeader()
-
-createAuthHeader() parsed the algorithm= value from a 401/407
-challenge with an inline strncpy bounded by the source length
-instead of the destination's 32-byte stack buffer, allowing a
-malicious SIP server to overflow it. verifyAuthHeader() already
-parses the same field safely via getAuthParameter(), which is
-bounded by sizeof(algo); reuse it here instead of the unbounded
-inline parser.
-diff --git a/src/auth.cpp b/src/auth.cpp
-index d66771d..5e38d4d 100644
---- a/src/auth.cpp
-+++ b/src/auth.cpp
-@@ -163,7 +163,7 @@ int createAuthHeader(
- {
- 
-     char algo[32] = "MD5";
--    char *start, *end;
-+    char *start;
- 
-     if ((start = stristr(auth, "Digest")) == nullptr) {
-         snprintf(result, result_len, "createAuthHeader: authentication must be digest");
-@@ -175,15 +175,9 @@ int createAuthHeader(
-         return 0;
-     }
- 
--    if ((start = stristr(auth, "algorithm=")) != nullptr) {
--        start = start + strlen("algorithm=");
--        if (*start == '"') {
--            start++;
--        }
--        end = start + strcspn(start, " ,\"\r\n");
--        strncpy(algo, start, end - start);
--        algo[end - start] ='\0';
--
-+    getAuthParameter("algorithm", auth, algo, sizeof(algo));
-+    if (algo[0] == '\0') {
-+        strcpy(algo, "MD5");
-     }
- 
-     if (strncasecmp(algo, "MD5", 3)==0) {

diff --git a/sipp-0008-fix-bound-get_peer_tag-copy-against-buffer-size.patch b/sipp-0008-fix-bound-get_peer_tag-copy-against-buffer-size.patch
deleted file mode 100644
index f1aae3c..0000000
--- a/sipp-0008-fix-bound-get_peer_tag-copy-against-buffer-size.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Orgad Shaneh <orgad.shaneh@audiocodes.com>
-Date: Mon, 24 Aug 2026 11:57:09 +0300
-Subject: [PATCH] fix: bound get_peer_tag() copy against buffer size
-
-get_peer_tag() copied the To header's tag= value into a static
-2049-byte buffer byte-by-byte with no bounds check on the write
-index. A malicious SIP server sending a response with an
-oversized tag parameter could overflow this BSS buffer with
-attacker-controlled data before the caller's length check ever
-runs.
-diff --git a/src/sip_parser.cpp b/src/sip_parser.cpp
-index 2ba638d..aeb7ce5 100644
---- a/src/sip_parser.cpp
-+++ b/src/sip_parser.cpp
-@@ -104,7 +104,7 @@ char* get_peer_tag(const char* msg)
-     }
- 
-     while (*ptr && *ptr != ' ' && *ptr != ';' && *ptr != '\t' &&
--           *ptr != '\r' && *ptr != '\n') {
-+           *ptr != '\r' && *ptr != '\n' && tag_i < (int) sizeof(tag) - 1) {
-         tag[tag_i++] = *(ptr++);
-     }
-     tag[tag_i] = '\0';

diff --git a/sipp-0009-fix-bound-get_header-writes-against-last_header-buff.patch b/sipp-0009-fix-bound-get_header-writes-against-last_header-buff.patch
deleted file mode 100644
index 5513c3f..0000000
--- a/sipp-0009-fix-bound-get_header-writes-against-last_header-buff.patch
+++ /dev/null
@@ -1,131 +0,0 @@
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Tue, 8 Sep 2026 13:14:21 +0200
-Subject: [PATCH] fix: bound get_header() writes against last_header buffer
- size
-
-get_header() accumulates matching headers into a static
-last_header[MAX_HEADER_LEN * 10] buffer using a series of unbounded
-sprintf() calls. When a message contains a header (or several repeated
-headers, e.g. Via or Record-Route) whose combined content exceeds the
-buffer, the content copy
-
-    dest += sprintf(dest, "%s", src);
-
-writes past the end of last_header with attacker-controlled data. The
-source is taken from the message's pre-body section, which can be far
-larger than the 20490-byte destination.
-
-Convert the name, separator, and content writes to snprintf() bounded by
-the space remaining in last_header, and bail out via a truncated: label
-when a write would not fit. On truncation the partially-written header
-is dropped and the accumulated result so far is returned, so callers
-still get a well-formed, NUL-terminated string.
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-Assisted-by: Claude (Anthropic) <https://claude.ai>
-diff --git a/src/sip_parser.cpp b/src/sip_parser.cpp
-index aeb7ce5..b22b37d 100644
---- a/src/sip_parser.cpp
-+++ b/src/sip_parser.cpp
-@@ -122,6 +122,7 @@ char* get_header(const char* message, const char* name, bool content)
- {
-     /* non reentrant. consider accepting char buffer as param */
-     static char last_header[MAX_HEADER_LEN * 10];
-+    const char *last_header_end = last_header + sizeof(last_header);
-     const char *cptr;
-     char *src, *src_copy, *dest, *start, *ptr;
-     bool first_time = true;
-@@ -164,8 +165,10 @@ char* get_header(const char* message, const char* name, bool content)
-     while ((src = internal_match_header(
-             src, header_with_newline, compact_header_with_newline))) {
-         if (!content && first_time) {
--            // Add the name to the string;
--            dest += sprintf(dest, "%s", name);
-+            int n = snprintf(dest, last_header_end - dest, "%s", name);
-+            if (n < 0 || n >= last_header_end - dest)
-+                goto truncated;
-+            dest += n;
-             first_time = false;
-         }
- 
-@@ -210,12 +213,23 @@ char* get_header(const char* message, const char* name, bool content)
-             }
- 
-             if (*(dest-1) == ':') {
--                dest += sprintf(dest, " ");
-+                int n = snprintf(dest, last_header_end - dest, " ");
-+                if (n < 0 || n >= last_header_end - dest) goto truncated;
-+                dest += n;
-             } else {
--                dest += sprintf(dest, ", ");
-+                int n = snprintf(dest, last_header_end - dest, ", ");
-+                if (n < 0 || n >= last_header_end - dest) goto truncated;
-+                dest += n;
-             }
-         }
--        dest += sprintf(dest, "%s", src);
-+
-+        int n = snprintf(dest, last_header_end - dest, "%s", src);
-+        if (n < 0 || n >= last_header_end - dest) {
-+            /* restore the newline we may have nulled, then bail */
-+            if (ptr) *ptr = '\n';
-+            goto truncated;
-+        }
-+        dest += n;
- 
-         if (ptr) {
-             *ptr = '\n';
-@@ -226,6 +240,7 @@ char* get_header(const char* message, const char* name, bool content)
-         }
-     }
- 
-+truncated:
-     /* No header found? */
-     if (dest == last_header) {
-         free(src_copy);
-@@ -549,6 +564,7 @@ static const char* internal_skip_lws(const char* ptr)
- 
- #ifdef GTEST
- #include "gtest/gtest.h"
-+#include <string>
- 
- TEST(Parser, internal_find_header) {
-     char data[] = "OPTIONS sip:server SIP/2.0\r\n"
-@@ -680,6 +696,37 @@ From: SIP/2.0/UDP 85.55.55.12:6090;branch=z9hG4bK831a.2bb3de85.0\r\n\
-     EXPECT_STREQ("", get_header(data, "Via:", false));
- }
- 
-+TEST(Parser, get_header_oversized_single) {
-+    /* A single header whose content is larger than the static
-+     * last_header[MAX_HEADER_LEN * 10] buffer must be truncated, not
-+     * overflowed. Run under ASan/Valgrind this catches the overflow;
-+     * everywhere it asserts the result stays within the buffer. */
-+    std::string msg = "SIP/2.0 200 OK\r\nSubject: ";
-+    msg += std::string(MAX_HEADER_LEN * 12, 'A');
-+    msg += "\r\n\r\n";
-+
-+    char* result = get_header(msg.c_str(), "Subject:", true);
-+    ASSERT_NE(result, nullptr);
-+    EXPECT_EQ(result[0], 'A');
-+    EXPECT_LT(strlen(result), (size_t)(MAX_HEADER_LEN * 10));
-+}
-+
-+TEST(Parser, get_header_oversized_repeated) {
-+    /* Many repeated headers whose concatenated content exceeds the
-+     * buffer must be truncated, not overflowed. */
-+    std::string msg = "SIP/2.0 200 OK\r\n";
-+    for (int i = 0; i < 500; ++i) {
-+        msg += "Via: SIP/2.0/UDP host" + std::to_string(i) +
-+               ".example.com:5060;branch=z9hG4bK" +
-+               std::string(50, 'x') + "\r\n";
-+    }
-+    msg += "\r\n";
-+
-+    char* result = get_header(msg.c_str(), "Via:", true);
-+    ASSERT_NE(result, nullptr);
-+    EXPECT_LT(strlen(result), (size_t)(MAX_HEADER_LEN * 10));
-+}
-+
- TEST(Parser, get_peer_tag__notag) {
-     EXPECT_STREQ(nullptr, get_peer_tag("...\r\nTo: <abc>\r\n;tag=notag\r\n\r\n"));
- }

diff --git a/sipp.spec b/sipp.spec
index db31e44..882c9de 100644
--- a/sipp.spec
+++ b/sipp.spec
@@ -1,31 +1,22 @@
 Summary:	SIP test tool / traffic generator
 Name:		sipp
-Version:	3.7.7
+Version:	3.7.8
 Release:	%autorelease
 License:	GPL-2.0-or-later
 URL:		https://github.com/SIPp/sipp
 VCS:		git:%{url}.git
-Source0:	%{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-Patch:		sipp-0001-Removal-of-bundled-gmock-gtest.patch
-Patch:		sipp-0002-Remove-unused-gmock-we-don-t-use-it.patch
-Patch:		sipp-0003-Make-SSL-library-mandatory.patch
-Patch:		sipp-0004-Removed-outdated-md5-implementation.patch
-Patch:		sipp-0005-Removed-outdated-Rijndael-Vincent-Rijmen-et-al.-impl.patch
-Patch:		sipp-0006-Raise-minimal-OpenSSL-version-to-1.1.1.patch
-# Security fixes backported from upstream master (unreleased as of 3.7.7)
-Patch:		sipp-0007-fix-use-getAuthParameter-for-algorithm-in-createAuth.patch
-Patch:		sipp-0008-fix-bound-get_peer_tag-copy-against-buffer-size.patch
-Patch:		sipp-0009-fix-bound-get_header-writes-against-last_header-buff.patch
-BuildRequires:	cmake
+Source:		%{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 BuildRequires:	gcc
 BuildRequires:	gcc-c++
-BuildRequires:	gsl-devel
-BuildRequires:	gtest-devel
-BuildRequires:	libpcap-devel
-BuildRequires:	lksctp-tools-devel
-BuildRequires:	make
-BuildRequires:	ncurses-devel
+BuildRequires:	pkgconfig(gsl)
+BuildRequires:	pkgconfig(gtest)
+BuildRequires:	pkgconfig(libpcap)
+BuildRequires:	pkgconfig(libsctp)
+BuildRequires:	pkgconfig(ncurses)
 BuildRequires:	pkgconfig(openssl)
+BuildRequires:	pkgconfig(pugixml)
+BuildSystem:	cmake
+BuildOption(conf): -DUSE_PCAP=1 -DUSE_GSL=1 -DUSE_SCTP=1 -DUSE_SYSTEM_PUGIXML=ON -DUSE_SYSTEM_GTEST=ON -DUSE_OPENSSL_KL=ON
 
 %description
 SIPp is a free Open Source test tool / traffic generator for the SIP protocol.
@@ -37,29 +28,19 @@ running tests (call rate, round trip delay, and message statistics), periodic
 CSV statistics dumps, TCP and UDP over multiple sockets or multiplexed with
 retransmission management and dynamically adjustable call rates.
 
-%prep
-%autosetup -p1
+%prep -a
 echo "#define SIPP_VERSION VERSION
 #define VERSION \"v%{version}\"" > include/version.h
 
-%build
-%{cmake} -DUSE_PCAP=1 -DUSE_GSL=1 -DUSE_SCTP=1
-%cmake_build
-
-%install
-%cmake_install
-# Extra data setup
+%install -a
 mkdir -p %{buildroot}%{_datadir}/%{name}/pcap
 install -p -m 644 pcap/*.pcap %{buildroot}%{_datadir}/%{name}/pcap
 
-%check
-%cmake_build -- sipp_unittest
-./redhat-linux-build/sipp_unittest
-
 %files
 %license LICENSE.txt
 %doc CHANGES.md README.md THANKS
 %caps(cap_net_raw=ep) %{_bindir}/%{name}
+%{_bindir}/%{name}-multi.py
 %{_datadir}/%{name}
 
 %changelog

diff --git a/sources b/sources
index 6c25d3c..0ec5f1e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sipp-3.7.7.tar.gz) = 0ed6c2f6dca62fe6b5193c4b67aaaa6509fa8e7e8a04ca0c47135b7be49a42df3bb1ec6308186336a056fe9cc2c5ce8b8d7817f2f0ac7d98ec18be30265158f1
+SHA512 (sipp-3.7.8.tar.gz) = d6daa8ec98090e2f0e229f11c445e91faad3e8e381969839dde673419c4bceb2ef0133dea22cb5fb84f3d22ffd993fad5dc8e5b74ada9a4335ab7642661ca5c1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-28 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-28 17:36 [rpms/sipp] rawhide: SIPp ver. 3.7.8 Peter Lemenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox