comparison sha1.c @ 292:d1f03d9014cb libavutil

dont recommand testing with -O3
author michael
date Mon, 12 Mar 2007 21:21:57 +0000
parents 78b11473f66a
children f75e55461c54
comparison
equal deleted inserted replaced
291:78b11473f66a 292:d1f03d9014cb
120 digest[i] = context->state[i>>2] >> ((3-(i & 3)) * 8) ; 120 digest[i] = context->state[i>>2] >> ((3-(i & 3)) * 8) ;
121 } 121 }
122 } 122 }
123 123
124 // use the following to test 124 // use the following to test
125 // gcc -DTEST -DHAVE_AV_CONFIG_H -I.. sha1.c -O3 -W -Wall -o sha1 && time ./sha1 125 // gcc -DTEST -DHAVE_AV_CONFIG_H -I.. sha1.c -O2 -W -Wall -o sha1 && time ./sha1
126 #ifdef TEST 126 #ifdef TEST
127 #include <stdio.h> 127 #include <stdio.h>
128 #undef printf 128 #undef printf
129 129
130 int main(){ 130 int main(){