Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::Bitset32 Struct Reference

Endian-independent 32-bit. More...

Public Member Functions

 Bitset32 ()=default
 
 Bitset32 (uint32_t value)
 
 Bitset32 (uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3)
 
void set (uint32_t value)
 
uint32_t get ()
 
Bitset32 rightShift3 () const noexcept
 
Bitset32 rightShift10 () const noexcept
 
Bitset32 rightRotate2 () const noexcept
 
Bitset32 rightRotate6 () const noexcept
 
Bitset32 rightRotate7 () const noexcept
 
Bitset32 rightRotate11 () const noexcept
 
Bitset32 rightRotate13 () const noexcept
 
Bitset32 rightRotate17 () const noexcept
 
Bitset32 rightRotate18 () const noexcept
 
Bitset32 rightRotate19 () noexcept
 
Bitset32 rightRotate22 () noexcept
 
Bitset32 rightRotate25 () noexcept
 
Bitset32 operator& (const Bitset32 &bit32) const
 
Bitset32 operator^ (const Bitset32 &bit32) const
 
Bitset32 operator+ (const Bitset32 &bit32) const
 
Bitset32 operator~ () const
 

Public Attributes

uint8_t byte0 {}
 
uint8_t byte1 {}
 
uint8_t byte2 {}
 
uint8_t byte3 {}
 

Detailed Description

Endian-independent 32-bit.

Constructor & Destructor Documentation

◆ Bitset32() [1/3]

sese::Bitset32::Bitset32 ( )
default

◆ Bitset32() [2/3]

sese::Bitset32::Bitset32 ( uint32_t value)
inline

References FromBigEndian32().

◆ Bitset32() [3/3]

sese::Bitset32::Bitset32 ( uint8_t b0,
uint8_t b1,
uint8_t b2,
uint8_t b3 )
inline

References byte0, byte1, byte2, and byte3.

Member Function Documentation

◆ get()

uint32_t sese::Bitset32::get ( )
inline

References FromBigEndian32().

◆ operator&()

Bitset32 sese::Bitset32::operator& ( const Bitset32 & bit32) const
inline

References byte0, byte1, byte2, and byte3.

◆ operator+()

Bitset32 sese::Bitset32::operator+ ( const Bitset32 & bit32) const
inline

◆ operator^()

Bitset32 sese::Bitset32::operator^ ( const Bitset32 & bit32) const
inline

References byte0, byte1, byte2, and byte3.

◆ operator~()

Bitset32 sese::Bitset32::operator~ ( ) const
inline

References byte0.

◆ rightRotate11()

Bitset32 sese::Bitset32::rightRotate11 ( ) const
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

◆ rightRotate13()

Bitset32 sese::Bitset32::rightRotate13 ( ) const
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

◆ rightRotate17()

Bitset32 sese::Bitset32::rightRotate17 ( ) const
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

Referenced by sese::SHA256Util::structure().

◆ rightRotate18()

Bitset32 sese::Bitset32::rightRotate18 ( ) const
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

Referenced by sese::SHA256Util::structure().

◆ rightRotate19()

Bitset32 sese::Bitset32::rightRotate19 ( )
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

Referenced by sese::SHA256Util::structure().

◆ rightRotate2()

Bitset32 sese::Bitset32::rightRotate2 ( ) const
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

◆ rightRotate22()

Bitset32 sese::Bitset32::rightRotate22 ( )
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

◆ rightRotate25()

Bitset32 sese::Bitset32::rightRotate25 ( )
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

◆ rightRotate6()

Bitset32 sese::Bitset32::rightRotate6 ( ) const
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

◆ rightRotate7()

Bitset32 sese::Bitset32::rightRotate7 ( ) const
inlinenoexcept

References byte0, byte1, byte2, byte3, and XX.

Referenced by sese::SHA256Util::structure().

◆ rightShift10()

Bitset32 sese::Bitset32::rightShift10 ( ) const
inlinenoexcept

References byte0, byte1, and byte2.

Referenced by sese::SHA256Util::structure().

◆ rightShift3()

Bitset32 sese::Bitset32::rightShift3 ( ) const
inlinenoexcept

References byte0, byte1, byte2, and byte3.

Referenced by sese::SHA256Util::structure().

◆ set()

void sese::Bitset32::set ( uint32_t value)
inline

References ToBigEndian32().

Member Data Documentation

◆ byte0

◆ byte1

◆ byte2

◆ byte3


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