#ifndef INCLUDED_BOBCAT_CRYPTBUF_
#define INCLUDED_BOBCAT_CRYPTBUF_

#include <openssl/ossl_typ.h>

#include <bobcat/eoibuf>

namespace FBB
{

class CryptBuf: public EoiBuf
{
    EVP_CIPHER const   *d_md;

    protected:
        CryptBuf(char const *type, size_t bufSize);

        EVP_CIPHER const *md() const;                               // .f
};

#include "md.f"

} // FBB        
#endif
