Skip to content

v0.4.0

Compare
Choose a tag to compare
@smlu smlu released this 04 Dec 13:33
· 33 commits to master since this release

What's New

  • Implemented SHA-384 hash function
  • Added ec_point_fp_jacobi which represents EC point in Jacobi coordinates.
    Utilizing Jacobi coordinates yields up to 25% greater efficiency in EC point addition, and up to 32% greater efficiency when elliptic curve coefficients are a = 0 or a = -3 (secp256k1 and secp256r1, respectively).

What's Changed

  • Optimized point multiplication in Homogeneous coordinates and function ec_mul_add_fast to use NAF method (non-adjacent form representation of signed integer) for EC point-scalar multiplication.
    This optimization resulted in an additional up to 10% increase in efficiency for EC point multiplication.
  • Optimized EC point doubling for the cases where elliptic curve coefficient a = 0 or a = -3 (secp256k1 and secp256r1, respectively).
  • Optimized signature verification times of ecdsa_verify function by using ec_point_fp_jacobi as point types for scalar-point multiplication & addition
  • Fixed bugs

Full Changelog: v0.3.0...v0.4.0