Skip to content

Commit 45cc984

Browse files
committedFeb 18, 2025
crypto: add elements ec flag to EC_FLAGS_ALL
1 parent 107ffae commit 45cc984

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎include/wally_crypto.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ WALLY_CORE_API int wally_pbkdf2_hmac_sha512(
379379
#define EC_FLAG_ELEMENTS 0x10
380380

381381
/* All defined flags */
382-
#define EC_FLAGS_ALL (0x1 | 0x2 | 0x4 | 0x8)
382+
#define EC_FLAGS_ALL (0x1 | 0x2 | 0x4 | 0x8 | 0x10)
383383

384384
/**
385385
* Verify that a private key is valid.

‎src/wasm_package/src/const.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const BIP39_WORDLIST_LEN = 2048;
6565
export const BITCOIN_MESSAGE_FLAG_HASH = 1;
6666
export const BITCOIN_MESSAGE_MAX_LEN = (64 * 1024 - 64);
6767
export const BLINDING_FACTOR_LEN = 32; /** Length of a Blinding Factor (or blinder) */
68-
export const EC_FLAGS_ALL = (0x1 | 0x2 | 0x4 | 0x8);
68+
export const EC_FLAGS_ALL = (0x1 | 0x2 | 0x4 | 0x8 | 0x10);
6969
export const EC_FLAG_ECDSA = 0x1;
7070
export const EC_FLAG_ELEMENTS = 0x10;
7171
export const EC_FLAG_GRIND_R = 0x4;

0 commit comments

Comments
 (0)