Mercurial > libavutil.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
317:0df19c6b37d0 | 318:a989eb26fcdd |
---|---|
47 { 5, 9, 14, 20 }, /* Round 2 */ | 47 { 5, 9, 14, 20 }, /* Round 2 */ |
48 { 4, 11, 16, 23 }, /* Round 3 */ | 48 { 4, 11, 16, 23 }, /* Round 3 */ |
49 { 6, 10, 15, 21 } /* Round 4 */ | 49 { 6, 10, 15, 21 } /* Round 4 */ |
50 }; | 50 }; |
51 | 51 |
52 static const uint32_t T[64] = { | 52 static const uint32_t T[64] = { // T[i]= fabs(sin(i+1)<<32) |
53 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, /* Round 1 */ | 53 0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, /* Round 1 */ |
54 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501, | 54 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501, |
55 0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be, | 55 0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be, |
56 0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821, | 56 0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821, |
57 | 57 |