HomeSource World

More efficient add_assign and neg (#18)

Authored by sorpaas on Nov 19 2019, 1:04 AM.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

More efficient add_assign and neg (#18)

  • scalar: more efficient add_assign
  • We never need to check the overflow flag in add_in_place, so it's removed.
  • Move more intermediate value to stay as subtle::Choice, so that constant-time will be easiler in the future.
  • scalar: should use or (|)
  • scalar: replace neg_in_place with Neg trait
  • scalar: missing !

Details

Commit No Longer Exists

This commit no longer exists in the repository.