• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

indutny / elliptic / 320
89%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2016 04:08AM UTC
Jobs 1
Files 16
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
320

push

travis-ci

indutny
curve: implement Greg Maxwell's trick

TL;DR:

Prior to this patch `.mulAdd()` converted point from Jacobian to
Cartesian representation to check its' `.getX()` value against
`signature.r`. However, it is possible to avoid the expensive inversion
in `.toP()` conversion function by multiplying `signature.r` with
`point.z.redSqr()`. Some adjustments (by adding `curve.n` several times)
may be needed, but overall it saves about 5% of execution time during
`.verify()`.

Big kudos to @gmaxwell for implementing it, and to @briansmith for
sharing it with me.

1570 of 1782 relevant lines covered (88.1%)

36633.16 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
../lib/elliptic/curve/mont.js
2
100.0
../lib/elliptic/curve/edwards.js
6
100.0
../lib/elliptic/curve/base.js
14
100.0
../lib/elliptic/ec/index.js
35
100.0
../lib/elliptic/curve/short.js
Jobs
ID Job ID Ran Files Coverage
7 320.7 (TEST_SUITE='grunt coveralls') 14 Jun 2016 04:08AM UTC 0
88.1
Travis Job 320.7
Source Files on build 320
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #320
  • b950448b on github
  • Prev Build on master (#318)
  • Next Build on master (#321)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc