CHANGES 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. Changelog
  2. 2.5.0
  3. #636 - Make mbedtls hmac less restrictive in line with RFC and library capabilities
  4. #612 - Allow overriding stream list implementation
  5. #629 - update min openssl version to 1.1.0
  6. #602 - Openssl 3 support for EVP MAC
  7. #628 - Add android build to CI
  8. #616 - add CIFuzz Github action to workflows
  9. #621 - Add policy_set_aes_cm_192_xxx symbols to def file
  10. #617 - Use current directions in stream update test
  11. #614 - Call `set_aad` and `get_tag` in AEAD performance tests
  12. #611 - Create alias for srtp2 as libSRTP::srtp2
  13. #593 - Remove compatibility code for legacy OpenSSL to fix LibreSSL build
  14. #573 - Export CMake Targets
  15. #586 - Avoid initializing local char table when converting nibble to hex
  16. #591 - EVP_CIPHER_CTX_cleanup() is deprecated in OpenSSL 1.1.0
  17. #589 - Correct null cipher key sizes and be more defensive
  18. #570 - Include directory should point to 'include' not to 'include/srtp2'
  19. #551 - Count blocks instead of bytes in AES-ICM limit computation
  20. #561 - Rtp decoder support ssrc and roc
  21. #559 - Use a full-length key even with null ciphers
  22. #558 - Fix set ROC functionality with gcm
  23. 2.4.0
  24. Major changes
  25. #529 - Remove EKT files, this was never completed and the draft has since changed.
  26. #512 - Adds support for Mbedtls as a crypto backend.
  27. #503 - Support apple silicon build.
  28. #495 - Adds support for the Meson build system. This is an alternative to Cmake and auto tools.
  29. Other changes
  30. #546 - Improve OpenSSL KDF check.
  31. #542 - Add void to function declarations for EVP_EncryptInit check.
  32. #531 - Remove dead code.
  33. #524 - Support running against nss >= 3.52.
  34. #521 - Remove references to dtls from libsrtp.
  35. #520 - Use nss based hmac when nss enabled.
  36. #519 - Move selftest vectors form backends to common files.
  37. #515 - Extend cmake support.
  38. #514 - Fix gcc11 warning by defining output length.
  39. #502 - Remove visual studio build files.
  40. #501 - cmake: Set the VERSION property of the srtp2 library.
  41. #500 - Fixed issue #499 with buffer overflow.
  42. #498 - Feature/additional error checks.
  43. #496 - Rework check for OPENSSL_cleanse().
  44. #492 - Avoid non-existing compiler flag -O4.
  45. #491 - Fix two-byte RTP header extension encryption.
  46. #478 - Modify cmake to install crypto_types.h instead of cipher_types.h
  47. 2.3.0
  48. Major changes
  49. A fuzzer was added to the project based on libFuzzer. This is run as part of Google oss-fuzz, the current status can be found at https://oss-fuzz-build-logs.storage.googleapis.com/index.html#libsrtp . Details available in PR #442 and issue #393.
  50. CMake support was added as an alternative build system. This was primarily added to replace the Visual Studio project files currently checked in but has been extend to support building on all platforms. Initial PR #449 and #455 but has been support has been continuously improved.
  51. NSS support for crypto backend was added. This is can be used as an alternative to openssl. Initial PR #413 but there has been numerous improvements.
  52. Other changes
  53. PR #474 - Add flag to disable pcap dependency when build test apps.
  54. PR #472 - Add ci builds for ios and android.
  55. PR #463 - problem on srtp_aes_icm_openssl_encrypt.
  56. PR #471 - Allow the pcap file to be read from a physical file.
  57. PR #457 - Fix docs crypto_policy_* -> srtp_crypto_policy_* .
  58. PR #452 - crypto/cipher: Reset the EVP_CIPHER_CTX structure before each test.
  59. PR #444 - Extend rtp_ecoder to support RTCP and multiplexed SSRC's.
  60. PR #443 - rtp_decoder avoid crash when no packets found.
  61. PR #429 - Rand for test only.
  62. PR #421 - Fix GCM IV logging.
  63. PR #415 - Fixes unaligned trailer access.
  64. PR #414 - Detect and handle broken "OPENSSL_cleanse".
  65. 2.2.0
  66. Major changes
  67. All code has been reformatted to be consistent. A .clang-format file and format.sh script has been added that can be use to verify and enforce consistent formatting. An automated check on code formatting is now part of travis build.
  68. Other changes
  69. PR #409 - Compatibilty with LibreSSL
  70. PR #406 - Fix unprotect when pktlen < (2*mki_size + tag_len)
  71. PR #405 - Prevent potential double free
  72. PR #404 - Add back extern to global variables
  73. PR #403 - Set gcm IV directly with EVP_CipherInit_ex
  74. PR #401 - Fix memory access issue in srtp_get_session_keys()
  75. PR #398 - Fix memory access fixes when invalid profiles where used
  76. PR #391 - Return NULL when allocating memory of size zero
  77. PR #390 - Bitvector of length zero is not valid
  78. PR #385 - Treat warnings as errors on travis builds
  79. PR #388 - Moved externs from crypto_kernel into its own header
  80. PR #379 - Fixed several compiler warnings from Firefox builds
  81. PR #377 - Removed variable init code in rdbx which never gets used
  82. PR #381 - Added error in case the platform is not detected
  83. PR #376 - Add coverity scan to travis builds
  84. PR #374 - Add a big endian build on travis
  85. PR #373 - Fixed buffer size issue in test/srtp_driver.c
  86. PR #372 - Make rtp_decoder compile on MinGW
  87. PR #367 - Rename configure.in to configure.ac
  88. PR #365 - Replace calls to free() with srtp_crypto_free()
  89. PR #364 - Add valgrind to travis and fix leaks in tests
  90. PR #363 - Change smtp_crypto_alloc to initialize memory to zero
  91. PR #354 - Fix potential leak if cloning of stream fails
  92. PR #340 - Fix potential leak in srtp_add_stream()
  93. PR #323 - Fix running test in out of source builds
  94. Issue #316 - Remove VERSION file
  95. 2.1.0
  96. Compatibility changes
  97. PR #253 - Cipher type cleanup for AES
  98. When libSRTP is compiled with OpenSSL and the AES 256 ICM cipher is used
  99. with RTCP an incorrect initialization vector is formed.
  100. This change will break backwards compatibility with older versions (1.5,
  101. 2.0) of libSRTP when using the AES 256 ICM cipher with OpenSSL for RTCP.
  102. PR #259 - Sequence number incorrectly masked for AES GCM IV
  103. The initialization vector for AES GCM encryption was incorrectly formed on
  104. little endian machines.
  105. This change will break backwards compatibility with older versions (1.5,
  106. 2.0) of libSRTP when using the AES GCM cipher for RTCP.
  107. PR #287 - Fix OOB read in key generation for encrypted headers with GCM ciphers
  108. Adds padding of GCM salt to the corresponding ICM length used for header
  109. encryption.
  110. This change will break backwards compatibility with version 2.0 of libSRTP
  111. when using the header encryption extension with the AES GCM cipher.
  112. Major changes
  113. PR #204 - OpenSSL performance improvements
  114. Changed key expansion to occur once per key instead of once per packet.
  115. PR #209 - Restore AES-192 under BoringSSL
  116. BoringSSL supports AES-192 and is now enabled in libSRTP.
  117. PR #224 - Master Key Identifiers (MKI) Support patch
  118. Adds MKI support with up to 4 keys.
  119. PR #234 - Report SSRC instead of srtp_stream_t in srtp_event_data_t
  120. srtp_stream_t is an opaque type making the event framework almost useless.
  121. Now the SSRC is returned instead for use as a key in the public API.
  122. PR #238 - Configure changes and improvements
  123. CFLAGS check more shell neutral, quotation fixes, always generate and
  124. install pkg-config file, improved OpenSSL discovery and linking, remove
  125. -fPIC flag on Windows, fix shared library generation under Cygwin, replace
  126. hardcoded CFLAGS with compiler checks, and regenerate configure after
  127. configure.in changes.
  128. PR #241 & PR #261 - Improved logging API to receive log messages from libSRTP
  129. Provides a logging API and the ability to enable logging to stdout and a
  130. file, as well as a switch to enable all internal debug modules.
  131. PR #289 - Added support for set and get the roll-over-counter
  132. Adds an API to set and get the ROC in an (S)RTP session.
  133. PR #304 - Fix (S)RTP and (S)RTCP for big endian machines
  134. The structures srtp_hdr_t, srtcp_hdr_t and srtcp_trailer_t were defined
  135. incorrectly on big endian systems.
  136. Other changes
  137. PR #149 - Don't create a symlink if there is no $(SHAREDLIBVERSION)
  138. PR #151 - Make srtp_driver compile for MIPS
  139. PR #160 - Use PKG_PROG_PKG_CONFIG to find correct pkg-config
  140. PR #167 - Additional RTCP and SRTCP tests
  141. PR #169 - Identified merge conflict created by commit 6b71fb9
  142. PR #173 - Avoid error 'possibly undefined macro: AM_PROG_AR'
  143. PR #174 - Avoid warning 'The macro AC_TRY_LINK is obsolete.'
  144. PR #175 - Remove 2nd -fPIC
  145. PR #182 - Add a length check before reading packet data
  146. PR #191 - On debug, output correct endianness of SSRC
  147. PR #192 - Replace octet_string_is_eq with a constant-time implementation
  148. PR #195 - Add missing __cplusplus header guards
  149. PR #198 - Update sha1_driver.c to avoid memory leaks
  150. PR #202 - Add an explicit cast to avoid a printf format warning on macOS
  151. PR #205 - Update Windows build files to Visual Studio 2015
  152. PR #207 - Fix to install-win.bat syntax, and add installation of x64 libraries
  153. PR #208 - Make replace_cipher and replace_auth public again
  154. PR #211 - Changes for OpenSSL 1.1.0 compatibility
  155. PR #213 - Add cast to `unsigned int` in call to printf in test
  156. PR #214 - Avoid empty initializer braces
  157. PR #222 - Fix issue: No consistency when use some srtp_* functions
  158. PR #231 - Advance version on master in preparation for 2.1 release
  159. PR #232 - Update Travis, do not build with OpenSSL on OSX
  160. PR #233 - crypto/replay/rdbx.c: Return type of srtp_index_guess from int to
  161. int32_t
  162. PR #236 - test/rtp_decoder.c: Removed superfluous conditional
  163. PR #237 - test/rtp_decoder.c: spring cleaning
  164. PR #239 - octet_string_set_to_zero() delegates to OPENSSL_cleanse() if
  165. available, if not it will use srtp_cleanse() to zero memory
  166. PR #243 - EKT is not really supported yet, remove from install
  167. PR #244 - Add simple error checking in timing test to avoid false results
  168. PR #245 - Add missing srtp_cipher_dealloc calls when test fails
  169. PR #246 - test/rtp_decoder: Add missing conditional
  170. PR #248 - New README.md that integrates intro, credits and references from
  171. /doc/ and is used to generate documentation
  172. PR #249 - Remove support for generic aesicm from configure.in
  173. PR #250 - Update README.md, incorrect tag for link
  174. PR #255 - Cleanup outdated comment related to MKI
  175. PR #258 - Add AES-GCM to DTLS-SRTP Protection Profiles
  176. PR #263 - Cleaning up and removing duplicated and outdated code
  177. PR #265 - Introduction of unit test framework: CUTest
  178. PR #267 - crypto/kernel/err.c: Include datatypes.h
  179. PR #272 - Reduce literal constants
  180. PR #273 - SRTP AEAD SRTCP initialization vector regression tests
  181. PR #274 - Update Travis build - add ccache
  182. PR #276 - Reference and docs updates
  183. PR #278 - Removed crypto/test/auth_driver.c and test/lfsr.c
  184. PR #279 - Bump copyright year
  185. PR #283 - Add missing docs in srtp.h
  186. PR #284 - Add strict-prototypes warning if supported
  187. PR #291 - Use const char * for srtp_set_debug_module()
  188. PR #294 - Fix incorrect result of rdb_increment on overflow
  189. PR #300 - Standalone tests
  190. PR #301 - Configure fixes
  191. PR #302 - Fix warning regarding unused variable
  192. PR #303 - Makefile.in: Add gnu as match for shared lib suffix