Lines Matching refs:wnd
32766 var wnd = new Array(1 << windowSize);
32767 wnd[0] = new BN(1).toRed(this);
32768 wnd[1] = a;
32770 for (var i = 2; i < wnd.length; i++) {
32771 wnd[i] = this.mul(wnd[i - 1], a);
32774 var res = wnd[0];
32789 if (res !== wnd[0]) {
32802 res = this.mul(res, wnd[current]);
36469 var wnd = new Array(1 << windowSize);
36470 wnd[0] = new BN(1).toRed(this);
36471 wnd[1] = a;
36473 for (var i = 2; i < wnd.length; i++) {
36474 wnd[i] = this.mul(wnd[i - 1], a);
36477 var res = wnd[0];
36492 if (res !== wnd[0]) {
36505 res = this.mul(res, wnd[current]);
45731 w = nafPoints.wnd;
45732 var wnd = nafPoints.points; // Get NAF form
45752 … if (z > 0) acc = acc.mixedAdd(wnd[z - 1 >> 1]);else acc = acc.mixedAdd(wnd[-z - 1 >> 1].neg());
45755 if (z > 0) acc = acc.add(wnd[z - 1 >> 1]);else acc = acc.add(wnd[-z - 1 >> 1].neg());
45764 var wnd = this._wnafT2;
45774 wndWidth[i] = nafPoints.wnd;
45775 wnd[i] = nafPoints.points;
45841 wnd[a] = comb;
45871 …if (z === 0) continue;else if (z > 0) p = wnd[j][z - 1 >> 1];else if (z < 0) p = wnd[j][-z - 1 >> …
45878 wnd[i] = null;
45972 BasePoint.prototype._getNAFPoints = function _getNAFPoints(wnd) {
45975 var max = (1 << wnd) - 1;
45983 wnd: wnd,
46868 wnd: pre.naf.wnd,
46889 wnd: this.precomputed.naf.wnd,
46912 wnd: pre.naf.wnd,
47002 wnd: pre.naf.wnd,
48347 wnd: 7,