Lines Matching refs:SecureHashAlgorithm
36 class SecureHashAlgorithm { class
38 SecureHashAlgorithm() { Init(); } in SecureHashAlgorithm() function in base::SecureHashAlgorithm
96 const int SecureHashAlgorithm::kDigestSizeBytes = 20;
98 void SecureHashAlgorithm::Init() { in Init()
113 void SecureHashAlgorithm::Final() { in Final()
121 void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { in Update()
131 void SecureHashAlgorithm::Pad() { in Pad()
155 void SecureHashAlgorithm::Process() { in Process()
199 char hash[SecureHashAlgorithm::kDigestSizeBytes]; in SHA1HashString()
202 return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashString()
207 SecureHashAlgorithm sha; in SHA1HashBytes()
211 memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashBytes()