AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Classes | |
class | AES |
class | ARC4 |
struct | Argon2 |
struct | Constants |
class | SRP6 |
struct | TOTP |
Typedefs | |
using | MD5 = Acore::Impl::GenericHash< EVP_md5, Constants::MD5_DIGEST_LENGTH_BYTES > |
using | SHA1 = Acore::Impl::GenericHash< EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES > |
using | SHA256 = Acore::Impl::GenericHash< EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES > |
using | HMAC_SHA1 = Acore::Impl::GenericHMAC< EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES > |
using | HMAC_SHA256 = Acore::Impl::GenericHMAC< EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES > |
Functions | |
template<typename Cipher > | |
void | AEEncryptWithRandomIV (std::vector< uint8 > &data, typename Cipher::Key const &key) |
template<typename Cipher > | |
void | AEEncryptWithRandomIV (std::vector< uint8 > &data, BigNumber const &key) |
template<typename Cipher > | |
bool | AEDecrypt (std::vector< uint8 > &data, typename Cipher::Key const &key) |
template<typename Cipher > | |
bool | AEDecrypt (std::vector< uint8 > &data, BigNumber const &key) |
AC_COMMON_API void | GetRandomBytes (uint8 *buf, std::size_t len) |
template<typename Container > | |
void | GetRandomBytes (Container &c) |
template<std::size_t S> | |
std::array< uint8, S > | GetRandomBytes () |
using Acore::Crypto::HMAC_SHA1 = typedef Acore::Impl::GenericHMAC<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES> |
using Acore::Crypto::HMAC_SHA256 = typedef Acore::Impl::GenericHMAC<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
using Acore::Crypto::MD5 = typedef Acore::Impl::GenericHash<EVP_md5, Constants::MD5_DIGEST_LENGTH_BYTES> |
using Acore::Crypto::SHA1 = typedef Acore::Impl::GenericHash<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES> |
using Acore::Crypto::SHA256 = typedef Acore::Impl::GenericHash<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
bool Acore::Crypto::AEDecrypt | ( | std::vector< uint8 > & | data, |
BigNumber const & | key | ||
) |
References BigNumber::ToByteArray().
bool Acore::Crypto::AEDecrypt | ( | std::vector< uint8 > & | data, |
typename Cipher::Key const & | key | ||
) |
References Acore::Impl::CryptoGenericsImpl::SplitFromBack().
void Acore::Crypto::AEEncryptWithRandomIV | ( | std::vector< uint8 > & | data, |
BigNumber const & | key | ||
) |
References BigNumber::ToByteArray().
void Acore::Crypto::AEEncryptWithRandomIV | ( | std::vector< uint8 > & | data, |
typename Cipher::Key const & | key | ||
) |
References Acore::Impl::CryptoGenericsImpl::AppendToBack(), and ASSERT.
std::array< uint8, S > Acore::Crypto::GetRandomBytes | ( | ) |
References GetRandomBytes().
Referenced by Acore::Impl::CryptoGenericsImpl::GenerateRandomIV(), GetRandomBytes(), account_commandscript::HandleAccount2FASetupCommand(), Acore::Crypto::SRP6::MakeRegistrationData(), AuthSession::ReconnectChallengeCallback(), and WorldSocket::WorldSocket().
References GetRandomBytes().