proxygen
fizz::Hmac Class Referenceabstract

#include <Hmac.h>

Inheritance diagram for fizz::Hmac:
fizz::HmacImpl< Hash >

Public Member Functions

virtual ~Hmac ()=default
 
virtual size_t length () const =0
 
virtual void hmac (folly::ByteRange key, const folly::IOBuf &in, folly::MutableByteRange out) const =0
 

Detailed Description

Interface for HMAC implementation.

Definition at line 16 of file Hmac.h.

Constructor & Destructor Documentation

virtual fizz::Hmac::~Hmac ( )
virtualdefault

Member Function Documentation

virtual void fizz::Hmac::hmac ( folly::ByteRange  key,
const folly::IOBuf in,
folly::MutableByteRange  out 
) const
pure virtual

Compute the hmac of in using key. Out must be able to hold length() bytes.

Implemented in fizz::HmacImpl< Hash >.

virtual size_t fizz::Hmac::length ( ) const
pure virtual

Length of the output.

Implemented in fizz::HmacImpl< Hash >.


The documentation for this class was generated from the following file: