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

Side by Side Diff: srtp/crypto/include/aes.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/hash/sha1.c ('k') | srtp/crypto/include/aes_cbc.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 * aes.h 2 * aes.h
3 * 3 *
4 * header file for the AES block cipher 4 * header file for the AES block cipher
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 28 matching lines...) Expand all
39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 40 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 41 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
42 * OF THE POSSIBILITY OF SUCH DAMAGE. 42 * OF THE POSSIBILITY OF SUCH DAMAGE.
43 * 43 *
44 */ 44 */
45 45
46 #ifndef _AES_H 46 #ifndef _AES_H
47 #define _AES_H 47 #define _AES_H
48 48
49 #include "config.h"
50
51 #include "datatypes.h" 49 #include "datatypes.h"
52 #include "gf2_8.h" 50 #include "gf2_8.h"
53 #include "err.h" 51 #include "err.h"
54 52
55 /* aes internals */ 53 /* aes internals */
56 54
57 typedef struct { 55 typedef struct {
58 v128_t round[15]; 56 v128_t round[15];
59 int num_rounds; 57 int num_rounds;
60 } aes_expanded_key_t; 58 } aes_expanded_key_t;
(...skipping 20 matching lines...) Expand all
81 */ 79 */
82 80
83 void 81 void
84 aes_init_sbox(void); 82 aes_init_sbox(void);
85 83
86 void 84 void
87 aes_compute_tables(void); 85 aes_compute_tables(void);
88 #endif 86 #endif
89 87
90 #endif /* _AES_H */ 88 #endif /* _AES_H */
OLDNEW
« no previous file with comments | « srtp/crypto/hash/sha1.c ('k') | srtp/crypto/include/aes_cbc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698