Skip to content

Commit

Permalink
[fingerprint] full test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Jun 21, 2023
1 parent df854d3 commit c72100e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions crypto/gc2-polynomial.js
Expand Up @@ -92,6 +92,7 @@ export const createRandom = degree => {
return createFromBytes(bs)
}


/**
* @param {GC2Polynomial} p
* @return number
Expand Down Expand Up @@ -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.
*
Expand Down

0 comments on commit c72100e

Please sign in to comment.