aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2019-07-16 21:24:45 -0400
committerPaul Duncan <pabs@pablotron.org>2019-07-16 21:24:45 -0400
commitc7a9baba5db7421de9ca6170b252efc4e35a20f5 (patch)
tree4eb97281ddaac573c97677e6a7f5e520362b8909 /main.c
parenta71fd905ecb2bb55cb63de5d05dd5a9ae3583cc7 (diff)
downloadsha2-c7a9baba5db7421de9ca6170b252efc4e35a20f5.tar.bz2
sha2-c7a9baba5db7421de9ca6170b252efc4e35a20f5.zip
mv sha2{56,}.[hc]
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 136a363..a5c14da 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,6 @@
#include <stdio.h> // printf()
#include <string.h> // strlen()
-#include "sha256.h"
+#include "sha2.h"
#include "tests.h"
static void print_hash(const uint8_t * const hash) {
@@ -32,7 +32,7 @@ static void on_test_fail(
}
static uint8_t dst[SHA256_HASH_SIZE];
-static uint8_t buf[1 << 20];
+static uint8_t buf[1 << 21];
int main(int argc, char *argv[]) {
if (argc > 1) {