proxygen
fizz::Hkdf Class Referenceabstract

#include <Hkdf.h>

Inheritance diagram for fizz::Hkdf:
fizz::HkdfImpl< Hash >

Public Member Functions

virtual ~Hkdf ()=default
 
virtual std::vector< uint8_textract (folly::ByteRange salt, folly::ByteRange ikm) const =0
 
virtual std::unique_ptr< folly::IOBufexpand (folly::ByteRange extractedKey, const folly::IOBuf &info, size_t outputBytes) const =0
 
virtual std::unique_ptr< folly::IOBufhkdf (folly::ByteRange ikm, folly::ByteRange salt, const folly::IOBuf &info, size_t outputBytes) const =0
 
virtual size_t hashLength () const =0
 

Detailed Description

An HKDF implementation conformant with https://tools.ietf.org/html/rfc5869.

outputBytes represents the number of bytes required as output from the HKDF. Other params are as defined by the RFC.

Definition at line 24 of file Hkdf.h.

Constructor & Destructor Documentation

virtual fizz::Hkdf::~Hkdf ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<folly::IOBuf> fizz::Hkdf::expand ( folly::ByteRange  extractedKey,
const folly::IOBuf info,
size_t  outputBytes 
) const
pure virtual

Implemented in fizz::HkdfImpl< Hash >.

virtual std::vector<uint8_t> fizz::Hkdf::extract ( folly::ByteRange  salt,
folly::ByteRange  ikm 
) const
pure virtual

Implemented in fizz::HkdfImpl< Hash >.

virtual size_t fizz::Hkdf::hashLength ( ) const
pure virtual

Implemented in fizz::HkdfImpl< Hash >.

virtual std::unique_ptr<folly::IOBuf> fizz::Hkdf::hkdf ( folly::ByteRange  ikm,
folly::ByteRange  salt,
const folly::IOBuf info,
size_t  outputBytes 
) const
pure virtual

Implemented in fizz::HkdfImpl< Hash >.


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