lhashes
1.0.0
C++ hashes library
|
This file defines internal utilities common to the various hash algorithms. More...
#include "lhashes/lhashes_Export.h"
#include <cstdint>
Go to the source code of this file.
Namespaces | |
limes::hash | |
Cryptographic hash functions. | |
limes::hash::util | |
This namespace contains implementation details for the hash functions. | |
template<typename T > | |
LHASH_NO_EXPORT T | limes::hash::util::ch (T x, T y, T z) noexcept |
template<typename T > | |
LHASH_NO_EXPORT T | limes::hash::util::maj (T x, T y, T z) noexcept |
LHASH_NO_EXPORT void | limes::hash::util::pack32 (const unsigned char *str, std::uint32_t &x) noexcept |
LHASH_NO_EXPORT void | limes::hash::util::pack64 (const unsigned char *str, std::uint64_t &x) noexcept |
LHASH_NO_EXPORT std::uint32_t | limes::hash::util::sha256_F1 (std::uint32_t x) noexcept |
LHASH_NO_EXPORT std::uint32_t | limes::hash::util::sha256_F2 (std::uint32_t x) noexcept |
LHASH_NO_EXPORT std::uint32_t | limes::hash::util::sha256_F3 (std::uint32_t x) noexcept |
LHASH_NO_EXPORT std::uint32_t | limes::hash::util::sha256_F4 (std::uint32_t x) noexcept |
constexpr LHASH_NO_EXPORT std::uint32_t | limes::hash::util::sha256_k [64] |
LHASH_NO_EXPORT std::uint64_t | limes::hash::util::sha512_F1 (std::uint64_t x) noexcept |
LHASH_NO_EXPORT std::uint64_t | limes::hash::util::sha512_F2 (std::uint64_t x) noexcept |
LHASH_NO_EXPORT std::uint64_t | limes::hash::util::sha512_F3 (std::uint64_t x) noexcept |
LHASH_NO_EXPORT std::uint64_t | limes::hash::util::sha512_F4 (std::uint64_t x) noexcept |
constexpr LHASH_NO_EXPORT std::uint64_t | limes::hash::util::sha512_k [80] |
template<typename T > | |
LHASH_NO_EXPORT void | limes::hash::util::unpack32 (T x, unsigned char *str) noexcept |
LHASH_NO_EXPORT void | limes::hash::util::unpack64 (std::uint64_t x, unsigned char *str) noexcept |
This file defines internal utilities common to the various hash algorithms.
Definition in file lhashes_common.h.