Botan  1.11.15
Namespaces | Functions
src/lib/pubkey/mce/mceliece.cpp File Reference
#include <botan/mceliece.h>
#include <botan/mceliece_key.h>
#include <botan/internal/code_based_key_gen.h>
#include <botan/polyn_gf2m.h>
#include <botan/code_based_util.h>
#include <botan/goppa_code.h>
#include <botan/internal/bit_ops.h>
#include <botan/internal/xor_buf.h>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

secure_vector< gf2m > Botan::create_random_error_positions (unsigned code_length, unsigned error_weight, RandomNumberGenerator &rng)
std::vector< byte > Botan::mceliece_encrypt (const secure_vector< byte > &cleartext, const std::vector< byte > &public_matrix, const secure_vector< gf2m > &err_pos, u32bit code_length)