Debian Codegraph @

CHANGES

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