Commit 593022dfd7201f321dd1e72fdbbe755f0e35a825

Znort 987 2011-08-15T11:51:27

Added somme comments

diff --git a/main.c b/main.c
index 5aeda53..3fb380e 100644
--- a/main.c
+++ b/main.c
@@ -361,10 +361,12 @@ static struct pool *current_pool(void)
 	return pool;
 }
 
+// Algo benchmark, crash-prone, system independent stage
 static double bench_algo_stage3(
 	enum sha256_algos algo
 )
 {
+	// Random work pulled from a pool
 	static uint8_t some_block[] = {
 		0x00, 0x00, 0x00, 0x01, 0x20, 0x00, 0xD8, 0x07, 0x17, 0xC9, 0x13, 0x6F, 0xDC, 0xBE, 0xDE, 0xB7,
 		0xB2, 0x14, 0xEF, 0xD1, 0x72, 0x7F, 0xA3, 0x72, 0xB2, 0x5D, 0x88, 0xF0, 0x00, 0x00, 0x05, 0xAA,
@@ -781,6 +783,7 @@ static void bench_algo(
 	}
 }
 
+// Figure out the longest algorithm name
 static void init_max_name_len()
 {
 	size_t i;