Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: srtp/include/srtp.h

Issue 1434033004: Update libsrtp to upstream commit be95365fbb4788b688cab7af61c65b7989055fb4 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libsrtp@master
Patch Set: Updated to libsrtp be95365fbb4788b688cab7af61c65b7989055fb4 Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « srtp/doc/rfc3711.txt ('k') | srtp/srtp/srtp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * srtp.h 2 * srtp.h
3 * 3 *
4 * interface to libsrtp 4 * interface to libsrtp
5 * 5 *
6 * David A. McGrew 6 * David A. McGrew
7 * Cisco Systems, Inc. 7 * Cisco Systems, Inc.
8 */ 8 */
9 /* 9 /*
10 * 10 *
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 /* 73 /*
74 * SRTP_MAX_KEY_LEN is the maximum key length supported by libSRTP 74 * SRTP_MAX_KEY_LEN is the maximum key length supported by libSRTP
75 */ 75 */
76 #define SRTP_MAX_KEY_LEN 64 76 #define SRTP_MAX_KEY_LEN 64
77 77
78 /* 78 /*
79 * SRTP_MAX_TAG_LEN is the maximum tag length supported by libSRTP 79 * SRTP_MAX_TAG_LEN is the maximum tag length supported by libSRTP
80 */ 80 */
81 81
82 #define SRTP_MAX_TAG_LEN 12 82 #define SRTP_MAX_TAG_LEN 16
83 83
84 /** 84 /**
85 * SRTP_MAX_TRAILER_LEN is the maximum length of the SRTP trailer 85 * SRTP_MAX_TRAILER_LEN is the maximum length of the SRTP trailer
86 * (authentication tag and MKI) supported by libSRTP. This value is 86 * (authentication tag and MKI) supported by libSRTP. This value is
87 * the maximum number of octets that will be added to an RTP packet by 87 * the maximum number of octets that will be added to an RTP packet by
88 * srtp_protect(). 88 * srtp_protect().
89 * 89 *
90 * @brief the maximum number of octets added by srtp_protect(). 90 * @brief the maximum number of octets added by srtp_protect().
91 */ 91 */
92 #define SRTP_MAX_TRAILER_LEN SRTP_MAX_TAG_LEN 92 #define SRTP_MAX_TRAILER_LEN SRTP_MAX_TAG_LEN
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 #define SRTCP_E_BIT 0x80000000 1257 #define SRTCP_E_BIT 0x80000000
1258 /* for byte-access */ 1258 /* for byte-access */
1259 #define SRTCP_E_BYTE_BIT 0x80 1259 #define SRTCP_E_BYTE_BIT 0x80
1260 #define SRTCP_INDEX_MASK 0x7fffffff 1260 #define SRTCP_INDEX_MASK 0x7fffffff
1261 1261
1262 #ifdef __cplusplus 1262 #ifdef __cplusplus
1263 } 1263 }
1264 #endif 1264 #endif
1265 1265
1266 #endif /* SRTP_H */ 1266 #endif /* SRTP_H */
OLDNEW
« no previous file with comments | « srtp/doc/rfc3711.txt ('k') | srtp/srtp/srtp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698