#include "rtc_base/openssl_digest.h"
#include "absl/strings/string_view.h"
#include "rtc_base/checks.h"
#include "rtc_base/openssl.h"
namespace rtc {
OpenSSLDigest::OpenSSLDigest(absl::string_view algorithm) { … }
OpenSSLDigest::~OpenSSLDigest() { … }
size_t OpenSSLDigest::Size() const { … }
void OpenSSLDigest::Update(const void* buf, size_t len) { … }
size_t OpenSSLDigest::Finish(void* buf, size_t len) { … }
bool OpenSSLDigest::GetDigestEVP(absl::string_view algorithm,
const EVP_MD** mdp) { … }
bool OpenSSLDigest::GetDigestName(const EVP_MD* md, std::string* algorithm) { … }
bool OpenSSLDigest::GetDigestSize(absl::string_view algorithm, size_t* length) { … }
}