From d2fd41d1ea1ac6211705ba88de6828693a10c0b4 Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Thu, 20 Oct 2016 13:52:16 +0200 Subject: Reorganize anon namespace code to fix last doxygen warn [ci skip] --- src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/lib/pubkey') diff --git a/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp b/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp index acae036db..c9d82fdbf 100644 --- a/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp +++ b/src/lib/pubkey/mce/gf2m_rootfind_dcmp.cpp @@ -86,14 +86,6 @@ u32bit brootf_decomp__calc_sum_limit(u32bit t) return result; } -} - -secure_vector find_roots_gf2m_decomp(const polyn_gf2m & polyn, u32bit code_length) - { - gf2m_decomp_rootfind_state state(polyn, code_length); - return state.find_roots(polyn); - } - gf2m_decomp_rootfind_state::gf2m_decomp_rootfind_state(const polyn_gf2m & polyn, u32bit the_code_length) : code_length(the_code_length), m_j(0), m_j_gray(0) { @@ -314,4 +306,12 @@ secure_vector gf2m_decomp_rootfind_state::find_roots(const polyn_gf2m & si return result; } +} // end anonymous namespace + +secure_vector find_roots_gf2m_decomp(const polyn_gf2m & polyn, u32bit code_length) + { + gf2m_decomp_rootfind_state state(polyn, code_length); + return state.find_roots(polyn); + } + } // end namespace Botan -- cgit v1.2.3