esp8266ndn
NDN Arduino library for ESP8266 and more
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ndnph::port_sha256_null::Sha256 Class Reference

Stub SHA256 algorithm implementation. More...

#include <null.hpp>

Public Member Functions

void update (const uint8_t *, size_t)
 Append bytes into hash state.
 
bool final (uint8_t[NDNPH_SHA256_LEN])
 Finalize hash and obtain digest.
 

Detailed Description

Stub SHA256 algorithm implementation.

Member Function Documentation

◆ final()

bool ndnph::port_sha256_null::Sha256::final ( uint8_t  [NDNPH_SHA256_LEN])
inline

Finalize hash and obtain digest.

Returns
whether success.

◆ update()

void ndnph::port_sha256_null::Sha256::update ( const uint8_t *  ,
size_t   
)
inline

Append bytes into hash state.


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