/** * (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 __goppa_code__H_ #define __goppa_code__H_ #include #include namespace Botan { std::vector mceliece_encrypt( const secure_vector & cleartext, std::vector const& public_matrix, const secure_vector & err_pos, u32bit code_length); secure_vector mceliece_decrypt( secure_vector & error_pos, const byte *ciphertext, u32bit ciphertext_len, const McEliece_PrivateKey & key); } //end namepace Botan #endif /* h-guard */