summaryrefslogtreecommitdiff
path: root/oox/source/crypto
AgeCommit message (Collapse)Author
2014-09-19Remove unused XFastTokenHandler functionsMatúš Kukan
Change-Id: I0d8072f1194aa837932dcffd6dc6a3761bbdc74e
2014-08-13warning C4245 signed/unsigned mismatchMichael Stahl
Change-Id: If28543252ee2265e9edd7d7963c1751bd21e754d
2014-06-25remove whitespacesMarkus Mohrhard
Change-Id: Ie14ba3dcb97f20479a04538748ef2c1c9e6c5dac
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-05-10coverity#1079343 Uninitialized pointer fieldCaolán McNamara
Change-Id: I05ec88144273c15181e9afa8f616b0ab11695f04
2014-03-28coverity#1130428 Dereference null return valueCaolán McNamara
Change-Id: I557aeb40b4209e2f77383143a8c2665bffea110c
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-24fdo#76222 oox: add support for MSO 2007 SP2 encrypted documentsTomaž Vajngerl
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0
2014-03-23oox: cast to avoid compile errorTomaž Vajngerl
Change-Id: I1ef4f4917f2b97d44c9b39f36fd17b0be6995a4e
2014-03-23oox: add Digest class which uses NSS or OpenSSL for digest calc.Tomaž Vajngerl
Document encryption and decryption uses either NSS or OpenSSL to calculate digest. Digest class hides the implementation details between the two implementations. Previously, functions sha1 and sha512 were used for this, but were less generic. Change-Id: I60119e2ab9c5c1f4a2b02bc417c3c89c53a63fda
2014-03-23fdo#75955 use SHA1 from openssl/nss instead of rtl_digest_sha1Tomaž Vajngerl
Change-Id: I92186b2ed8426d59e31080cfb629beb02cd01c41
2014-03-17oox: prefer passing OUString by referenceNoel Grandin
Change-Id: Iace276878e7ae668bba5bb6e36af1e5d5d72d6cb
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25remove unused code oox::core::Decrypt::aes128cbcNoel Grandin
Change-Id: I12478278de8b719c51b87c335abd5c440a56bd36
2014-02-11fix crash during file format detection, related #i101863#Markus Mohrhard
Change-Id: I2aec2e95f49ab70a9e94c5d52f70855f4381a24e
2014-02-10coverity#1079288 Uninitialized scalar fieldCaolán McNamara
Change-Id: I0fb9e547b73b563725eb8014f68224706df3c39d
2014-01-01workaround rather maddening endian-specific template bustageCaolán McNamara
Change-Id: I69dc97c93ef5efe8d71074ac3eca06a3bbc45253
2013-12-19css.xml.sax service ctor clean-upStephan Bergmann
Change-Id: I556904861e93a145cfe65f61218926851e4e8eb0
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-16Use sal_Int32 to satisfy oox/helper/helper.hxx's convertLittleEndianDouglas Mencken
Fixes build error "no matching function for call to oox::ByteOrderConverter::convertLittleEndian(int&)" Change-Id: I899f151ff99737247ce4090f59897eba842c40ba Reviewed-on: https://gerrit.libreoffice.org/7099 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-11-04oox: use proper integer type when calling PK11_DigestFinalMichael Stahl
Change-Id: I5ff79c55446bd9f3e350fb128793ffef51be843f
2013-09-15Save should encrypt OOXML document if it was loaded encrypted.Tomaž Vajngerl
Currently Agile encryption is not supported, so all documents loaded with "agile" encryption will be encrypted with "standard" encryption when they are saved afterwards. Change-Id: Id0477f43c00ed70032ca6b3390eebb1105d5ffa7
2013-08-24Forgotten one SAL_CALL in AgileDocumentHandlerTomaž Vajngerl
Change-Id: I28ad4fe77c9c8474f4f650e9ea5ab309be307fb5
2013-08-24and also add SAL_CALL to AgileTokenHandlerTomaž Vajngerl
Change-Id: I9b88fe7c932ba2d1b94eeeff7d35b1d011117316
2013-08-24Encryption: and add exceptions to methods that need itTomaž Vajngerl
Change-Id: I8101f00bc4820ec3100e2c08a9dd21248c909081
2013-08-24Convert vector block* to const array block*.Tomaž Vajngerl
Looks like my compiler eats a lot of things thrown at him but others don't. Change-Id: If1d080a545e6c2a17e19b389eeb1714aa0569644
2013-08-24fdo#35422 Support to open encrypted Office 2010 and 2013 formatsTomaž Vajngerl
Additionally encryption and decryption has been refactored. 2 engines have been added: AgileEngine and Standard2007Engine, which contain core functions for encryption and decryption. Standard2007Engine refers to encryption and decryption as used in Office 2007 and AgileEngine refers to encryption and decryption as used in Office 2010 and 2013. AgileEngine does not yet support encryption. Change-Id: Ica1d4d5a109fb204012b92a0c39325fe0b99b793