SecureHashAlgorithm 101 base/sha1_portable.cc const int SecureHashAlgorithm::kDigestSizeBytes = 20; SecureHashAlgorithm 103 base/sha1_portable.cc void SecureHashAlgorithm::Init() { SecureHashAlgorithm 118 base/sha1_portable.cc void SecureHashAlgorithm::Final() { SecureHashAlgorithm 126 base/sha1_portable.cc void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { SecureHashAlgorithm 136 base/sha1_portable.cc void SecureHashAlgorithm::Pad() { SecureHashAlgorithm 156 base/sha1_portable.cc void SecureHashAlgorithm::Process() { SecureHashAlgorithm 200 base/sha1_portable.cc char hash[SecureHashAlgorithm::kDigestSizeBytes]; SecureHashAlgorithm 203 base/sha1_portable.cc return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes); SecureHashAlgorithm 208 base/sha1_portable.cc SecureHashAlgorithm sha; SecureHashAlgorithm 212 base/sha1_portable.cc memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes);