Daniel Cousens
|
a17a5b23d9
|
ec: fix point decoding for other curves
|
11 years ago |
Daniel Cousens
|
5ec9504ed6
|
ecdsa: opt for shiftRight, pow and square
In the given situations, these offer better readability, or in the case
of shiftRight, a substantial performance increase.
|
11 years ago |
Daniel Cousens
|
0865f09d20
|
ec/dsa: extract P_OVER_FOUR as a curve specific constant
This actually resolves a possible bug if multiple ecparams were used
(aka different values for P_OVER_FOUR, but only the cached was used).
|
11 years ago |
Daniel Cousens
|
1e54c521d5
|
ec: extract BigInteger constants
|
11 years ago |
Daniel Cousens
|
d9ce4bee6b
|
ec: use signum() not equals(BigInteger.ZERO)
|
11 years ago |
Daniel Cousens
|
d14b08efd1
|
ec/dsa: recovery param now used consistently
Also added an assertion rather than massaging the input.
|
11 years ago |
Daniel Cousens
|
24371425f9
|
ec: decodeFrom now uses Buffers and handles errors
|
11 years ago |
Daniel Cousens
|
ccca6989b5
|
ec: getEncoded now uses Buffer API
|
11 years ago |
Wei Lu
|
af1f121fd4
|
upgrade bigi & remove monkey patching
|
11 years ago |
Daniel Cousens
|
ae60e6eb95
|
Replacse JSBN with bigi
|
11 years ago |
Daniel Cousens
|
a689c6fc9a
|
Renames ecparams to curve to avoid confusion
|
11 years ago |
Daniel Cousens
|
7451c54cc6
|
Removes curveFpDecodePointHex
|
11 years ago |
Andreas Brekken
|
3e6796a660
|
Fix references to Bitcoin.BigInteger
|
11 years ago |
vub
|
5e2a9f0c26
|
Added BIP32 support
|
11 years ago |
Roman Shtylman
|
0faac29134
|
start to split into node commonjs style modules
- no longer is the global Bitcoin used for modules
- cleaner and more maintainable code
- add more tests
|
12 years ago |
Stefan Thomas
|
83742a3f5a
|
Update JSBN to 1.3.
|
13 years ago |
Stefan Thomas
|
8b32d43335
|
Moved sources into src/ subdirectory.
|
14 years ago |
Stefan Thomas
|
c0d740d2d4
|
Initial import
|
14 years ago |