diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-01-03 21:26:08 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-01-03 21:26:08 +0100 |
commit | 4b98efe1661d14defd2b6a136781979a963a1439 (patch) | |
tree | e81adfd88c833efefa6078b96791b2ac96df2660 /shadata.c | |
parent | e0b78200ee0a35dab24780de80e05f55f92cd667 (diff) | |
download | nettle-4b98efe1661d14defd2b6a136781979a963a1439.tar.gz |
Zeropad values in sha256 table.
Diffstat (limited to 'shadata.c')
-rw-r--r-- | shadata.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ int main(int argc, char **argv) double fraction = root - floor(root); double value = floor(ldexp(fraction, 32)); - printf("0x%lxUL, ", (unsigned long) value); + printf("0x%08lxUL, ", (unsigned long) value); if (!(i % 4)) printf("\n"); } @@ -37,7 +37,7 @@ int main(int argc, char **argv) double fraction = root - (floor(root)); double value = floor(ldexp(fraction, 32)); - printf("0x%lxUL, ", (unsigned long) value); + printf("0x%08lxUL, ", (unsigned long) value); if (!(i % 4)) printf("\n"); } |