LibreOffice Module oox (master) 1
|
Classes | |
struct | AgileEncryptionInfo |
struct | AgileEncryptionParameters |
class | AgileEngine |
class | Crypto |
class | CryptoEngine |
class | CryptoHash |
struct | CryptoImpl |
class | Decrypt |
class | DocumentDecryption |
class | DocumentEncryption |
class | Encrypt |
class | Standard2007Engine |
class | StrongEncryptionDataSpace |
Enumerations | |
enum class | AgileEncryptionPreset { AES_128_SHA1 , AES_256_SHA512 } |
enum class | CryptoHashType { SHA1 , SHA256 , SHA512 } |
Functions | |
static std::vector< sal_uInt8 > | calculateIV (comphelper::HashType eType, std::vector< sal_uInt8 > const &rSalt, std::vector< sal_uInt8 > const &rBlock, sal_Int32 nCipherBlockSize) |
template<typename T > | |
T | roundUp (T input, T multiple) |
Rounds up the input to the nearest multiple. More... | |
|
strong |
Enumerator | |
---|---|
AES_128_SHA1 | |
AES_256_SHA512 |
Definition at line 70 of file AgileEngine.hxx.
|
strong |
Enumerator | |
---|---|
SHA1 | |
SHA256 | |
SHA512 |
Definition at line 47 of file CryptTools.hxx.
|
static |
Definition at line 240 of file AgileEngine.cxx.
References eType, comphelper::Hash::finalize(), roundUp(), and comphelper::Hash::update().
Referenced by oox::crypto::AgileEngine::decryptHmacKey(), oox::crypto::AgileEngine::decryptHmacValue(), oox::crypto::AgileEngine::encryptHmacKey(), and oox::crypto::AgileEngine::encryptHmacValue().
T oox::crypto::roundUp | ( | T | input, |
T | multiple | ||
) |
Rounds up the input to the nearest multiple.
For example: input 1, multiple 16 = 16 input 16, multiple 16 = 16 input 17, multiple 16 = 32 input 31, multiple 16 = 32
Definition at line 40 of file CryptTools.hxx.
Referenced by calculateIV(), oox::crypto::AgileEngine::decryptAndCheckVerifierHash(), oox::crypto::AgileEngine::encrypt(), oox::crypto::Standard2007Engine::encrypt(), oox::crypto::AgileEngine::encryptHmacKey(), oox::crypto::AgileEngine::encryptHmacValue(), oox::crypto::AgileEngine::generateAndEncryptVerifierHash(), and oox::crypto::AgileEngine::setupEncryptionParameters().