diff options
author | lloyd <[email protected]> | 2014-12-02 13:13:13 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-12-02 13:13:13 +0000 |
commit | c9f2bf4717966d4f1d3375adbb4f1e68b7c9b7e2 (patch) | |
tree | 758c2c07c614d9ed508b5bd41f284eea87840cbd /src | |
parent | 1652aab693b804ab2243b062b1463da90aa33eab (diff) |
GCC 4.9 fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/mce/mceliece.h | 2 |
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 |