Lines Matching refs:SecureHashAlgorithm
35 class SecureHashAlgorithm { class
37 SecureHashAlgorithm() { Init(); } in SecureHashAlgorithm() function in base::SecureHashAlgorithm
99 const int SecureHashAlgorithm::kDigestSizeBytes = 20;
101 void SecureHashAlgorithm::Init() { in Init()
116 void SecureHashAlgorithm::Final() { in Final()
124 void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { in Update()
134 void SecureHashAlgorithm::Pad() { in Pad()
158 void SecureHashAlgorithm::Process() { in Process()
202 char hash[SecureHashAlgorithm::kDigestSizeBytes]; in SHA1HashString()
205 return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashString()
210 SecureHashAlgorithm sha; in SHA1HashBytes()
214 memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashBytes()