1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
Rémi Denis-Courmont
0a1ec743ab Ignore test binaries 2008-12-07 14:35:25 +02:00
Rémi Denis-Courmont
bc3af7e7aa SRTP: check buffer length before sequence 2008-06-15 22:40:33 +03:00
Rémi Denis-Courmont
fa14c09227 SRTP: test the parser 2008-06-15 22:06:54 +03:00
Rémi Denis-Courmont
8650df15a2 SRTP: fix parser 2008-06-15 22:06:54 +03:00
Rémi Denis-Courmont
6fecdb7f11 Fix make check too 2008-06-10 22:37:17 +03:00
Rémi Denis-Courmont
086a3bc3ee SRTP: try to fix dependent libraries 2008-06-07 21:18:20 +03:00
Rémi Denis-Courmont
7788eb7925 SRTP: support for parsing key and salt from a string 2008-06-07 21:17:57 +03:00
Rémi Denis-Courmont
7849b24961 More avoidable directories 2008-05-04 15:51:15 +03:00
Rémi Denis-Courmont
36d62b4022 Remove useless mutex (pthread_once is enough) 2008-01-21 16:15:41 +00:00
Rémi Denis-Courmont
dc884574f7 Add real SRTP unit test (85% coverage let alone SRTCP) 2007-05-17 18:37:44 +00:00
Rémi Denis-Courmont
2a0e2bd242 Fix hashing when using RFC4711 2007-05-17 18:27:25 +00:00
Rémi Denis-Courmont
3f3025aa79 Fix incorrect hash size limit 2007-05-17 17:36:59 +00:00
Rémi Denis-Courmont
b0f4597349 Fix initialization 2007-05-17 17:03:56 +00:00
Rémi Denis-Courmont
7bdd4ba5b1 Untested support for RFC4771:
Integrity Transform Carrying Roll-Over Counter for SRTP

Once debugged, it should provide a simple way to synchronize live
(multicast...) secure streams.
2007-03-11 18:53:53 +00:00
Rémi Denis-Courmont
9c7f833f24 Leverage libgcrypt CounTeR mode implementation to simplify our code 2007-03-11 14:58:40 +00:00
Rémi Denis-Courmont
263b77a37a API cleanup 2007-03-11 13:18:05 +00:00
Rémi Denis-Courmont
67da4884c3 SRTP/SRTCP receive window for replay attack protection 2007-03-10 21:01:13 +00:00
Rémi Denis-Courmont
0eeb4286f4 Ahem. Fix crappy previous commit. 2007-03-10 20:15:36 +00:00
Rémi Denis-Courmont
5c09dbbad9 Maintain the SRTCP index
This is not very useful at the moment, but will be needed for proper
replay attack protection
2007-03-10 20:08:33 +00:00
Rémi Denis-Courmont
54a4638723 Fix SRTP Roll-Over-Counter handling 2007-03-10 20:00:10 +00:00
Rémi Denis-Courmont
9775069d0b Remove window size parameter.
It has to be at least 64, and it is too complicated to implement a bigger
value, so it's not going to be configurable
2007-03-10 19:25:39 +00:00
Rémi Denis-Courmont
e5c071abd8 SRTCP support 2007-03-10 18:06:47 +00:00
Rémi Denis-Courmont
eb7428c1d3 RTP HMAC-SHA1 authentication 2007-03-10 16:28:20 +00:00
Rémi Denis-Courmont
22c5fe4ae5 Partial Win32 compile fix 2007-03-10 15:06:06 +00:00
Rémi Denis-Courmont
10ee356e22 Initial support for Secure Real-Time Protocol (RFC3711) - refs #321
Uses libgcrypt, as we have it in our deps/contrib already for GnuTLS.

This could be used in both "UDP"[1] access and access output plugins,
though they should really be called "RTP" instead nowadays.

Done:
 - AES(-128) Counter Mode key derivation and RTP en-/decryption
 - test vectors for AES-CM
 - NULL cipher (with the *_UNENCRYPTED flags) - untested

To do (missing mandatory features):
 - RTCP en-/decryption
 - HMAC-SHA1 authentication
 - replay attack protection

Also to probably do:
 - integrate with udp access and access output plugins
 - integrate with RTSP server (err, I won't do that myself)
 - support for Transform Carrying ROC for SRTP (RFC4771)
   so we can use it easily for multicast streaming
2007-03-10 14:49:39 +00:00