aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-24 23:46:44 +0200
committerSimon Warta <[email protected]>2015-07-24 23:46:44 +0200
commit550d9fd71cf6c78c86cc5a695fafa17e72ae6b18 (patch)
tree618d748b2696c50b911e55ef61dea3df30aad232 /src/lib/pubkey
parent99a11fd5f6d54b599fc5878364df8a9d6f024ad3 (diff)
Fix typos
Thanks to @vlajos https://github.com/vlajos/misspell_fixer
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r--src/lib/pubkey/ec_group/ec_group.h2
-rw-r--r--src/lib/pubkey/mce/polyn_gf2m.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.h b/src/lib/pubkey/ec_group/ec_group.h
index 5e2800dc5..67ade0c65 100644
--- a/src/lib/pubkey/ec_group/ec_group.h
+++ b/src/lib/pubkey/ec_group/ec_group.h
@@ -140,7 +140,7 @@ inline bool operator!=(const EC_Group& lhs,
return !(lhs == rhs);
}
-// For compatability with 1.8
+// For compatibility with 1.8
typedef EC_Group EC_Domain_Params;
}
diff --git a/src/lib/pubkey/mce/polyn_gf2m.cpp b/src/lib/pubkey/mce/polyn_gf2m.cpp
index 35ae8ffee..9b3366757 100644
--- a/src/lib/pubkey/mce/polyn_gf2m.cpp
+++ b/src/lib/pubkey/mce/polyn_gf2m.cpp
@@ -555,7 +555,7 @@ std::pair<polyn_gf2m, polyn_gf2m> polyn_gf2m::eea_with_coefficients( const polyn
* candiate. If they are all fulfilled, then we know that we have a low
* weight error vector, since the key-equation solving EEA is skipped if
* the degree of tau^2 is low (=m_deg(u0)) and all its odd cofficients are
- * zero (they would cause "full-lenght" contributions from the square
+ * zero (they would cause "full-length" contributions from the square
* root computation).
*/
// Condition for the coefficient to Y to be cancelled out by the