Skip to content

Commit

Permalink
6.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Sep 4, 2019
1 parent 7ec66ff commit 71e4e8e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
17 changes: 9 additions & 8 deletions dist/elliptic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1437,8 +1437,9 @@ Point.prototype.getY = function getY() {

Point.prototype.mul = function mul(k) {
k = new BN(k, 16);

if (this._hasDoubles(k))
if (this.isInfinity())
return this;
else if (this._hasDoubles(k))
return this.curve._fixedNafMul(this, k);
else if (this.curve.endo)
return this.curve._endoWnafMulAdd([ this ], [ k ]);
Expand Down Expand Up @@ -8796,7 +8797,7 @@ utils.encode = function encode(arr, enc) {
},{}],35:[function(require,module,exports){
module.exports={
"name": "elliptic",
"version": "6.5.0",
"version": "6.5.1",
"description": "EC cryptography",
"main": "lib/elliptic.js",
"files": [
Expand Down Expand Up @@ -8828,19 +8829,19 @@ module.exports={
"homepage": "https://github.com/indutny/elliptic",
"devDependencies": {
"brfs": "^1.4.3",
"coveralls": "^2.11.3",
"grunt": "^0.4.5",
"coveralls": "^3.0.4",
"grunt": "^1.0.4",
"grunt-browserify": "^5.0.0",
"grunt-cli": "^1.2.0",
"grunt-contrib-connect": "^1.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-uglify": "^1.0.1",
"grunt-mocha-istanbul": "^3.0.1",
"grunt-saucelabs": "^8.6.2",
"grunt-saucelabs": "^9.0.1",
"istanbul": "^0.4.2",
"jscs": "^2.9.0",
"jscs": "^3.0.7",
"jshint": "^2.6.0",
"mocha": "^2.1.0"
"mocha": "^6.1.4"
},
"dependencies": {
"bn.js": "^4.4.0",
Expand Down
6 changes: 3 additions & 3 deletions dist/elliptic.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elliptic",
"version": "6.5.0",
"version": "6.5.1",
"description": "EC cryptography",
"main": "lib/elliptic.js",
"files": [
Expand Down

0 comments on commit 71e4e8e

Please sign in to comment.