aboutsummaryrefslogtreecommitdiff
path: root/libbb/md5.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /libbb/md5.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'libbb/md5.c')
-rw-r--r--libbb/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/md5.c b/libbb/md5.c
index e672559cf..9de37b9e4 100644
--- a/libbb/md5.c
+++ b/libbb/md5.c
@@ -75,7 +75,7 @@ static void md5_hash_block(const void *buffer, md5_ctx_t *ctx)
75 0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391 75 0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391
76 }; 76 };
77 77
78 static const char P_array[] = { 78 static const char P_array[] ALIGN1 = {
79# if MD5_SIZE_VS_SPEED > 1 79# if MD5_SIZE_VS_SPEED > 1
80 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, /* 1 */ 80 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, /* 1 */
81# endif /* MD5_SIZE_VS_SPEED > 1 */ 81# endif /* MD5_SIZE_VS_SPEED > 1 */
@@ -85,7 +85,7 @@ static void md5_hash_block(const void *buffer, md5_ctx_t *ctx)
85 }; 85 };
86 86
87# if MD5_SIZE_VS_SPEED > 1 87# if MD5_SIZE_VS_SPEED > 1
88 static const char S_array[] = { 88 static const char S_array[] ALIGN1 = {
89 7, 12, 17, 22, 89 7, 12, 17, 22,
90 5, 9, 14, 20, 90 5, 9, 14, 20,
91 4, 11, 16, 23, 91 4, 11, 16, 23,