Skip to content

Commit

Permalink
Merge dashpay#677: Remove note about heap allocation in secp256k1_ecm…
Browse files Browse the repository at this point in the history
…ult_odd_multiples_table_storage_var

b76142f Remove note about heap allocation in secp256k1_ecmult_odd_multiples_table_storage_var which was removed in 4704527 (Jonas Nick)

Pull request description:

  ...which was removed in 4704527. h/t @roconnor-blockstream

ACKs for commit b76142:

Tree-SHA512: 05fcd7aa5d765f1f5d31b93d40c2621e1dd9674a0db136a1e1cb216d6c01f5be1580275700cbdc08feda8f165b3b349640472d0bdec770bebb23f952225e3f52
  • Loading branch information
real-or-random committed Oct 28, 2019
2 parents 137d304 + b76142f commit 770b3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecmult_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static void secp256k1_ecmult_odd_multiples_table(int n, secp256k1_gej *prej, sec
* It only operates on tables sized for WINDOW_A wnaf multiples.
* - secp256k1_ecmult_odd_multiples_table_storage_var, which converts its
* resulting point set to actually affine points, and stores those in pre.
* It operates on tables of any size, but uses heap-allocated temporaries.
* It operates on tables of any size.
*
* To compute a*P + b*G, we compute a table for P using the first function,
* and for G using the second (which requires an inverse, but it only needs to
Expand Down

0 comments on commit 770b3dc

Please sign in to comment.