Botan 3.9.0
Crypto and TLS for C&
Botan::UnblindedScalarBits< C, WindowBits > Class Template Referencefinal

#include <pcurves_impl.h>

Public Member Functions

size_t get_window (size_t offset) const
 UnblindedScalarBits (const typename C::Scalar &scalar)

Static Public Attributes

static constexpr size_t Bits = C::Scalar::BITS

Detailed Description

template<typename C, size_t WindowBits>
class Botan::UnblindedScalarBits< C, WindowBits >

Definition at line 1371 of file pcurves_impl.h.

Constructor & Destructor Documentation

◆ UnblindedScalarBits()

template<typename C, size_t WindowBits>
Botan::UnblindedScalarBits< C, WindowBits >::UnblindedScalarBits ( const typename C::Scalar & scalar)
inlineexplicit

Definition at line 1375 of file pcurves_impl.h.

1375{ scalar.serialize_to(std::span{m_bytes}); }

Member Function Documentation

◆ get_window()

template<typename C, size_t WindowBits>
size_t Botan::UnblindedScalarBits< C, WindowBits >::get_window ( size_t offset) const
inline

Definition at line 1377 of file pcurves_impl.h.

1377 {
1378 // Extract a WindowBits sized window out of s, depending on offset.
1380 }
constexpr size_t read_window_bits(std::span< const W, N > words, size_t offset)
Definition mp_core.h:952

References Botan::read_window_bits().

Referenced by Botan::VartimeMul2Table< C, W >::mul2_vartime().

Member Data Documentation

◆ Bits

template<typename C, size_t WindowBits>
size_t Botan::UnblindedScalarBits< C, WindowBits >::Bits = C::Scalar::BITS
staticconstexpr

Definition at line 1373 of file pcurves_impl.h.


The documentation for this class was generated from the following file: