diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-11-04 14:57:40 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-11-09 14:18:02 +0100 |
commit | 0cdcd10228b1845a1c66ba97527e612eed1f5e2f (patch) | |
tree | 4d69ce109ac8bd3f3d029366255bbab89df72218 /libqpdf/qpdf/RC4.hh | |
parent | ce8f9b6608ebcc3e88fbb1655be3e9363fa671b6 (diff) | |
download | qpdf-0cdcd10228b1845a1c66ba97527e612eed1f5e2f.tar.zst |
Rename RC4 implementation (non-bisectable)
Diffstat (limited to 'libqpdf/qpdf/RC4.hh')
-rw-r--r-- | libqpdf/qpdf/RC4.hh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/libqpdf/qpdf/RC4.hh b/libqpdf/qpdf/RC4.hh deleted file mode 100644 index a2aa5dce..00000000 --- a/libqpdf/qpdf/RC4.hh +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef RC4_HH -#define RC4_HH - -#include <stddef.h> - -class RC4 -{ - public: - // key_len of -1 means treat key_data as a null-terminated string - RC4(unsigned char const* key_data, int key_len = -1); - - // out_data = 0 means to encrypt/decrypt in place - void process(unsigned char* in_data, size_t len, - unsigned char* out_data = 0); - - private: - class RC4Key - { - public: - unsigned char state[256]; - unsigned char x; - unsigned char y; - }; - - RC4Key key; -}; - -#endif // RC4_HH |