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

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

Issue 889083003: Update libsrtp to upstream 1.5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libsrtp@master
Patch Set: Updated to libsrtp 1.5.1 Created 5 years, 10 months 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/crypto/include/crypto_kernel.h ('k') | srtp/crypto/include/datatypes.h » ('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 * crypto_types.h 2 * crypto_types.h
3 * 3 *
4 * constants for cipher types and auth func types 4 * constants for cipher types and auth func types
5 * 5 *
6 * David A. McGrew 6 * David A. McGrew
7 * Cisco Systems, Inc. 7 * Cisco Systems, Inc.
8 */ 8 */
9 /* 9 /*
10 * 10 *
11 * Copyright(c) 2001-2006 Cisco Systems, Inc. 11 * Copyright(c) 2001-2006,2013 Cisco Systems, Inc.
12 * All rights reserved. 12 * All rights reserved.
13 * 13 *
14 * Redistribution and use in source and binary forms, with or without 14 * Redistribution and use in source and binary forms, with or without
15 * modification, are permitted provided that the following conditions 15 * modification, are permitted provided that the following conditions
16 * are met: 16 * are met:
17 * 17 *
18 * Redistributions of source code must retain the above copyright 18 * Redistributions of source code must retain the above copyright
19 * notice, this list of conditions and the following disclaimer. 19 * notice, this list of conditions and the following disclaimer.
20 * 20 *
21 * Redistributions in binary form must reproduce the above 21 * Redistributions in binary form must reproduce the above
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 */ 134 */
135 #define AES_128_CBC AES_CBC 135 #define AES_128_CBC AES_CBC
136 136
137 /** 137 /**
138 * @brief Strongest available cipher. 138 * @brief Strongest available cipher.
139 * 139 *
140 * This identifier resolves to the strongest cipher type available. 140 * This identifier resolves to the strongest cipher type available.
141 */ 141 */
142 #define STRONGHOLD_CIPHER AES_ICM 142 #define STRONGHOLD_CIPHER AES_ICM
143 143
144 /**
145 * @brief AES-192 Integer Counter Mode (AES ICM)
146 * AES-192 ICM is a deprecated alternate name for AES ICM.
147 */
148 #define AES_192_ICM 4
149
150 /**
151 * @brief AES-256 Integer Counter Mode (AES ICM)
152 * AES-256 ICM is a deprecated alternate name for AES ICM.
153 */
154 #define AES_256_ICM 5
155
156 /**
157 * @brief AES-128_GCM Galois Counter Mode (AES GCM)
158 *
159 * AES-128 GCM is the variant of galois counter mode that is used by
160 * Secure RTP. This cipher uses a 16-octet key.
161 */
162 #define AES_128_GCM 6
163
164 /**
165 * @brief AES-256_GCM Galois Counter Mode (AES GCM)
166 *
167 * AES-256 GCM is the variant of galois counter mode that is used by
168 * Secure RTP. This cipher uses a 32-octet key.
169 */
170 #define AES_256_GCM 7
171
144 /** 172 /**
145 * @} 173 * @}
146 */ 174 */
147 175
148 176
149 177
150 /** 178 /**
151 * @defgroup Authentication Authentication Function Types 179 * @defgroup Authentication Authentication Function Types
152 * 180 *
153 * @brief Each authentication function type is identified by an 181 * @brief Each authentication function type is identified by an
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 #define STRONGHOLD_AUTH HMAC_SHA1 239 #define STRONGHOLD_AUTH HMAC_SHA1
212 240
213 /** 241 /**
214 * @} 242 * @}
215 */ 243 */
216 /** 244 /**
217 * @} 245 * @}
218 */ 246 */
219 247
220 #endif /* CRYPTO_TYPES_H */ 248 #endif /* CRYPTO_TYPES_H */
OLDNEW
« no previous file with comments | « srtp/crypto/include/crypto_kernel.h ('k') | srtp/crypto/include/datatypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698