diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-11-04 19:59:19 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-11-09 14:18:02 +0100 |
commit | c8cda4f965064a9c4621d8d9f889eb7037fe72bb (patch) | |
tree | 333110d755d88709c4b196f834c6f0fa1e7b68ba /include | |
parent | bb427bd11774f47f553257cdc0693f77b559654d (diff) | |
download | qpdf-c8cda4f965064a9c4621d8d9f889eb7037fe72bb.tar.zst |
AES_PDF: switch to pluggable crypto
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFCryptoImpl.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/qpdf/QPDFCryptoImpl.hh b/include/qpdf/QPDFCryptoImpl.hh index 09803a79..edeea0d3 100644 --- a/include/qpdf/QPDFCryptoImpl.hh +++ b/include/qpdf/QPDFCryptoImpl.hh @@ -73,6 +73,15 @@ class QPDF_DLL_CLASS QPDFCryptoImpl unsigned char* out_data = 0) = 0; QPDF_DLL virtual void RC4_finalize() = 0; + + QPDF_DLL + virtual void rijndael_init( + bool encrypt, unsigned char const* key_data, size_t key_len) = 0; + QPDF_DLL + virtual void rijndael_process( + unsigned char* in_data, unsigned char* out_data) = 0; + QPDF_DLL + virtual void rijndael_finalize() = 0; }; #endif // QPDFCRYPTOIMPL_HH |