Botan 3.10.0
Crypto and TLS for C&
Botan::detail::FullWordBounds< SpongeT > Class Template Referencefinal

#include <sponge_processing.h>

Public Member Functions

word_t masked_assignment (word_t, word_t full_input_word) const
word_t read_from (BufferSlicer &slicer) const
void write_into (BufferStuffer &stuffer, word_t full_word) const

Detailed Description

template<SpongeLike SpongeT>
class Botan::detail::FullWordBounds< SpongeT >

A drop-in replacement for PartialWordBounds that is optimized for handling full words where no masking or offsetting is necessary.

Definition at line 89 of file sponge_processing.h.

Member Function Documentation

◆ masked_assignment()

template<SpongeLike SpongeT>
word_t Botan::detail::FullWordBounds< SpongeT >::masked_assignment ( word_t ,
word_t full_input_word ) const
inline

Definition at line 99 of file sponge_processing.h.

◆ read_from()

template<SpongeLike SpongeT>
word_t Botan::detail::FullWordBounds< SpongeT >::read_from ( BufferSlicer & slicer) const
inline

Definition at line 95 of file sponge_processing.h.

95{ return load_le(slicer.take<word_bytes>()); }
constexpr auto load_le(ParamTs &&... params)
Definition loadstor.h:495

References Botan::load_le(), and Botan::BufferSlicer::take().

◆ write_into()

template<SpongeLike SpongeT>
void Botan::detail::FullWordBounds< SpongeT >::write_into ( BufferStuffer & stuffer,
word_t full_word ) const
inline

Definition at line 97 of file sponge_processing.h.

97{ stuffer.append(store_le(full_word)); }
constexpr auto store_le(ParamTs &&... params)
Definition loadstor.h:736

References Botan::BufferStuffer::append(), and Botan::store_le().


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