9#ifndef BOTAN_CMCE_ENCAPS_H_
10#define BOTAN_CMCE_ENCAPS_H_
12#include <botan/cmce.h>
13#include <botan/pk_keys.h>
14#include <botan/pk_ops.h>
15#include <botan/internal/cmce_field_ordering.h>
16#include <botan/internal/cmce_keys_internal.h>
17#include <botan/internal/cmce_matrix.h>
18#include <botan/internal/cmce_parameters.h>
19#include <botan/internal/cmce_poly.h>
20#include <botan/internal/cmce_types.h>
21#include <botan/internal/pk_ops_impl.h>
37 void raw_kem_encrypt(std::span<uint8_t> out_encapsulated_key,
38 std::span<uint8_t> out_shared_key,
42 std::shared_ptr<Classic_McEliece_PublicKeyInternal> m_key;
Classic_McEliece_Encryptor(std::shared_ptr< Classic_McEliece_PublicKeyInternal > key, std::string_view kdf)
size_t encapsulated_key_length() const override
size_t raw_kem_shared_key_length() const override
Representation of the binary Classic McEliece matrix H, with H = (I_mt | T).
KEM_Encryption_with_KDF(std::string_view kdf)
Strong< secure_bitvector, struct CmceCodeWord_ > CmceCodeWord
Represents C of decapsulation.
Strong< secure_bitvector, struct CmceErrorVector_ > CmceErrorVector
Represents e of encapsulation.