Sese Framework
x.y.z
A cross-platform framework
|
#include <sese/convert/SHA256Util.h>
#include <sese/io/ByteBuilder.h>
#include <sese/util/Endian.h>
#include <bitset>
类 | |
struct | sese::Bitset32 |
endian 无关的 32 位 更多... | |
宏定义 | |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0000'0011) << 6 | (bt2 & 0b1111'1100) >> 2 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0011'1111) << 2 | (bt2 & 0b1100'0000) >> 6 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0111'1111) << 1 | (bt2 & 0b1000'0000) >> 7 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0000'0111) << 5 | (bt2 & 0b1111'1000) >> 3 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0001'1111) << 3 | (bt2 & 0b1110'0000) >> 5 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0000'0001) << 7 | (bt2 & 0b1111'1110) >> 1 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0000'0011) << 6 | (bt2 & 0b1111'1100) >> 2 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0000'0111) << 5 | (bt2 & 0b1111'1000) >> 3 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0011'1111) << 2 | (bt2 & 0b1100'0000) >> 6 |
#define | XX(value, bt1, bt2) uint8_t value = (bt1 & 0b0000'0001) << 7 | (bt2 & 0b1111'1110) >> 1 |
#define | XX(i) value[i] = value[i] + h[i] |
#define | a value[0] |
#define | b value[1] |
#define | c value[2] |
#define | d value[3] |
#define | e value[4] |
#define | f value[5] |
#define | g value[6] |
#define | h value[7] |
函数 | |
char | toChar (unsigned char ch, bool is_cap) |
#define a value[0] |
被这些函数引用 close(), close(), sese::archive::ArchiveReader::extract(), sese::MD5Util::FF(), free(), sese::net::dns::DnsPackage::Index::getSortedIndexes(), sese::MD5Util::GG(), sese::MD5Util::HH(), sese::MD5Util::II(), sese::isAdditionOverflow(), sese::isSubtractionOverflow(), sese::RandomUtil::nextString(), open(), open(), passphrase(), read(), sese::MD5Util::transform(), transform() , 以及 write().
#define b value[1] |
#define c value[2] |
被这些函数引用 sstr::SStringView::at(), sese::net::http::huffman_node_t::code(), sese::MD5Util::FF(), sese::MD5Util::GG(), sese::MD5Util::HH(), sese::MD5Util::II(), isKeyWord(), sese::text::DateTimeParser::parse(), sese::db::impl::SqliteResultSetImpl::SqliteResultSetImpl(), sese::MD5Util::transform() , 以及 transform().
#define d value[3] |
#define e value[4] |
被这些函数引用 sese::_windows::iocp::v1::NativeIOCPServer::eventThreadProc(), sese::internal::service::http::HttpServiceImpl::handleAccept(), sese::internal::service::http::HttpServiceImpl::handleSSLAccept(), sese::_windows::iocp::v1::NativeIOCPServer::postConnect(), sese::_windows::iocp::v1::NativeIOCPServer::postRead(), sese::_windows::iocp::v1::NativeIOCPServer::postWrite(), sese::event::KqueueEventLoop::setEvent() , 以及 transform().
#define f value[5] |
#define g value[6] |
#define h value[7] |
#define XX | ( | i | ) | value[i] = value[i] + h[i] |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0000'0011) << 6 | (bt2 & 0b1111'1100) >> 2 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0011'1111) << 2 | (bt2 & 0b1100'0000) >> 6 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0111'1111) << 1 | (bt2 & 0b1000'0000) >> 7 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0000'0111) << 5 | (bt2 & 0b1111'1000) >> 3 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0001'1111) << 3 | (bt2 & 0b1110'0000) >> 5 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0000'0001) << 7 | (bt2 & 0b1111'1110) >> 1 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0000'0011) << 6 | (bt2 & 0b1111'1100) >> 2 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0000'0111) << 5 | (bt2 & 0b1111'1000) >> 3 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0011'1111) << 2 | (bt2 & 0b1100'0000) >> 6 |
#define XX | ( | value, | |
bt1, | |||
bt2 ) uint8_t value = (bt1 & 0b0000'0001) << 7 | (bt2 & 0b1111'1110) >> 1 |
|
inline |
被这些函数引用 sese::SHA256Util::encode().