9#ifndef BOTAN_CMCE_DECAPS_H_
10#define BOTAN_CMCE_DECAPS_H_
12#include <botan/cmce.h>
13#include <botan/internal/bitvector.h>
14#include <botan/internal/cmce_field_ordering.h>
15#include <botan/internal/cmce_keys_internal.h>
16#include <botan/internal/cmce_types.h>
17#include <botan/internal/pk_ops_impl.h>
38 void raw_kem_decrypt(std::span<uint8_t> out_shared_key, std::span<const uint8_t> encapsulated_key)
override;
78 std::shared_ptr<const Classic_McEliece_PrivateKeyInternal> m_key;
Classic_McEliece_Decryptor(std::shared_ptr< const Classic_McEliece_PrivateKeyInternal > key, const PK_KEM_Options_Reader &options)
Constructs a Classic_McEliece_Decryptor object with the given private key.
size_t encapsulated_key_length() const override
size_t raw_kem_shared_key_length() const override
Represents a field ordering for the Classic McEliece cryptosystem.
Representation of a minimal polynomial in GF(q)[y].
Representation of a Classic McEliece polynomial.
KEM_Decryption_with_KDF(const PK_KEM_Options_Reader &options, KemSharedKeyQuality raw_key)
Strong< secure_bitvector, struct CmceCodeWord_ > CmceCodeWord
Represents C of decapsulation.
bitvector_base< secure_allocator > secure_bitvector
Strong< secure_bitvector, struct CmceErrorVector_ > CmceErrorVector
Represents e of encapsulation.