Richard Fuchs
f2d7e71b07
TT#108552 update crypto suite preference ordering
Change-Id: I7f192fda512d90b0ab05ff4856891eb0f348a157
5 years ago
Richard Fuchs
6602a3a7c5
TT#108551 add kernel support for AEAD-AES-GCM
Also amends tests plus additional clean ups
Closes #1133
Change-Id: I0dad7b8aad9cff1b019323c7ac5a356830ab09ad
5 years ago
SPChan
0c4110779d
TT#108551 add support for AEAD-AES-GCM
close PR #1133
Squashed commit of:
commit b5009eff0b
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 11:40:17 2020 +0800
crypto.c: handle 12 bytes master salt length of AEAD
AEAD RFC7714 specifies 12 bytes master salt length
(section 12) but the KDF expects 14 bytes.
The erratum to RFC7714 specifies to pad on the right
by 16 bits to be compliant with the KDF.
https://www.rfc-editor.org/errata_search.php?rfc=7714
commit 30ba71f10c
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 09:31:00 2020 +0800
crypto.c: AEAD make clear which operations are for AAD
commit 3e4d87681d
Author: SPChan <shihping.chan@gmail.com>
Date: Thu Dec 10 19:38:51 2020 +0800
Implement RFC7714 ciphers: AEAD AES
Initial userspace only implementation
Change-Id: I8624b255e4fd83a5ca418655ef117c48e56e2379
5 years ago
Richard Fuchs
e9bdbb1ee6
TT#97301 fix removal of debug_srtp
closes #1162
Change-Id: I02b81a6f9d9fd6910ce6ed2995bfba16d59b027e
5 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
5 years ago
Richard Fuchs
a1fb92353a
TT#28300 eliminate free_buf in favour of free_gbuf
Change-Id: I128265ff2783c94b897de8ea58b99811fbbe3607
6 years ago
Richard Fuchs
0cd8883639
TT#78203 add SRTP debug options
closes #956
Change-Id: I751f6bc1ea9228b257f6258dbb1927276db10c99
6 years ago
Richard Fuchs
26b725d024
TT#45617 add new options to support log markers for sensitive data
Change-Id: I2ffa4da4be3a05f043e7991612bbb37d8102d91a
7 years ago
Alexey Vasilyev
0c9bb7c440
Rename crypto suits according to RFC6188
7 years ago
Richard Fuchs
c80f55b85a
TT#49600 add debug log output for SDES negotiations
Change-Id: Ifb49d202bfa691cba63f86192e5730f1446ba1b9
7 years ago
Richard Fuchs
881e0dc2dc
TT#48800 add option to disable individual SDES crypto suites
closes #661
Change-Id: I3556977246d6e15bf134755e1d699e9165735886
7 years ago
Tor Petterson
590b752bbd
Added option to write SRTP keys to log
7 years ago
Richard Fuchs
cab9d895b2
TT#42500 fix only one crypto suite being offered.
We should offer all crypto suites that we support. If passing through
SDES, we should amend the list of crypto suites with all additional ones
that we support that weren't included in the received offer.
closes #577
Change-Id: I9b6c16e8eadecf01cdbc8043bd8361e0f683e456
7 years ago
Richard Fuchs
2fc2b3bab7
fix possible null pointer segfault when using log level 7
Apparently it's possible that ps->selected_sfd is not from the ps->sfds
list, in which case the selected_sfd->crypto context will be left
uninitialized.
fixes #489
Change-Id: I844d9ba1d7e97a80b1f26769c1ea1e99cc2320b9
8 years ago
Richard Fuchs
c1711ea948
TT#12800 consolidate and combine RTCP parsing and logging
Change-Id: I8690b5d180b3eaf1c1b0b4295734609c5125a453
9 years ago
Anthony Alba
b1e259c109
Document libsrtp AES-256 SRTCP bug for interop
9 years ago
Richard Fuchs
5c0dc629c1
consolidate AES crypto suites for different key lengths
Change-Id: I2d031ed7dd6b9154203b79f2a6dba2b246d2063b
9 years ago
Anthony Alba
d5cecc500f
Add AES-192, AES-256 CM to kernel SRTP
9 years ago
Anthony Alba
357bb1d50f
Refactor to add explicit session key init functions
9 years ago
Anthony Alba
b8a2f015ad
Initial support for AES-192, AES-256 in userspace
9 years ago
Richard Fuchs
1d5668d793
compile fixes for openssl >= 1.1.0
Change-Id: I815c89dde5b6e85b9887dcaf04c25f0a45dcfd5c
9 years ago
Richard Fuchs
7395f8bef1
TT#5566 recognize and ignore (for now) RTCP packets
Change-Id: Ife95c9506a652b5410380963dbc1cf98f4ace611
9 years ago
Richard Fuchs
d7fa0689f9
TT#5566 rudimentary wav file output
Change-Id: Icdc97a9dc849bba6ba6add12d0bdd17f8b7712cd
9 years ago
Richard Fuchs
c3c6d37c7d
convert ssrc tracking functions to inline
11 years ago
Richard Fuchs
76f3893464
ssrc tracking improvements
change ssrc tracking code to a hash table and delay creation of hash
table and ssrc lookup until a change in ssrc is actually seen
11 years ago
Marc Soda
16b91847f9
Track SSRCs and sequence numbers. Sync between userspace and the kernel.
11 years ago
Richard Fuchs
37d98ad3ed
dump DTLS cert and keys
11 years ago
Richard Fuchs
0113991ef5
MT#9585 rename kernel module and all related items from MEDIAPROXY to RTPENGINE
11 years ago
Richard Fuchs
f8f741b584
Update to upcoming 3.0 release (2.9.9 for now)
Merged from branch rfuchs/3.0
Conflicts:
daemon/sdp.c
debian/changelog
tests/simulator-ng.pl
utils/ng-client
12 years ago
Richard Fuchs
0a4418cd4b
consistent use of existing macros
13 years ago
Richard Fuchs
d1ce4eb9a8
aes-f8 goes kernel
13 years ago
Richard Fuchs
03e120a7fb
aes-f8 performance improvement
13 years ago
Richard Fuchs
a2b9d4048e
core-dump and srtcp auth tag length bugfixes
13 years ago
Richard Fuchs
97f9c3d398
SRTP daemon<>kernel tie-in
13 years ago
Richard Fuchs
c0253ae8b7
use the session key context for the f8 transformatino too
13 years ago
Richard Fuchs
05c1ade246
adding some const for good measure
13 years ago
Richard Fuchs
be51f00feb
teeny tiny performance fix
13 years ago
Richard Fuchs
9e629d73e3
stop with the bit-length silliness, give key/tag lengths in bytes
13 years ago
Richard Fuchs
f38fe3f1e0
create a dedicated session key context to save some cpu
13 years ago
Richard Fuchs
6ba61b728c
aes-f8 performence improvements
13 years ago
Richard Fuchs
53b99f39d9
some aes-cm performance improvements
13 years ago
Richard Fuchs
6c84ee466a
implement aes-f8 mode encryption and decryption
13 years ago
Richard Fuchs
1e9c972620
adding some debug output
13 years ago
Richard Fuchs
f821646de7
fix keystream generation
13 years ago
Richard Fuchs
93092e850f
must use the outgoing's side crypto context for out packets, also add some logging
13 years ago
Richard Fuchs
9c8c4c21fa
rtcp has a slightly different key generation algorithm
13 years ago
Richard Fuchs
db72130792
implement srtcp encryption, decryption and authentication
13 years ago
Richard Fuchs
2b61b12c71
implement srtp decryption
13 years ago
Richard Fuchs
212df63857
implementing srtp encryption and authentication
13 years ago
Richard Fuchs
6ee0284b66
remove strangely irrelevant assertion
13 years ago