The following patches add the support for version 5 + revision 6 documents. Poppler will now be able to able to decrypt and open files like: https://bugs.freedesktop.org/attachment.cgi?id=111902. Alok Anand (4): SHA-384,SHA-512 hash functions strictly require 64-bit words. Added cases and conditions for V=5 R=6 document in StandardSecurityHandler constructor. Added SHA-512 and SHA-384 hash functions required for R=6 hash (Algorithm 2.B). Added revision 6 hash (Algorithm 2.B) and its calls to makeFileKey function.
goo/gtypes.h | 2 +- poppler/Decrypt.cc | 357 ++++++++++++++++++++++++++++++++++++++++++++- poppler/SecurityHandler.cc | 8 +- 3 files changed, 354 insertions(+), 13 deletions(-) mode change 100644 => 100755 poppler/Decrypt.cc -- 2.7.2 _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
