Skip to content

Commit

Permalink
Merge branch 'p256-add-mul-comments' of https://github.com/cairoeth/o…
Browse files Browse the repository at this point in the history
…penzeppelin-contracts into p256-add-mul-comments
  • Loading branch information
Amxx committed Sep 25, 2024
2 parents c76bcbe + 0f2629a commit 0854a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/cryptography/P256.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ describe('P256', function () {
// * private = N - 2 (P = -2G)
// * private = N - 1 (P = -G)
for (const privateKey of [1n, 2n, 3n, -3n, -2n, -1n]) {
it(`unsuported case: P = ${privateKey} * G`, async function () {
it(`unsupported case: P = ${privateKey} * G`, async function () {
const { messageHash, signature, publicKey } = prepareSignature(
privateKey < 0 ? privateKey + secp256r1.CURVE.n : privateKey,
);
Expand Down

0 comments on commit 0854a78

Please sign in to comment.