![]() |
TrinityCore
|
Namespaces | |
| namespace | SRP |
Classes | |
| class | AES |
| class | ARC4 |
| struct | Argon2 |
| struct | Constants |
| class | Ed25519 |
| class | RsaSignature |
| struct | TOTP |
Typedefs | |
| using | MD5 = Trinity::Impl::GenericHash< EVP_md5, Constants::MD5_DIGEST_LENGTH_BYTES > |
| using | SHA1 = Trinity::Impl::GenericHash< EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES > |
| using | SHA256 = Trinity::Impl::GenericHash< EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES > |
| using | SHA512 = Trinity::Impl::GenericHash< EVP_sha512, Constants::SHA512_DIGEST_LENGTH_BYTES > |
| using | HMAC_SHA1 = Trinity::Impl::GenericHMAC< EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES > |
| using | HMAC_SHA256 = Trinity::Impl::GenericHMAC< EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES > |
| using | HMAC_SHA512 = Trinity::Impl::GenericHMAC< EVP_sha512, Constants::SHA512_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) |
| void TC_COMMON_API | GetRandomBytes (uint8 *buf, size_t len) |
| template<typename Container > | |
| void | GetRandomBytes (Container &c) |
| template<size_t S> | |
| std::array< uint8, S > | GetRandomBytes () |
|
private |
|
private |
|
private |
|
private |
Definition at line 140 of file CryptoHash.h.
|
private |
Definition at line 141 of file CryptoHash.h.
|
private |
Definition at line 142 of file CryptoHash.h.
|
private |
Definition at line 143 of file CryptoHash.h.
| bool Trinity::Crypto::AEDecrypt | ( | std::vector< uint8 > & | data, |
| typename Cipher::Key const & | key | ||
| ) |
| void Trinity::Crypto::AEEncryptWithRandomIV | ( | std::vector< uint8 > & | data, |
| typename Cipher::Key const & | key | ||
| ) |
| std::array< uint8, S > Trinity::Crypto::GetRandomBytes | ( | ) |
Definition at line 37 of file CryptoRandom.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void Trinity::Crypto::GetRandomBytes | ( | Container & | c | ) |
| void Trinity::Crypto::GetRandomBytes | ( | uint8 * | buf, |
| size_t | len | ||
| ) |
Definition at line 22 of file CryptoRandom.cpp.