Botan 3.6.1
Crypto and TLS for C&
mce_internal.h File Reference

Internal Header. More...

#include <botan/mceliece.h>
#include <botan/pk_ops.h>
#include <botan/internal/polyn_gf2m.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Functions

McEliece_PrivateKey Botan::generate_mceliece_key (RandomNumberGenerator &rng, size_t ext_deg, size_t code_length, size_t t)
 
secure_vector< uint8_t > Botan::mceliece_decrypt (secure_vector< gf2m > &error_pos, const uint8_t *ciphertext, size_t ciphertext_len, const McEliece_PrivateKey &key)
 
void Botan::mceliece_decrypt (secure_vector< uint8_t > &plaintext, secure_vector< uint8_t > &error_mask, const uint8_t ciphertext[], size_t ciphertext_len, const McEliece_PrivateKey &key)
 
void Botan::mceliece_decrypt (secure_vector< uint8_t > &plaintext_out, secure_vector< uint8_t > &error_mask_out, const secure_vector< uint8_t > &ciphertext, const McEliece_PrivateKey &key)
 
void Botan::mceliece_encrypt (secure_vector< uint8_t > &ciphertext_out, secure_vector< uint8_t > &error_mask_out, const secure_vector< uint8_t > &plaintext, const McEliece_PublicKey &key, RandomNumberGenerator &rng)
 

Detailed Description

Internal Header.

Definition in file mce_internal.h.