Skip to content

Commit

Permalink
Merge pull request #204 from LedgerHQ/fbe/fix_der_sig_size
Browse files Browse the repository at this point in the history
Bump MAX_DER_SIGNATURE_LENGTH to 73
  • Loading branch information
fbeutin-ledger authored Jul 5, 2024
2 parents 7f94be8 + 2bf03b1 commit 4ccade7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define CURVE_SIZE_BYTES 32U
#define UNCOMPRESSED_KEY_LENGTH 65U
#define MIN_DER_SIGNATURE_LENGTH 67U
#define MAX_DER_SIGNATURE_LENGTH 72U
#define MAX_DER_SIGNATURE_LENGTH 73U

#define CURVE_SECP256K1 0x00
#define CURVE_SECP256R1 0x01
Expand Down

0 comments on commit 4ccade7

Please sign in to comment.