diff --git a/.yarn/releases/yarn-1.15.2.js b/.yarn/releases/yarn-1.15.2.js index 8a6eb5a18..04c2be94c 100755 --- a/.yarn/releases/yarn-1.15.2.js +++ b/.yarn/releases/yarn-1.15.2.js @@ -33905,6 +33905,7 @@ and limitations under the License. // x = x mod m (HAC 14.42) function barrettReduce(x) { + if (x.s < 0) { throw Error("Barrett reduction on negative input"); } x.drShiftTo(this.m.t - 1, this.r2) if (x.t > this.m.t + 1) { x.t = this.m.t + 1