remove deprecated functionality

This commit is contained in:
Daniel Cousens 2014-09-15 15:00:13 +10:00
parent 08cc8f8621
commit 8d3686d046
12 changed files with 12 additions and 1301 deletions

View file

@ -31,17 +31,6 @@ describe('ecdsa', function () {
})
})
// FIXME: remove in 2.0.0
fixtures.valid.ecdsa.forEach(function (f) {
it('(deprecated) for "' + f.message + '"', function () {
var d = BigInteger.fromHex(f.d)
var h1 = crypto.sha256(f.message)
var k = ecdsa.deterministicGenerateK(curve, h1, d) // default checkSig
assert.equal(k.toHex(), f.k)
})
})
it('loops until an appropriate k value is found', sinon.test(function () {
this.mock(BigInteger).expects('fromBuffer')
.exactly(3)