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

EVP SM3 algorithm context. More...

#include <SM3Context.h>

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

Public Member Functions

 SM3Context () noexcept
 
 ~SM3Context () 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 SM3 algorithm context.

Constructor & Destructor Documentation

◆ SM3Context()

sese::security::evp::SM3Context::SM3Context ( )
noexcept

References context.

◆ ~SM3Context()

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

Member Function Documentation

◆ final()

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

◆ getLength()

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

◆ getResult()

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

◆ update()

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

Member Data Documentation

◆ context

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

Referenced by SM3Context().

◆ length

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

◆ result

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

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