Changeset View
Changeset View
Standalone View
Standalone View
src/crypto/hmac_sha256.h
// Copyright (c) 2014 The Bitcoin Core developers | // Copyright (c) 2014 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_CRYPTO_HMAC_SHA256_H | #ifndef BITCOIN_CRYPTO_HMAC_SHA256_H | ||||
#define BITCOIN_CRYPTO_HMAC_SHA256_H | #define BITCOIN_CRYPTO_HMAC_SHA256_H | ||||
#include "crypto/sha256.h" | #include <crypto/sha256.h> | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <cstdlib> | #include <cstdlib> | ||||
/** A hasher class for HMAC-SHA-256. */ | /** A hasher class for HMAC-SHA-256. */ | ||||
class CHMAC_SHA256 { | class CHMAC_SHA256 { | ||||
private: | private: | ||||
CSHA256 outer; | CSHA256 outer; | ||||
Show All 14 Lines |