- 08 Oct, 2021 1 commit
-
-
François Grisez authored
-
- 16 Sep, 2021 1 commit
-
-
François Grisez authored
Prepare the CMakeLists.txt for the new Flexisip build and packaging scripts See merge request !7
-
- 01 Sep, 2021 1 commit
-
-
François Grisez authored
* Require CMake >= 3.13. * Rename srtp target: srtp -> SRTP. * Export SRTP target while installation. * Add public include directories into SRTP target interface.
-
- 10 Aug, 2021 2 commits
-
-
Andrea Gianarda authored
Move methods to MS2 to ensure libsrtp compatibility See merge request !6
-
Andrea Gianarda authored
-
- 22 Jun, 2021 1 commit
-
-
Andrea Gianarda authored
Add method to update or add SRTP stream See merge request !5
-
- 21 Jun, 2021 1 commit
-
-
Andrea Gianarda authored
-
- 24 Aug, 2020 4 commits
-
-
Julien Wadel authored
Fix target name in install See merge request !4
-
Julien Wadel authored
-
Julien Wadel authored
Generic pdb installation See merge request !3
-
Julien Wadel authored
-
- 25 Oct, 2019 1 commit
-
-
Nicolas Michon authored
Correct installation path under Debian and derivatives See merge request !1
-
- 21 Oct, 2019 1 commit
-
-
Nicolas Michon authored
-
- 25 Oct, 2018 1 commit
-
-
Ghislain MARY authored
-
- 17 May, 2018 1 commit
-
-
Simon Morlat authored
-
- 15 May, 2018 1 commit
-
-
Pascal Buhler authored
-
- 08 May, 2018 1 commit
-
-
Pascal Bühler authored
Update changes preparing for 2.2.0 release
-
- 07 May, 2018 1 commit
-
-
Pascal Buhler authored
-
- 02 May, 2018 1 commit
-
-
Pascal Bühler authored
-
- 16 Apr, 2018 1 commit
-
-
Pascal Bühler authored
Compatibilty with LibreSSL
-
- 09 Apr, 2018 1 commit
-
-
JonathanS authored
-
- 04 Apr, 2018 1 commit
-
-
Pascal Bühler authored
Set gcm IV directly with EVP_CipherInit_ex
-
- 12 Mar, 2018 4 commits
-
-
Pascal Bühler authored
Add extern to global variables
-
Pascal Bühler authored
prevent potential double free
-
Pascal Bühler authored
Fix unprotect when pktlen < (2*mki_size + tag_len)
-
Martin Vopatek authored
-
- 07 Mar, 2018 2 commits
-
-
Martin Vopatek authored
The condition mki_start_location >= *mki_size in srtp_get_session_keys() should use base_mki_start_location. Now the condition is false for packets < 2*mki_size + tag_len. But as of commit d4bd43c9 the correct condition is now checked earlier so we simply remove the expression altogether.
-
Pascal Buhler authored
If alloc of icm fails then set *c to NULL after freeing so it will not be freed again. This is the same pattern used when allocating other ciphers.
-
- 06 Mar, 2018 3 commits
-
-
Pascal Buhler authored
be consistant
-
Pascal Buhler authored
be even more defensive
-
Pascal Buhler authored
Prevents multiple definitions. Depending on linker it was possible that there would be one definition per compilation unit.
-
- 26 Feb, 2018 1 commit
-
-
Pascal Buhler authored
Setting the IV directly with EVP_CipherInit_ex will save two calls to openssl and simplify the code. There is a comment that the 3 calls are required but I am not sure why, EVP_CTRL_GCM_SET_IV_FIXED will just store the vector and EVP_CTRL_GCM_IV_GEN will use it internally and then increment the last digits before returning it in iv variable passed in. EVP_CipherInit_ex will store the iv and use it internally. Incrementing and retrieving the new IV is not required for SRTP-GCM, a new IV is used for each packet. Tested with openssl 1.0.1d & 1.0.2g
-
- 15 Feb, 2018 1 commit
-
-
Pascal Bühler authored
Memory access fixes
-
- 09 Feb, 2018 4 commits
-
-
Pascal Buhler authored
If the mki index is not valid then a NULL session key should be returned not just defaulting to first. This allows the protect functions to return with error bad mki.
-
Pascal Buhler authored
The srtp_get_protect_trailer_length needs to ensure that the returned value is large enough for any of the streams in the session. When a session is initialized with multiple polices it is possible to have different tag lengths for each policy. This function provides no way to specify which policy to use, so for now loop over all and find largest. The current function now has limited use so suggest to make two functions, one that takes ssrc or packet header so correct stream can be used, second function that takes a policy. # Conflicts: # srtp/srtp.c
-
Pascal Buhler authored
The session_keys array is not shared with the template so if it was allocated just free it.
-
Pascal Buhler authored
The template may not have been used for the deallocated stream, therefore the size of the session_keys array could be different. Should maybe contain a pointer to template from stream so it is explicitly known that it was used.
-
- 08 Feb, 2018 1 commit
-
-
Pascal Bühler authored
Fix memory access issue in srtp_get_session_keys()
-
- 07 Feb, 2018 2 commits
-
-
Pascal Buhler authored
logic in srtp_stream_free was not correct and could result in memory access errors, srtp_stream_dealloc can safely be used instead and is "more" correct.
-
marcus authored
Issue: In srtp_get_session_keys(), when packet size (*pkt_octet_len) is greater than auth tag length but smaller than (auth tag length + MKI size), mki_start_location would take on incredible huge values, leading to memory access issue when calling memcmp() on iOS platform. Fix: Add additional sanity check before calculating mki_start_location.
-