Merge pull request #76

7935930 Add unit tests for scalars. (Pieter Wuille)
eca6cdb Switch scalar to use get/set 32-byte arrays (Pieter Wuille)
Add bench_inv tool
Implementations for scalar without data-dependent branches.