diff md5.c @ 318:a989eb26fcdd libavutil

explain where the T table comes from
author michael
date Wed, 14 Mar 2007 19:43:31 +0000
parents 0846319fed73
children aac7ff53ef86
line wrap: on
line diff
--- a/md5.c	Wed Mar 14 01:59:53 2007 +0000
+++ b/md5.c	Wed Mar 14 19:43:31 2007 +0000
@@ -49,7 +49,7 @@
     { 6, 10, 15, 21 }   /* Round 4 */
 };
 
-static const uint32_t T[64] = {
+static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32)
     0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee,   /* Round 1 */
     0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501,
     0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be,