Line | Count | Source (jump to first uncovered line) |
1 | #include <qpdf/RC4.hh> | |
2 | ||
3 | #include <qpdf/QPDFCryptoProvider.hh> | |
4 | ||
5 | RC4::RC4(unsigned char const* key_data, int key_len) : | |
6 | 0 | crypto(QPDFCryptoProvider::getImpl()) |
7 | 0 | { |
8 | 0 | this->crypto->RC4_init(key_data, key_len); |
9 | 0 | } |
10 | ||
11 | void | |
12 | RC4::process(unsigned char const* in_data, size_t len, unsigned char* out_data) | |
13 | 0 | { |
14 | 0 | this->crypto->RC4_process(in_data, len, out_data); |
15 | 0 | } |