10 #include "wvencoder.h" 48 const env_md_st *evpmd;
49 env_md_ctx_st *evpctx;
63 const env_md_st *getevpmd()
107 hmac_ctx_st *hmacctx;
174 #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.