mirror of
https://github.com/hanzoai/elliptic.git
synced 2026-09-23 23:51:03 +00:00
6.5.1
This commit is contained in:
Vendored
+9
-8
@@ -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 ]);
|
||||
@@ -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": [
|
||||
@@ -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",
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "elliptic",
|
||||
"version": "6.5.0",
|
||||
"version": "6.5.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "elliptic",
|
||||
"version": "6.5.0",
|
||||
"version": "6.5.1",
|
||||
"description": "EC cryptography",
|
||||
"main": "lib/elliptic.js",
|
||||
"files": [
|
||||
|
||||
Reference in New Issue
Block a user