diff --git a/crypto/gc2-polynomial.js b/crypto/gc2-polynomial.js index d208d74..2267880 100644 --- a/crypto/gc2-polynomial.js +++ b/crypto/gc2-polynomial.js @@ -92,6 +92,7 @@ export const createRandom = degree => { return createFromBytes(bs) } + /** * @param {GC2Polynomial} p * @return number @@ -213,14 +214,6 @@ export const shiftLeft = (p, shift) => { return result } -/** - * Multiply (•) p1 with p2 and store the result in p1. - * - * @param {GC2Polynomial} p - * @param {number} shift - */ -export const shiftRight = (p, shift) => shiftLeft(p, -shift) - /** * Computes p1 % p2. I.e. the remainder of p1/p2. *