Botan  1.11.15
Namespaces | Functions
src/lib/pubkey/mce/goppa_code.h File Reference
#include <botan/polyn_gf2m.h>
#include <botan/mceliece_key.h>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

secure_vector< byte > Botan::mceliece_decrypt (secure_vector< gf2m > &error_pos, const byte *ciphertext, u32bit ciphertext_len, const McEliece_PrivateKey &key)
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)