|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Classes | |
| class | ARC4 |
| struct | Constants |
| class | SRP6 |
Typedefs | |
| using | HMAC_SHA1 = SkyFire::Impl::GenericHMAC<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES> |
| using | HMAC_SHA256 = SkyFire::Impl::GenericHMAC<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
| using | SHA1 = SkyFire::Impl::GenericHash<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES> |
| using | SHA256 = SkyFire::Impl::GenericHash<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
Functions | |
| template<typename Cipher> | |
| bool | AEDecrypt (std::vector< uint8 > &data, BigNumber const &key) |
| template<typename Cipher> | |
| bool | AEDecrypt (std::vector< uint8 > &data, typename Cipher::Key const &key) |
| template<typename Cipher> | |
| void | AEEncryptWithRandomIV (std::vector< uint8 > &data, BigNumber const &key) |
| template<typename Cipher> | |
| void | AEEncryptWithRandomIV (std::vector< uint8 > &data, typename Cipher::Key const &key) |
| template<size_t S> | |
| std::array< uint8, S > | GetRandomBytes () |
| template<typename Container> | |
| void | GetRandomBytes (Container &c) |
| void | GetRandomBytes (uint8 *buf, size_t len) |
| using SkyFire::Crypto::HMAC_SHA256 = SkyFire::Impl::GenericHMAC<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
| using SkyFire::Crypto::SHA1 = SkyFire::Impl::GenericHash<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES> |
Definition at line 103 of file CryptoHash.h.
| using SkyFire::Crypto::SHA256 = SkyFire::Impl::GenericHash<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
Definition at line 104 of file CryptoHash.h.
| bool SkyFire::Crypto::AEDecrypt | ( | std::vector< uint8 > & | data, |
| BigNumber const & | key ) |
Definition at line 93 of file CryptoGenerics.h.
References AEDecrypt(), and BigNumber::ToByteArray().
| bool SkyFire::Crypto::AEDecrypt | ( | std::vector< uint8 > & | data, |
| typename Cipher::Key const & | key ) |
Definition at line 76 of file CryptoGenerics.h.
References SkyFire::Impl::CryptoGenericsImpl::SplitFromBack().
Referenced by AEDecrypt().
| void SkyFire::Crypto::AEEncryptWithRandomIV | ( | std::vector< uint8 > & | data, |
| BigNumber const & | key ) |
Definition at line 70 of file CryptoGenerics.h.
References AEEncryptWithRandomIV(), and BigNumber::ToByteArray().
| void SkyFire::Crypto::AEEncryptWithRandomIV | ( | std::vector< uint8 > & | data, |
| typename Cipher::Key const & | key ) |
Definition at line 50 of file CryptoGenerics.h.
References SkyFire::Impl::CryptoGenericsImpl::AppendToBack(), ASSERT, and SkyFire::Impl::CryptoGenericsImpl::GenerateRandomIV().
Referenced by AEEncryptWithRandomIV().
| std::array< uint8, S > SkyFire::Crypto::GetRandomBytes | ( | ) |
Definition at line 23 of file CryptoRandom.h.
References GetRandomBytes().
Referenced by AuthSocket::_HandleReconnectChallenge(), SkyFire::Impl::CryptoGenericsImpl::GenerateRandomIV(), GetRandomBytes(), GetRandomBytes(), SkyFire::Crypto::SRP6::MakeRegistrationData(), WardenWin::RequestData(), and WorldSocket::WorldSocket().
| void SkyFire::Crypto::GetRandomBytes | ( | Container & | c | ) |
Definition at line 17 of file CryptoRandom.h.
References GetRandomBytes().
| void SkyFire::Crypto::GetRandomBytes | ( | uint8 * | buf, |
| size_t | len ) |
Definition at line 10 of file CryptoRandom.cpp.
References ASSERT.
Referenced by WorldSocket::HandleSendAuthSession(), and SkyFire::Crypto::SRP6::SRP6().