Botan  1.11.15
Classes | Namespaces | Defines | Functions
src/lib/pubkey/mce/mceliece.h File Reference
#include <botan/secmem.h>
#include <botan/types.h>
#include <botan/pk_ops.h>
#include <botan/mceliece_key.h>

Go to the source code of this file.

Classes

class  Botan::mceliece_message_parts
class  Botan::McEliece_Private_Operation
class  Botan::McEliece_Public_Operation

Namespaces

namespace  Botan

Defines

#define _BITP_TO_BYTEOFFS(__bit_pos)   (__bit_pos & MASK_LOG2_BYTE)
#define _BITP_TO_BYTEP(__bit_pos)   (__bit_pos >> 3)
#define MASK_LOG2_BYTE   ((1 << 3) - 1)

Functions

secure_vector< gf2m > Botan::create_random_error_positions (unsigned code_length, unsigned error_weight, RandomNumberGenerator &rng)
BOTAN_DLL size_t Botan::mceliece_work_factor (size_t code_size, size_t k, size_t t)

Define Documentation

#define _BITP_TO_BYTEOFFS (   __bit_pos)    (__bit_pos & MASK_LOG2_BYTE)
#define _BITP_TO_BYTEP (   __bit_pos)    (__bit_pos >> 3)
#define MASK_LOG2_BYTE   ((1 << 3) - 1)

(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)

Definition at line 20 of file mceliece.h.