OLD | NEW |
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 Loading... |
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 Loading... |
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 */ |
OLD | NEW |