aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/code_based_key_gen.h
blob: 6764e13d6b67567818d00b06cae251c617c22701 (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
 *
 * Botan is released under the Simplified BSD License (see license.txt)
 *
 */

#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