mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-06 05:32:08 +02:00
Fix state size in sha256 struct
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user