5#ifndef BITCOIN_CRYPTO_COMMON_H
6#define BITCOIN_CRYPTO_COMMON_H
13uint16_t
static inline ReadLE16(
const unsigned char* ptr)
20uint32_t
static inline ReadLE32(
const unsigned char* ptr)
27uint64_t
static inline ReadLE64(
const unsigned char* ptr)
34void static inline WriteLE16(
unsigned char* ptr, uint16_t x)
40void static inline WriteLE32(
unsigned char* ptr, uint32_t x)
46void static inline WriteLE64(
unsigned char* ptr, uint64_t x)
52uint16_t
static inline ReadBE16(
const unsigned char* ptr)
59uint32_t
static inline ReadBE32(
const unsigned char* ptr)
66uint64_t
static inline ReadBE64(
const unsigned char* ptr)
73void static inline WriteBE16(
unsigned char* ptr, uint16_t x)
79void static inline WriteBE32(
unsigned char* ptr, uint32_t x)
85void static inline WriteBE64(
unsigned char* ptr, uint64_t x)
static void WriteBE16(unsigned char *ptr, uint16_t x)
static uint16_t ReadLE16(const unsigned char *ptr)
static void WriteLE16(unsigned char *ptr, uint16_t x)
static uint64_t ReadBE64(const unsigned char *ptr)
static uint64_t ReadLE64(const unsigned char *ptr)
static uint16_t ReadBE16(const unsigned char *ptr)
static uint32_t ReadLE32(const unsigned char *ptr)
static void WriteBE32(unsigned char *ptr, uint32_t x)
static void WriteLE32(unsigned char *ptr, uint32_t x)
static void WriteBE64(unsigned char *ptr, uint64_t x)
static uint32_t ReadBE32(const unsigned char *ptr)
static void WriteLE64(unsigned char *ptr, uint64_t x)
BSWAP_CONSTEXPR uint32_t be32toh_internal(uint32_t big_endian_32bits)
BSWAP_CONSTEXPR uint16_t be16toh_internal(uint16_t big_endian_16bits)
BSWAP_CONSTEXPR uint64_t htobe64_internal(uint64_t host_64bits)
BSWAP_CONSTEXPR uint16_t htobe16_internal(uint16_t host_16bits)
BSWAP_CONSTEXPR uint32_t htole32_internal(uint32_t host_32bits)
BSWAP_CONSTEXPR uint16_t htole16_internal(uint16_t host_16bits)
BSWAP_CONSTEXPR uint64_t be64toh_internal(uint64_t big_endian_64bits)
BSWAP_CONSTEXPR uint16_t le16toh_internal(uint16_t little_endian_16bits)
BSWAP_CONSTEXPR uint64_t htole64_internal(uint64_t host_64bits)
BSWAP_CONSTEXPR uint64_t le64toh_internal(uint64_t little_endian_64bits)
BSWAP_CONSTEXPR uint32_t le32toh_internal(uint32_t little_endian_32bits)
BSWAP_CONSTEXPR uint32_t htobe32_internal(uint32_t host_32bits)