9#ifndef BOTAN_CMCE_DECAPS_H_
10#define BOTAN_CMCE_DECAPS_H_
12#include <botan/cmce.h>
13#include <botan/pk_ops.h>
15#include <botan/internal/bitvector.h>
16#include <botan/internal/cmce_field_ordering.h>
17#include <botan/internal/cmce_keys_internal.h>
18#include <botan/internal/cmce_matrix.h>
19#include <botan/internal/cmce_types.h>
20#include <botan/internal/pk_ops_impl.h>
34 KEM_Decryption_with_KDF(kdf), m_key(std::move(key)) {}
40 void raw_kem_decrypt(std::span<uint8_t> out_shared_key, std::span<const uint8_t> encapsulated_key)
override;
80 std::shared_ptr<Classic_McEliece_PrivateKeyInternal> m_key;
size_t encapsulated_key_length() const override
Classic_McEliece_Decryptor(std::shared_ptr< Classic_McEliece_PrivateKeyInternal > key, std::string_view kdf)
Constructs a Classic_McEliece_Decryptor object with the given private key.
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.
int(* final)(unsigned char *, CTX *)