We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dbb7770 + 2660f11 commit a09612cCopy full SHA for a09612c
src/sha256/SHA256.h
@@ -10,7 +10,7 @@
10
11
#pragma once
12
13
-#include "sha256.h"
+#include "sha2.h"
14
15
class SHA256 {
16
src/sha256/sha256.c renamed to src/sha256/sha2.c
@@ -34,7 +34,7 @@
34
#define UNROLL_LOOPS /* Enable loops unrolling */
35
#endif
36
37
38
39
#define SHFR(x, n) (x >> n)
40
#define ROTR(x, n) ((x >> n) | (x << ((sizeof (x) << 3) - n)))
src/sha256/sha256.h renamed to src/sha256/sha2.h
@@ -35,6 +35,7 @@
#include <stdint.h>
#include <stddef.h>
+#include <string.h>
#define SHA256_DIGEST_SIZE ( 256 / 8)
41
#define SHA256_BLOCK_SIZE ( 512 / 8)
0 commit comments