LibreOffice Module oox (master) 1
|
#include <CryptTools.hxx>
Public Member Functions | |
Decrypt (std::vector< sal_uInt8 > &key, std::vector< sal_uInt8 > &iv, CryptoType type) | |
sal_uInt32 | update (std::vector< sal_uInt8 > &output, std::vector< sal_uInt8 > &input, sal_uInt32 inputLength=0) |
Public Member Functions inherited from oox::crypto::Crypto | |
virtual | ~Crypto () |
Static Public Member Functions | |
static sal_uInt32 | aes128ecb (std::vector< sal_uInt8 > &output, std::vector< sal_uInt8 > &input, std::vector< sal_uInt8 > &key) |
Additional Inherited Members | |
Public Types inherited from oox::crypto::Crypto | |
enum | CryptoType { UNKNOWN , AES_128_ECB , AES_128_CBC , AES_256_CBC } |
Protected Member Functions inherited from oox::crypto::Crypto | |
Crypto () | |
Protected Attributes inherited from oox::crypto::Crypto | |
std::unique_ptr< CryptoImpl > | mpImpl |
Definition at line 77 of file CryptTools.hxx.
oox::crypto::Decrypt::Decrypt | ( | std::vector< sal_uInt8 > & | key, |
std::vector< sal_uInt8 > & | iv, | ||
CryptoType | type | ||
) |
Definition at line 361 of file CryptTools.cxx.
References oox::crypto::Crypto::mpImpl, and type.
|
static |
Definition at line 403 of file CryptTools.cxx.
References oox::crypto::Crypto::AES_128_ECB, and update().
Referenced by oox::crypto::Standard2007Engine::generateEncryptionKey().
sal_uInt32 oox::crypto::Decrypt::update | ( | std::vector< sal_uInt8 > & | output, |
std::vector< sal_uInt8 > & | input, | ||
sal_uInt32 | inputLength = 0 |
||
) |
Definition at line 378 of file CryptTools.cxx.
References oox::crypto::Crypto::mpImpl.
Referenced by aes128ecb(), oox::crypto::AgileEngine::calculateBlock(), oox::crypto::AgileEngine::decrypt(), oox::crypto::Standard2007Engine::decrypt(), oox::crypto::AgileEngine::decryptHmacKey(), and oox::crypto::AgileEngine::decryptHmacValue().