Commit Graph

14 Commits (5a770f79c39cd8fbe43b767b1ae805e5601c813a)

Author SHA1 Message Date
Jonas Herzig 5a770f79c3 Use ROC of current packet, not last one, for SRTP signatures 2018-11-12 23:01:06 +01:00
Jonas Herzig a554f58696 Add test for production SRTP sample with rollover 2018-11-12 23:01:06 +01:00
Jonas Herzig bda8ce2295 Add SRT(C)P replay protection 2018-11-09 13:35:04 +01:00
Jonas Herzig aa4927724b Support writing of SRTP and SRTCP packets 2018-11-09 02:35:09 +01:00
Jonas Herzig 6b240df1f2 Merge SrtpContext and SrtcpContext into Context<Protocol>
Primarily to reduce duplication of code
2018-11-09 02:31:43 +01:00
Jonas Herzig 0b5229d36f Support key_derivation_rate and fix update_session_keys only working by accident 2018-11-08 17:15:15 +01:00
Jonas Herzig febcc71ac8 Fix SRTCP packet index being 47 bits (it's 31 bits) 2018-11-08 17:13:50 +01:00
Jonas Herzig 1a1d40a175 Add method for estimating SRTP packet indices 2018-11-08 17:06:19 +01:00
Jonas Herzig 2cce4ef3bb Allow configuration of the authentication algorithm used in rfc3711
Only one algorithm is currently implemented. This is mainly for
future-proofing.
2018-11-08 14:00:03 +01:00
Takeru Ohta 4cbba5358c Apply rustfmt-0.99.4 2018-11-05 20:26:45 +09:00
Takeru Ohta 88b02115fc Refactor AES decription code 2017-03-27 10:45:20 -07:00
Takeru Ohta e766d719b7 Fix SRTP packet decryption bug 2017-03-27 09:37:22 -07:00
Takeru Ohta 523d224a05 Add `RtcpCompoundPacket` 2017-03-26 08:23:57 -07:00
Takeru Ohta 79cab9d2c5 Add rfc3711 module 2017-03-26 06:00:12 -07:00