18 CHECK_GE(out.
size(), T::HashLen);
24 CHECK_GE(out.
size(), T::HashLen);
static void hmac(MutableByteRange out, const EVP_MD *md, ByteRange key, ByteRange data)
static void hmac(folly::ByteRange key, const folly::IOBuf &in, folly::MutableByteRange out)
constexpr size_type size() const
static void hash(const folly::IOBuf &in, folly::MutableByteRange out)
static void hash(MutableByteRange out, const EVP_MD *md, ByteRange data)