Fix state size in sha256 struct
This commit is contained in:
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…
Reference in New Issue