Branch: refs/heads/master
  Home:   https://github.com/conformal/btcec
  Commit: d69442834c9e5389c472b995324c9ac7fc09c50a
      
https://github.com/conformal/btcec/commit/d69442834c9e5389c472b995324c9ac7fc09c50a
  Author: Jimmy Song <[email protected]>
  Date:   2014-09-24 (Wed, 24 Sep 2014)

  Changed paths:
    M bench_test.go
    M btcec.go
    M btcec_test.go
    A gensecp256k1.go
    A secp256k1.go

  Log Message:
  -----------
  Optimize ScalarBaseMult

Code uses a windowing/precomputing strategy to minimize ECC math.
Every 8-bit window of the 256 bits that compose a possible scalar multiple has 
a complete map that's pre-computed.
The precomputed data is in secp256k1.go and the generator for that file is in 
gensecp256k1.go

Also fixed a spelling error in a benchmark test.

Results so far seem to indicate the time taken is about 35% of what it was 
before.

Closes #2


Reply via email to