From c72100e88f097cdb04a1c8099949cc1980f039db Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Wed, 21 Jun 2023 14:43:28 +0200 Subject: [PATCH] [fingerprint] full test coverage --- crypto/gc2-polynomial.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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. *