chromium/deps/libsrtp.git
4 days ago[MIPS] Define 'CPU_CISC' for mips as aes calculation is incorrect for 'CPU_RISC' master
Gordana.Cmiljanovic@imgtec.com [Tue, 28 Oct 2014 09:22:50 +0000 (09:22 +0000)]
[MIPS] Define 'CPU_CISC' for mips as aes calculation is incorrect for 'CPU_RISC'

Review URL: https://codereview.chromium.org/639123008

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@292694 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 weeks agoUse FORCE_64BIT_ALIGN on 32-bit platforms to make sure that aes_cbc_ctx_t allocated...
jiayl@chromium.org [Mon, 22 Sep 2014 22:04:31 +0000 (22:04 +0000)]
Use FORCE_64BIT_ALIGN on 32-bit platforms to make sure that aes_cbc_ctx_t allocated by aes_cbc_alloc is 64-bit aligned.

BUG=414919
R=sergeyu@chromium.org

Review URL: https://codereview.chromium.org/592173002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@292077 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 weeks agoRevert r292047: Replace compiling flag "-O3" with "-O2" to avoid a compiler bug that...
jiayl@chromium.org [Fri, 19 Sep 2014 20:09:30 +0000 (20:09 +0000)]
Revert r292047: Replace compiling flag "-O3" with "-O2" to avoid a compiler bug that caused a crash

TBR=sergeyu@chromium.org
BUG=414919

Review URL: https://codereview.chromium.org/588703002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@292049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 weeks agoReplace compiling flag "-O3" with "-O2" to avoid a compiler bug that caused a crash.
jiayl@chromium.org [Fri, 19 Sep 2014 18:13:05 +0000 (18:13 +0000)]
Replace compiling flag "-O3" with "-O2" to avoid a compiler bug that caused a crash.

TBR=sergeyu@chromium.org
BUG=414919

Review URL: https://codereview.chromium.org/589623002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@292047 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 weeks agoRevert "Define DEV_URANDOM for posix"
michaelbai@chromium.org [Fri, 5 Sep 2014 00:50:30 +0000 (00:50 +0000)]
Revert "Define DEV_URANDOM for posix"

This reverts commit 401b2cc8125bc7504f9dfef61ca7955550d361c1.

This broke linux-gpu etc. bot

BUG=

Review URL: https://codereview.chromium.org/541263002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@291813 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 months ago[MIPS] Add build support for MIPS64 in libsrtp.
mallinath@chromium.org [Thu, 7 Aug 2014 15:32:34 +0000 (15:32 +0000)]
[MIPS] Add build support for MIPS64 in libsrtp.

BUG=400684

Review URL: https://codereview.chromium.org/447273002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@288046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months agoDefine DEV_URANDOM for posix
michaelbai@chromium.org [Wed, 23 Jul 2014 18:08:00 +0000 (18:08 +0000)]
Define DEV_URANDOM for posix

It seemed that Android, Linux and MacOS support /dev/random. Enable it for OS_POSIX.

BUG=393774
R=juberti@chromium.org

Review URL: https://codereview.chromium.org/392783005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@284994 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 months ago[MIPS] Make srtp_driver compile for MIPS
mallinath@chromium.org [Wed, 16 Jul 2014 17:53:11 +0000 (17:53 +0000)]
[MIPS] Make srtp_driver compile for MIPS

Rename local variable 'mips' to 'mips_value'
as 'mips' is already defined by MIPS version of gcc.

TEST=make srtp_driver

Review URL: https://codereview.chromium.org//399683002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@283418 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoAdd support for arm64
primiano@chromium.org [Thu, 3 Apr 2014 10:17:27 +0000 (10:17 +0000)]
Add support for arm64

Add arm64 target to GYP files.
This is for getting a build of content shell for ARM64.

BUG=354405
R=phajdan.jr@chromium.org

Review URL: https://codereview.chromium.org/222553004

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@261337 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoAdding rdbx_get_packet_index to export list
mallinath@chromium.org [Fri, 14 Feb 2014 08:19:18 +0000 (08:19 +0000)]
Adding rdbx_get_packet_index to export list
which will be used in libjingle.

TBR=sergeyu@chromium.org

Review URL: https://codereview.chromium.org/165403002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@251272 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

8 months agoFix license description in README.chromium.
torne@chromium.org [Wed, 12 Feb 2014 18:24:29 +0000 (18:24 +0000)]
Fix license description in README.chromium.

The license file in srtp/LICENSE is a standard 3-clause BSD license.
Fix the License: field to say so, to satisfy the WebView license
checker.

BUG=
R=mnaganov@chromium.org
TBR=brettw@chromium.org

Review URL: https://codereview.chromium.org/156553003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@250757 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

15 months agoAdding RTP header validation checks to srtp_protect and srtp_unprotect methods.
mallinath@chromium.org [Wed, 31 Jul 2013 18:31:12 +0000 (18:31 +0000)]
Adding RTP header validation checks to srtp_protect and srtp_unprotect methods.

I lost my original CL(https://codereview.chromium.org/19678006/), so creating a new one. Comments are addressed in original CL.

R=juberti@chromium.org, tvsriram@google.com

Review URL: https://codereview.chromium.org/21094005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@214783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

15 months agoChanges to README.chromium
mallinath@chromium.org [Wed, 24 Jul 2013 00:22:54 +0000 (00:22 +0000)]
Changes to README.chromium

Review URL: https://codereview.chromium.org/19841003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@213291 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

15 months agolibsrtp: enable building for iOS devices using armv7
fischman@chromium.org [Fri, 19 Jul 2013 23:53:51 +0000 (23:53 +0000)]
libsrtp: enable building for iOS devices using armv7

BUG=https://code.google.com/p/webrtc/issues/detail?id=2106

Review URL: https://chromiumcodereview.appspot.com/19688006

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@212698 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agouse standard uint/int types for posix systems
sergeyu@chromium.org [Thu, 21 Mar 2013 05:37:21 +0000 (05:37 +0000)]
use standard uint/int types for posix systems

Everyone has sane stdint.h headers nowadays on *nix systems that provide
the uint#_t/int#_t types, so stop trying to let the code guess how best
to define them.

BUG=chromium-os:36866
TEST=compiled the code for x86_64 (64bit) & x86_64 (x32)
Review URL: https://codereview.chromium.org/12381060

Review URL: https://codereview.chromium.org/12472009

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@189528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

19 months agoUpdating srtp to the latest of sourceforge repo
mallinath@chromium.org [Thu, 21 Mar 2013 04:37:20 +0000 (04:37 +0000)]
Updating srtp to the latest of sourceforge repo

Review URL: https://chromiumcodereview.appspot.com/12951013

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@189522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months agoMake libsrtp compile for Win64.
jschuh@chromium.org [Wed, 26 Dec 2012 19:36:04 +0000 (19:36 +0000)]
Make libsrtp compile for Win64.

TBR=scottmg@chromium.org
BUG=166496
Review URL: https://codereview.chromium.org/11640060

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@174628 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

22 months ago.gitignore: Add *.target.mk, created as part of ChromiumOS build
sergeyu@chromium.org [Thu, 13 Dec 2012 22:52:54 +0000 (22:52 +0000)]
.gitignore: Add *.target.mk, created as part of ChromiumOS build

Contributed by Josh Triplett <josh.triplett@intel.com>

BUG=None
TEST=Build Chromium and ChromiumOS from source, and run "repo status",
     with and without this change.

Change-Id: I3d04786cebf9fae943e768e202e132289d07ecdb

Review URL: https://codereview.appspot.com/6943051

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@172990 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoCleanup Name field in libsrtp's README.chromium.
sergeyu@chromium.org [Mon, 26 Nov 2012 20:22:37 +0000 (20:22 +0000)]
Cleanup Name field in libsrtp's README.chromium.

The Name field from README.chromium is used in about:credits. Previously
it was containing description that shouldn't be there. Cleaning it up to make
it consistent with names of other third-party dependencies.

Review URL: https://codereview.chromium.org/11414166

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@169478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

23 months agoFixing the ROC jump forwarded by 1.
mallinath@chromium.org [Fri, 23 Nov 2012 02:07:59 +0000 (02:07 +0000)]
Fixing the ROC jump forwarded by 1.

Fix is done using existing google patch.

BUG=http://code.google.com/p/webrtc/issues/detail?id=978

Review URL: https://chromiumcodereview.appspot.com/11423002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@169313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoLinux: add an option to use system libsrtp
phajdan.jr@chromium.org [Wed, 17 Oct 2012 23:50:04 +0000 (23:50 +0000)]
Linux: add an option to use system libsrtp

This requires a recent CVS snapshot, and build
with vanilla libsrtp-1.4.4 fails:

third_party/libjingle/source/talk/session/media/srtpfilter.cc: In member function 'bool cricket::SrtpSession::SetKey(int, const std::string&, const uint8*, int)':
third_party/libjingle/source/talk/session/media/srtpfilter.cc:571:10: error: 'struct srtp_policy_t' has no member named 'window_size'
third_party/libjingle/source/talk/session/media/srtpfilter.cc:572:10: error: 'struct srtp_policy_t' has no member named 'allow_repeat_tx'

BUG=none
TEST=none
Review URL: https://codereview.chromium.org/11198045

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@162569 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoreplace inline with INLINE and redefine appropriately in libsrtp
scottmg@chromium.org [Tue, 16 Oct 2012 01:25:03 +0000 (01:25 +0000)]
replace inline with INLINE and redefine appropriately in libsrtp

This is required because VS2012 does not allow redefinition of keywords
via macros. However, it also does not support 'inline' in C files (only
in C++). So, define INLINE to inline or __inline depending on the platform.

R=mallinath@chromium.org
BUG=143646

Review URL: https://chromiumcodereview.appspot.com/11147010

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@162022 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years ago[MIPS] Add build support for libsrtp for MIPS.
wjia@chromium.org [Wed, 26 Sep 2012 17:41:03 +0000 (17:41 +0000)]
[MIPS] Add build support for libsrtp for MIPS.

contributed by petarj@mips.com (https://chromiumcodereview.appspot.com/10985037/)

BUG=130022

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@158826 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFixes the buffer overflow read while initializing
mallinath@chromium.org [Tue, 18 Sep 2012 22:20:15 +0000 (22:20 +0000)]
Fixes the buffer overflow read while initializing
the aes_icm_context.

The issue is fixed by applying the below patch, which is not
committed to libsrtp trunk yet.

http://sourceforge.net/tracker/index.php?func=detail&aid=3566388&group_id=38894&atid=423799

BUG=150571

Review URL: https://chromiumcodereview.appspot.com/10952005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@157430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoEnable HAVE_UINT64_T in order to use system defined unsigned integer types on Mac OS.
badea@adobe.com [Thu, 13 Sep 2012 06:40:38 +0000 (06:40 +0000)]
Enable HAVE_UINT64_T in order to use system defined unsigned integer types on Mac OS.

Review URL: https://chromiumcodereview.appspot.com/10907194

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@156504 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoRemoving the action section from the libsrtp.gyp file, as it's not used in deps folder.
mallinath@chromium.org [Wed, 12 Sep 2012 17:05:22 +0000 (17:05 +0000)]
Removing the action section from the libsrtp.gyp file, as it's not used in deps folder.

Review URL: https://chromiumcodereview.appspot.com/10908210

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@156317 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoActions input/output needs empty strings in libsrtp.gyp
mallinath@chromium.org [Thu, 28 Jun 2012 05:53:06 +0000 (05:53 +0000)]
Actions input/output needs empty strings in libsrtp.gyp

In response to, Revert 143250 - Updating libsrtp source code to the latest of deps/third_party/libsrtp.

Review URL: https://chromiumcodereview.appspot.com/10633024

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@144674 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdating libsrtp to the latest, which has some fixes for replay detection.
mallinath@chromium.org [Tue, 19 Jun 2012 18:06:54 +0000 (18:06 +0000)]
Updating libsrtp to the latest, which has some fixes for replay detection.

More detailed information from http://srtp.cvs.sourceforge.net/viewvc/srtp/

1. (rdbx.c) Fix inverted sign of delta return value of index_guess when sequence numbers were rolling backwards across a sequence number rollover.
Add a test to roc_driver to detect this problem (by validating that delta makes
sense).
2. (srtp.c) Call debug_print for key and salt values separately, for both SRTP and SRTCP, instead of printing them as one long string.
3. (roc_driver.c) Added test case to detect sequence number rollover.

Review URL: https://chromiumcodereview.appspot.com/10579021

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@142991 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoChange macro definitions for android/arm and add srtp tests into gyp
leozwang@google.com [Mon, 9 Apr 2012 22:31:02 +0000 (22:31 +0000)]
Change macro definitions for android/arm and add srtp tests into gyp

BUG=
TEST=

Review URL: http://codereview.chromium.org/9956068

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@131459 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFixing define typo mistake in libsrtp git-svn
mallinath@chromium.org [Tue, 28 Feb 2012 01:40:18 +0000 (01:40 +0000)]
Fixing define typo mistake in libsrtp

Review URL: http://codereview.chromium.org/9476030

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@123853 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoRemoving Winsock32 dependency for byte order
mallinath@chromium.org [Tue, 28 Feb 2012 01:07:05 +0000 (01:07 +0000)]
Removing Winsock32 dependency for byte order
conversion methods in libsrtp.

Review URL: http://codereview.chromium.org/9476028

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@123847 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoEnable HAVE_NETINET_IN_H define to include net/inet header files for Unix based OS.
mallinath@google.com [Fri, 10 Feb 2012 18:48:09 +0000 (18:48 +0000)]
Enable HAVE_NETINET_IN_H define to include net/inet header files for Unix based OS.

BUG=112943

Review URL: http://codereview.chromium.org/9372009

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@121481 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFix: Remove reference to config_in.h in libsrtp.gyp.
mallinath@google.com [Mon, 30 Jan 2012 22:04:15 +0000 (22:04 +0000)]
Fix: Remove reference to config_in.h in libsrtp.gyp.
Config files are not used when used with depot tools, hence this files are not generated in chrome.

Review URL: http://codereview.chromium.org/9301015

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@119742 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agolibsrtp config files are not used with chromium. Deleting these unwanted config files...
mallinath@google.com [Fri, 27 Jan 2012 09:38:07 +0000 (09:38 +0000)]
libsrtp config files are not used with chromium. Deleting these unwanted config files from repository.

Review URL: http://codereview.chromium.org/9298004

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@119424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd libsrtp license info to the files which doesn't have.
mallinath@google.com [Fri, 27 Jan 2012 08:26:27 +0000 (08:26 +0000)]
Add libsrtp license info to the files which doesn't have.

Review URL: http://codereview.chromium.org/9121040

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@119409 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agolibsrtp.gyp fix:
mallinath@google.com [Thu, 26 Jan 2012 20:58:42 +0000 (20:58 +0000)]
libsrtp.gyp fix:
  rand_linux_kernel.c not needed, instead rand_source.c provides the functionality, and
  exclude crypto/include/config.h from compilation.

Review URL: http://codereview.chromium.org/9289039

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@119285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agolibsrtp.gyp: fix incorrect headers path and remove unused math.c.
mallinath@google.com [Tue, 24 Jan 2012 23:00:41 +0000 (23:00 +0000)]
libsrtp.gyp: fix incorrect headers path and remove unused math.c.

Review URL: http://codereview.chromium.org/9117020

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@118928 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdding libsrtp to deps/third_party. Libsrtp is critical for secure realtime p2p voice...
mallinath@google.com [Thu, 22 Dec 2011 02:29:50 +0000 (02:29 +0000)]
Adding libsrtp to deps/third_party. Libsrtp is critical for secure realtime p2p voice and video communication.

DEPS file modification to roll into src/third_party will be done in a separate CL.

BUG=
TEST=

Review URL: http://codereview.chromium.org/9019012

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@115467 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoFormatting the readmes in deps to follow the proper format and making sure they conta...
cdn@chromium.org [Mon, 14 Mar 2011 19:29:03 +0000 (19:29 +0000)]
Formatting the readmes in deps to follow the proper format and making sure they contain Short Name and Version fields for version tracking.

BUG=None
TEST=N/A
Review URL: http://codereview.chromium.org/6624034

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@78071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 years agoAdd current version of libSRTP from CVS.
sergeyu@chromium.org [Tue, 21 Sep 2010 18:36:28 +0000 (18:36 +0000)]
Add current version of libSRTP from CVS.
Review URL: http://codereview.chromium.org/3423016

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libsrtp@60080 4ff67af0-8c30-449e-8e8b-ad334ec8d88c