1#ifndef NDNPH_PORT_SHA256_NULL_HPP
2#define NDNPH_PORT_SHA256_NULL_HPP
4#include "../../core/common.hpp"
7namespace port_sha256_null {
13 void update(
const uint8_t*,
size_t) {}
34 void update(
const uint8_t*,
size_t) {}
7namespace port_sha256_null {
…}
49#ifdef NDNPH_PORT_SHA256_NULL
51using Sha256 = port_sha256_null::Sha256;
52using HmacSha256 = port_sha256_null::HmacSha256;
Stub HMAC-SHA256 algorithm implementation.
Definition null.hpp:25
void update(const uint8_t *, size_t)
Append bytes into hash state.
Definition null.hpp:34
HmacSha256(const uint8_t *key, size_t keyLen)
Start HMAC operation and set key.
Definition null.hpp:28
Stub SHA256 algorithm implementation.
Definition null.hpp:10
void update(const uint8_t *, size_t)
Append bytes into hash state.
Definition null.hpp:13
#define NDNPH_SHA256_LEN
SHA256 digest length.
Definition common.hpp:34