23 std::vector<uint8_t> base(deriver->hashLength());
25 deriver->
hash(*context, hashedContext);
27 deriver->deriveSecret(exporterMaster, label, deriver->blankHash());
28 return deriver->expandLabel(
static std::unique_ptr< IOBuf > create(std::size_t capacity)
static std::unique_ptr< IOBuf > wrapBuffer(const void *buf, std::size_t capacity)
constexpr Range< Iter > range(Iter first, Iter last)
static Buf getEkm(CipherSuite cipher, folly::ByteRange exporterMaster, folly::StringPiece label, Buf context, uint16_t length)
std::unique_ptr< folly::IOBuf > Buf
static constexpr StringPiece secret
virtual std::unique_ptr< KeyDerivation > makeKeyDeriver(CipherSuite cipher) const