aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp2
-rw-r--r--src/lib/pubkey/mce/mceliece.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp b/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp
index f6ff8e498..5782f5e4c 100644
--- a/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp
+++ b/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp
@@ -60,6 +60,7 @@ struct gf2m_decomp_rootfind_state
/*
* !! Attention: assumes gf2m is 16bit !!
*/
+#if 0
gf2m brootf_decomp__gray_to_lex(gf2m gray)
{
static_assert(sizeof(gf2m) == 2, "Expected size");
@@ -69,6 +70,7 @@ gf2m brootf_decomp__gray_to_lex(gf2m gray)
result ^= (result >> 1);
return result;
}
+#endif
/**
* calculates ceil((t-4)/5) = outer_summands - 1
diff --git a/src/lib/pubkey/mce/mceliece.h b/src/lib/pubkey/mce/mceliece.h
index 8705d8132..ee5f8ab8f 100644
--- a/src/lib/pubkey/mce/mceliece.h
+++ b/src/lib/pubkey/mce/mceliece.h
@@ -27,7 +27,7 @@ namespace Botan {
- secure_vector<gf2m> create_random_error_positions(unsigned code_length, unsigned error_weight, RandomNumberGenerator& rng);
+secure_vector<gf2m> BOTAN_DLL create_random_error_positions(unsigned code_length, unsigned error_weight, RandomNumberGenerator& rng);
class mceliece_message_parts