Botan 3.6.0
Crypto and TLS for C&
pqcrystals_helpers.h File Reference

Internal Header. More...

#include <concepts>
#include <cstdint>
#include <span>
#include <tuple>
#include <botan/exceptn.h>
#include <botan/internal/bit_ops.h>

Go to the source code of this file.

Classes

class  Botan::detail::Bounded_XOF< XofT, bound >
 
struct  Botan::eea_result< T >
 

Namespaces

namespace  Botan
 
namespace  Botan::detail
 

Typedefs

template<size_t bound>
using Botan::Bounded_XOF = detail::Bounded_XOF<XOF&, bound>
 
template<std::signed_integral T>
using Botan::next_longer_int_t
 
template<std::unsigned_integral T>
using Botan::next_longer_uint_t
 

Functions

constexpr auto Botan::bitlen (size_t x)
 
template<std::integral T>
consteval eea_result< TBotan::extended_euclidean_algorithm (T a, T b)
 
template<std::integral T, std::integral T2 = next_longer_int_t<T>>
requires (sizeof(T) <= 4)
consteval T Botan::modular_inverse (T q, T2 m=T2(1)<< sizeof(T) *8)
 
template<std::integral T>
requires (size_t(sizeof(T)) <= 4)
consteval T Botan::montgomery_R (T q)
 
template<std::integral T>
requires (size_t(sizeof(T)) <= 4)
consteval T Botan::montgomery_R2 (T q)
 

Detailed Description

Internal Header.

Definition in file pqcrystals_helpers.h.