Skip to content

Tags: kingqn0321/srtp

Tags

v3.0.8

Toggle v3.0.8's commit message
Do not recalculate RTP header size

v3.0.7

Toggle v3.0.7's commit message
Implemented RFC 9335 aka Cryptex

Implemented support for RFC 9335 - Completely Encrypting RTP Header
Extensions and Contributing Sources. To use it, create Context with
Cryptex option.

v3.0.6

Toggle v3.0.6's commit message
Fixes to use the same buffer as input and output

Added checks for the same buffer to stop copying data when not needed.
Also fixed srtpCipherAesCmHmacSha1 to work with one buffer when
encrypting and decrypting RTCP packets.

v3.0.5

Toggle v3.0.5's commit message
Properly encrypt RTP packets with padding

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