Skip to content

Commit

Permalink
Merge pull request #512 from LedgerHQ/bboilot/secp512r1_support
Browse files Browse the repository at this point in the history
  • Loading branch information
bboilot-ledger committed Aug 28, 2024
2 parents ede12f1 + 30ea8be commit 877a187
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/bolos/cx_ec_domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -1539,11 +1539,9 @@ int cx_nid_from_curve(cx_curve_t curve)
case CX_CURVE_BLS12_381_G1:
nid = NID_undef;
break;
#if 0
case CX_CURVE_SECP521R1:
nid = NID_secp521r1;
break;
#endif
default:
nid = -1;
errx(1, "cx_nid_from_curve unsupported curve");
Expand Down
1 change: 1 addition & 0 deletions src/bolos/cx_ecpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ cx_err_t sys_cx_ecpoint_scalarmul(cx_ecpoint_t *ec_P, const uint8_t *k,
case CX_CURVE_SECP256K1:
case CX_CURVE_SECP256R1:
case CX_CURVE_SECP384R1:
case CX_CURVE_SECP521R1:
case CX_CURVE_Stark256:
case CX_CURVE_BrainPoolP256R1:
case CX_CURVE_BrainPoolP256T1:
Expand Down

0 comments on commit 877a187

Please sign in to comment.