This file is indexed.

/usr/include/bobcat/decryptbuf is in libbobcat-dev 4.08.02-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef INCLUDED_DECRYPTBUF_
#define INCLUDED_DECRYPTBUF_

// https://wiki.openssl.org/index.php/EVP_Symmetric_Encryption_and_Decryption

#include <iosfwd>
#include <streambuf>
#include <openssl/ossl_typ.h>

namespace FBB
{

struct DecryptBufImp;

class DecryptBuf: public std::streambuf
{
    DecryptBufImp *d_pimpl;
    static bool s_completed;

    public:
        DecryptBuf(std::ostream &outStream, char const *type, 
                            std::string key, std::string iv,
                            size_t bufsize = 1024);
        virtual ~DecryptBuf();

        void setIv(std::string iv);
        bool setRounds(size_t nRounds);             // RC5 8, 12 or 16

        void done();
        static bool lastOK();                       // .f

    protected:
        EVP_CIPHER_CTX *cipherCtx();

    private:
        void update();
        void open();
        virtual int overflow(int c);
};

inline bool DecryptBuf::lastOK()
{
    return s_completed;
}

}   // FBB
        
#endif