@@ -42,27 +42,27 @@ contract P256Verifier {
4242
4343 // Parameters for the sec256r1 (P256) elliptic curve
4444 // Curve prime field modulus
45- uint256 constant p =
45+ uint256 private constant p =
4646 0xFFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF ;
4747 // Short weierstrass first coefficient
48- uint256 constant a = // The assumption a == -3 (mod p) is used throughout the codebase
48+ uint256 private constant a = // The assumption a == -3 (mod p) is used throughout the codebase
4949 0xFFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC ;
5050 // Short weierstrass second coefficient
51- uint256 constant b =
51+ uint256 private constant b =
5252 0x5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B ;
5353 // Generating point affine coordinates
54- uint256 constant GX =
54+ uint256 private constant GX =
5555 0x6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296 ;
56- uint256 constant GY =
56+ uint256 private constant GY =
5757 0x4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5 ;
5858 // Curve order (number of points)
59- uint256 constant n =
59+ uint256 private constant n =
6060 0xFFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551 ;
6161 // -2 mod p constant, used to speed up inversion and doubling (avoid negation)
62- uint256 constant minus_2modp =
62+ uint256 private constant minus_2modp =
6363 0xFFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFD ;
6464 // -2 mod n constant, used to speed up inversion
65- uint256 constant minus_2modn =
65+ uint256 private constant minus_2modn =
6666 0xFFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC63254F ;
6767
6868 /**
0 commit comments