10 #include "wvencoder.h" 12 #include <openssl/evp.h> 61 const EVP_MD *getevpmd()
172 #endif // __WVDIGEST_H bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.
virtual size_t digestsize() const =0
Returns the number of bytes in the message digest.
Adler32 checksum Digest length of 4 bytes.
CRC32 checksum Digest length of 4 bytes.
virtual bool _reset()
Template method implementation of reset().
HMAC Message Authentication Code.
virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf, bool flush)=0
Template method implementation of encode().
virtual bool _finish(WvBuf &outbuf)
Template method implementation of finish().
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers...
Superclass for all message digests.