aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/gf2m_rootfind_dcmp.h
blob: 79874fe7ecfdcc361f37a4a76640d6d7aafaf1a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * (C) 2014 cryptosource GmbH
 * (C) 2014 Falko Strenzke fstrenzke@cryptosource.de
 *
 * Distributed under the terms of the Botan license
 */

#ifndef BOTAN_GF2M_ROOTFIND_DCMP_H__
#define BOTAN_GF2M_ROOTFIND_DCMP_H__

#include <botan/polyn_gf2m.h>

namespace Botan {

/**
* Find the roots of a polynomial over GF(2^m) using the method by Federenko
* et al.
*/
secure_vector<gf2m> find_roots_gf2m_decomp(const polyn_gf2m & polyn,
                                           u32bit code_length);

}

#endif