Skip to content

Tags: zcc0077/srtp

Tags

v3.0.4

Toggle v3.0.4's commit message
Reduce GC pressure on xorBytesCTR

Fixes pion/webrtc#2877

v3.0.3

Toggle v3.0.3's commit message
Added support for NULL ciphers

Added support for NULL ciphers. When they are used, created SRTP and
SRTCP packets are authenticated only (no encryption).

Received SRTP/SRTCP packets are checked if their authentication tag
is valid, and extra SRTP protocol fields are removed before returning
then to application.

Fixed processing of SRTCP packets with E (encryption) bit cleared,
previously duplicate check and tag valiation was not performed, and
whole packet was returned as-is (with extra fields) from decryptRTCP.

Use of NULL ciphers can be enabled independently for SRTP and SRTCP
using SRTPNoEncryption and SRTCPNoEncryption options. They can be used
with key exchange protocols which allows to configure them separately.

Added support for SRTP_NULL_HMAC_SHA1_80 and SRTP_NULL_HMAC_SHA1_32
cipher suites. They use key and salt of the same length as AES_CM_128
ones.

Added new tests to verify test vectors from RFCs.

v2.0.20

Toggle v2.0.20's commit message
Added support for NULL ciphers

Added support for NULL ciphers. When they are used, created SRTP and
SRTCP packets are authenticated only (no encryption).

Received SRTP/SRTCP packets are checked if their authentication tag
is valid, and extra SRTP protocol fields are removed before returning
then to application.

Fixed processing of SRTCP packets with E (encryption) bit cleared,
previously duplicate check and tag valiation was not performed, and
whole packet was returned as-is (with extra fields) from decryptRTCP.

Use of NULL ciphers can be enabled independently for SRTP and SRTCP
using SRTPNoEncryption and SRTCPNoEncryption options. They can be used
with key exchange protocols which allows to configure them separately.

Added support for SRTP_NULL_HMAC_SHA1_80 and SRTP_NULL_HMAC_SHA1_32
cipher suites. They use key and salt of the same length as AES_CM_128
ones.

Added new tests to verify test vectors from RFCs.

v3.0.2

Toggle v3.0.2's commit message
New SRTP cipher test suite

Moved tests from srtp_cipher_aead_aes_gcm_test.go to new file, cleaned
up their code to make it more DRY. Added tests for AES CM ciphers there
too.

This new cipher test suite will make it easier to add tests for new
SRTP features without lots of copy/paste.

v2.0.19

Toggle v2.0.19's commit message
Fix packet length validation, new cipher tests

This is v2 CP of two commits from master:

Fix packet length validation
Missing packet length validations could cause crash.

New SRTP cipher test suite
Moved tests from srtp_cipher_aead_aes_gcm_test.go to new file, cleaned
up their code to make it more DRY. Added tests for AES CM ciphers there
too.
This new cipher test suite will make it easier to add tests for new
SRTP features without lots of copy/paste.

v3.0.1

Toggle v3.0.1's commit message
Update module github.com/pion/rtcp to v1.2.12

Generated by renovateBot

v2.0.18

Toggle v2.0.18's commit message
Update pion/rtcp and pion/rtcp

Use latest releases

v3.0.0

Toggle v3.0.0's commit message
Start pion/srtp/v3

pion/transport/v3 has a breaking change in ReplayDetector

v2.0.17

Toggle v2.0.17's commit message
Update module github.com/pion/transport to v2.2.3

v2.0.16

Toggle v2.0.16's commit message
Add options to set custom replay detector

Support using custom implementation of replay detector.