Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::security::evp::SHA256Context Class Reference

EVP SHA256 algorithm context. More...

#include <SHA256Context.h>

Inheritance diagram for sese::security::evp::SHA256Context:
sese::security::evp::Context

Public Member Functions

 SHA256Context () noexcept
 
 ~SHA256Context () noexcept override
 
void update (const void *buffer, size_t len) noexcept override
 
void final () noexcept override
 
void * getResult () noexcept override
 
size_t getLength () noexcept override
 
- Public Member Functions inherited from sese::security::evp::Context
 Context ()=default
 
virtual ~Context () noexcept=default
 

Private Attributes

size_t length = 32
 
uint8_t result [32] {}
 
void * context = nullptr
 

Additional Inherited Members

- Public Types inherited from sese::security::evp::Context
using Ptr = std::unique_ptr<Context>
 

Detailed Description

EVP SHA256 algorithm context.

Constructor & Destructor Documentation

◆ SHA256Context()

sese::security::evp::SHA256Context::SHA256Context ( )
noexcept

References context.

◆ ~SHA256Context()

sese::security::evp::SHA256Context::~SHA256Context ( )
overridenoexcept

Member Function Documentation

◆ final()

void sese::security::evp::SHA256Context::final ( )
overridevirtualnoexcept

◆ getLength()

size_t sese::security::evp::SHA256Context::getLength ( )
overridevirtualnoexcept

◆ getResult()

void * sese::security::evp::SHA256Context::getResult ( )
overridevirtualnoexcept

◆ update()

void sese::security::evp::SHA256Context::update ( const void * buffer,
size_t len )
overridevirtualnoexcept

Member Data Documentation

◆ context

void* sese::security::evp::SHA256Context::context = nullptr
private

Referenced by SHA256Context().

◆ length

size_t sese::security::evp::SHA256Context::length = 32
private

◆ result

uint8_t sese::security::evp::SHA256Context::result[32] {}
private

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