Fix state size in sha256 struct

pull/11871/head
Kirill Fomichev 9 years ago
parent 6875b013e6
commit 2ab46954cb

@ -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;

Loading…
Cancel
Save