Fix state size in sha256 struct

This commit is contained in:
Kirill Fomichev committed 2016-05-21 10:17:06 +03:00
1 parent 6875b013e6
commit 2ab46954cb
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@
#include <stdint.h> #include <stdint.h>
typedef struct { typedef struct {
uint32_t s[32]; uint32_t s[8];
uint32_t buf[16]; /* In big endian */ uint32_t buf[16]; /* In big endian */
size_t bytes; size_t bytes;
} secp256k1_sha256_t; } secp256k1_sha256_t;