aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/code_based_key_gen.h
blob: 15b417fb633c526fdde9732483a3cfdaeaf29e8c (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
25
26
/**
 * (C) Copyright Projet SECRET, INRIA, Rocquencourt
 * (C) Bhaskar Biswas and  Nicolas Sendrier
 *
 * (C) 2014 cryptosource GmbH
 * (C) 2014 Falko Strenzke fstrenzke@cryptosource.de
 *
 * Distributed under the terms of the Botan license
 *
 */

#ifndef BOTAN_CODE_BASED_KEY_GEN_H__
#define BOTAN_CODE_BASED_KEY_GEN_H__

#include <botan/mceliece_key.h>

namespace Botan {

McEliece_PrivateKey generate_mceliece_key(RandomNumberGenerator &rng,
                                          u32bit ext_deg,
                                          u32bit code_length,
                                          u32bit t);

}

#endif