Commit Graph

15 Commits

Author SHA1 Message Date
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
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