aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/polyn_gf2m.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-20 03:38:26 -0400
committerJack Lloyd <[email protected]>2017-09-20 03:38:26 -0400
commitf26eb881d648814163a82a2cc9e841fa55b6ce3b (patch)
tree59ecbec0ae8ec019ea4ce5ecf7e4fddba86e9235 /src/lib/pubkey/mce/polyn_gf2m.cpp
parent8731d4920fa8b17374a442d62c2d8c1c6d34967a (diff)
Avoid using double underscore in variable names
Reserved identifiers, per C++ standard GH #512 [ci skip]
Diffstat (limited to 'src/lib/pubkey/mce/polyn_gf2m.cpp')
-rw-r--r--src/lib/pubkey/mce/polyn_gf2m.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/pubkey/mce/polyn_gf2m.cpp b/src/lib/pubkey/mce/polyn_gf2m.cpp
index ba80f8d4a..2541c164f 100644
--- a/src/lib/pubkey/mce/polyn_gf2m.cpp
+++ b/src/lib/pubkey/mce/polyn_gf2m.cpp
@@ -321,7 +321,7 @@ std::vector<polyn_gf2m> polyn_gf2m::sqmod_init(const polyn_gf2m & g)
/*Modulo p square of a certain polynomial g, sq[] contains the square
Modulo g of the base canonical polynomials of degree < d, where d is
-the degree of G. The table sq[] will be calculated by polyn_gf2m__sqmod_init*/
+the degree of G. The table sq[] will be calculated by polyn_gf2m_sqmod_init*/
polyn_gf2m polyn_gf2m::sqmod( const std::vector<polyn_gf2m> & sq, int d)
{
int i, j;
@@ -531,7 +531,6 @@ std::pair<polyn_gf2m, polyn_gf2m> polyn_gf2m::eea_with_coefficients( const polyn
cond1 &= cond2;
}
/* expand cond1 to a full mask */
- //CSEC_MASK__GEN_MASK_16B(cond1, mask);
gf2m mask = generate_gf2m_mask(cond1);
fake_elem &= mask;
r0.patchup_deg_secure(trgt_deg, fake_elem);