HomePhabricator

Add trivial ecmult_multi algorithm which does not require a scratch space

Description

Add trivial ecmult_multi algorithm which does not require a scratch space

Summary:

  • Add trivial ecmult_multi algorithm. It is selected when no scratch space is given and just multiplies and adds the points.
  • Add trivial ecmult_multi to the benchmark tool

This is a backport of secp256k1's PR580

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4985

Details

Provenance
Jonas Nick <jonasd.nick@gmail.com>Authored on Dec 20 2018, 20:48
deadalnixCommitted on Jan 17 2020, 14:07
deadalnixPushed on Jan 17 2020, 14:26
Reviewer
Restricted Project
Differential Revision
D4985: Add trivial ecmult_multi algorithm which does not require a scratch space
Parents
rSTAGING1921c4972fd5: Make bench_internal obey secp256k1_fe_sqrt's contract wrt aliasing.
Branches
Unknown
Tags
Unknown