Mike Jerris
3bcf5b7ff8
FS-9785: upgrade libsrtp to 2.1
2017-06-26 14:14:36 -05:00
Spencer Thomason
c08809e290
FS-8783: [libsrtp] Fix alignment issue
...
Backport upstream alignment fix to correct bus error on platforms
that require strict memory alignment such as SPARC
FS-8783 #resolve
From upstream:
commit 4d8430a504137509f23b5a19f8a06b6df0f651cc
Author: Jaap Keuter <jaap.keuter@xs4all.nl>
Date: Fri Nov 7 00:13:10 2014 +0100
While setting the IV for AES ICM the nonce is simply typecast from
a void * to a v128_t *. This breaches alignment requirements for
v128_t objects on platforms that require it.
Instead make a copy of the nonce to assure proper alignment.
2016-07-22 07:37:21 -07:00
Michael Jerris
a99f06dfc6
sync changes from srtp upstream
2014-07-08 10:26:08 -04:00
jfigus
024162cfc9
Add support for 16-byte auth tag for AES GCM mode.
2014-06-30 19:18:20 +00:00
jfigus
b9da5149e2
Set the algorithm member on cipher_t when allocating AES crypto instance. Apply same fix to NULL cipher.
2014-06-30 19:18:20 +00:00
jfigus
a31491d5b6
This commit resolves issue #46 . The GCM mode was using the wrong master SALT length. The master SALT should be 96 bits instead of 112 bits. Note, GCM mode uses the legacy CTR mode for the KDF. The legagacy CTR mode cipher implementations assume a 112 bit SALT. Changes to the cipher abstraction layer API are required to provide the ability to specify the SALT length. For now this commit modifies the SRTP layer to ensure the SALT is zero-appended before initializing the KDF. This commit also provides public definitions for the GCM cipher suite master key sizes to avoid confusion for application developers.
2014-04-08 15:25:39 +00:00
Seven Du
4fd93b0e67
Revert "fix compiler warning vs2010" - Jeff is faster than I
...
This reverts commit fa9217117a
.
2014-02-25 14:24:34 +08:00
Seven Du
fa9217117a
fix compiler warning vs2010
2014-02-25 14:17:28 +08:00
Michael Jerris
80c7eb85e6
update libsrtp to use openssl
2014-02-24 09:52:25 -05:00
Jeff Lenk
998b656799
remove some _MSC_VER stuff
2014-01-31 12:35:55 -06:00
Jeff Lenk
035985859c
reapply several compiler fixes after last commit
2014-01-31 08:54:26 -06:00
Michael Jerris
91eb5b237d
update srtp to master part 1
2014-01-30 16:55:56 -05:00
Jeff Lenk
d627f7c23d
windows compiler warnings
2013-04-01 17:09:37 -05:00
Anthony Minessale
72e2d183c1
update to cvs head srtp
2013-03-31 21:27:19 -05:00
Brian West
0fbe609afb
FSCORE-280
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 18:01:17 +00:00
Michael Jerris
e415095df3
up the msvc warning level on srtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3099 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 06:29:49 +00:00
Michael Jerris
abda472017
srtp msvc updates and cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-07 16:34:02 +00:00
Anthony Minessale
b3d890ef25
add srtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1086 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-07 16:10:03 +00:00