|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <AuthCrypt.h>
Public Member Functions | |
| AuthCrypt () | |
| void | DecryptRecv (uint8 *data, size_t len) |
| void | EncryptSend (uint8 *data, size_t len) |
| void | Init (SessionKey const &K) |
| bool | IsInitialized () const |
Private Attributes | |
| SkyFire::Crypto::ARC4 | _clientDecrypt |
| bool | _initialized |
| SkyFire::Crypto::ARC4 | _serverEncrypt |
Definition at line 13 of file AuthCrypt.h.
| AuthCrypt::AuthCrypt | ( | ) |
Definition at line 10 of file AuthCrypt.cpp.
References _initialized.
| void AuthCrypt::DecryptRecv | ( | uint8 * | data, |
| size_t | len ) |
Definition at line 30 of file AuthCrypt.cpp.
References _clientDecrypt, _initialized, and ASSERT.
| void AuthCrypt::EncryptSend | ( | uint8 * | data, |
| size_t | len ) |
Definition at line 36 of file AuthCrypt.cpp.
References _initialized, _serverEncrypt, and ASSERT.
| void AuthCrypt::Init | ( | SessionKey const & | K | ) |
Definition at line 15 of file AuthCrypt.cpp.
References _clientDecrypt, _initialized, _serverEncrypt, and SkyFire::Impl::GenericHMAC< EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES >::GetDigestOf().
|
inline |
Definition at line 22 of file AuthCrypt.h.
References _initialized.
Referenced by ServerPktHeader::ServerPktHeader().
|
private |
Definition at line 25 of file AuthCrypt.h.
Referenced by DecryptRecv(), and Init().
|
private |
Definition at line 27 of file AuthCrypt.h.
Referenced by AuthCrypt(), DecryptRecv(), EncryptSend(), Init(), and IsInitialized().
|
private |
Definition at line 26 of file AuthCrypt.h.
Referenced by EncryptSend(), and Init().