Changeset View
Changeset View
Standalone View
Standalone View
src/crypto/sha1.cpp
// 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. | ||||
#include "crypto/sha1.h" | #include <crypto/sha1.h> | ||||
#include "crypto/common.h" | #include <crypto/common.h> | ||||
#include <cstring> | #include <cstring> | ||||
// Internal implementation code. | // Internal implementation code. | ||||
namespace { | namespace { | ||||
/// Internal SHA-1 implementation. | /// Internal SHA-1 implementation. | ||||
namespace sha1 { | namespace sha1 { | ||||
/** One round of SHA-1. */ | /** One round of SHA-1. */ | ||||
▲ Show 20 Lines • Show All 181 Lines • Show Last 20 Lines |