proxygen
|
#include <Hkdf.h>
Public Member Functions | |
std::vector< uint8_t > | extract (folly::ByteRange salt, folly::ByteRange ikm) const override |
std::unique_ptr< folly::IOBuf > | expand (folly::ByteRange extractedKey, const folly::IOBuf &info, size_t outputBytes) const override |
std::unique_ptr< folly::IOBuf > | hkdf (folly::ByteRange ikm, folly::ByteRange salt, const folly::IOBuf &info, size_t outputBytes) const override |
size_t | hashLength () const override |
![]() | |
virtual | ~Hkdf ()=default |
Static Public Attributes | |
static constexpr size_t | HashLen = Hash::HashLen |
HKDF implementation using a templated HMAC implementation.
The template struct requires the following parameters:
|
inlineoverridevirtual |
Implements fizz::Hkdf.
Definition at line 25 of file Hkdf-inl.h.
References folly::IOBuf::clone(), folly::IOBuf::create(), folly::gen::move, folly::range(), folly::chrono::round(), folly::Range< Iter >::size(), and UNLIKELY.
|
inlineoverridevirtual |
Implements fizz::Hkdf.
Definition at line 12 of file Hkdf-inl.h.
References folly::Range< Iter >::empty(), folly::range(), and folly::IOBuf::wrapBufferAsValue().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements fizz::Hkdf.
Definition at line 63 of file Hkdf-inl.h.
References folly::range().
|
static |