9#ifndef BOTAN_CMCE_FIELD_ORDERING_H_
10#define BOTAN_CMCE_FIELD_ORDERING_H_
12#include <botan/internal/cmce_parameters.h>
13#include <botan/internal/cmce_types.h>
35 static std::optional<Classic_McEliece_Field_Ordering> create_field_ordering(
54 std::vector<Classic_McEliece_GF> alphas(
size_t n)
const;
85 return CT::is_equal(pi_ref().data(), other.
pi_ref().data(), pi_ref().size());
110 CmcePermutation m_pi;
#define BOTAN_ARG_CHECK(expr, msg)
Represents a field ordering for the Classic McEliece cryptosystem.
CT::Mask< uint16_t > ct_is_equal(const Classic_McEliece_Field_Ordering &other) const
Constant time comparison of two field orderings.
const CmcePermutation & pi_ref() const
The pi values representing the field ordering.
CmcePermutation & pi_ref()
The pi values representing the field ordering.
void _const_time_poison() const
void _const_time_unpoison() const