comparison aes.c @ 207:b5ff46799eea libavutil

move #include log.h into the selftesting code where it belongs
author michael
date Mon, 15 Jan 2007 01:33:56 +0000
parents cd7c6ff2132c
children d846d66f99e9
comparison
equal deleted inserted replaced
206:cd7c6ff2132c 207:b5ff46799eea
19 * 19 *
20 * some optimization ideas from aes128.c by Reimar Doeffinger 20 * some optimization ideas from aes128.c by Reimar Doeffinger
21 */ 21 */
22 22
23 #include "common.h" 23 #include "common.h"
24 #include "log.h"
25 #include "aes.h" 24 #include "aes.h"
26 25
27 typedef struct AVAES{ 26 typedef struct AVAES{
28 uint8_t round_key[15][4][4]; 27 uint8_t round_key[15][4][4];
29 uint8_t state[4][4]; 28 uint8_t state[4][4];
180 179
181 return 0; 180 return 0;
182 } 181 }
183 182
184 #ifdef TEST 183 #ifdef TEST
184 #include "log.h"
185 185
186 int main(){ 186 int main(){
187 int i,j; 187 int i,j;
188 AVAES ae, ad, b; 188 AVAES ae, ad, b;
189 uint8_t rkey[2][16]= { 189 uint8_t rkey[2][16]= {