Home
last modified time | relevance | path

Searched refs:SecureHashAlgorithm (Results 1 – 1 of 1) sorted by relevance

/external/chromium/base/
Dsha1_portable.cc34 class SecureHashAlgorithm { class
36 SecureHashAlgorithm() { Init(); } in SecureHashAlgorithm() function in base::SecureHashAlgorithm
101 const int SecureHashAlgorithm::kDigestSizeBytes = 20;
103 void SecureHashAlgorithm::Init() { in Init()
118 void SecureHashAlgorithm::Final() { in Final()
126 void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { in Update()
136 void SecureHashAlgorithm::Pad() { in Pad()
156 void SecureHashAlgorithm::Process() { in Process()
200 char hash[SecureHashAlgorithm::kDigestSizeBytes]; in SHA1HashString()
203 return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashString()
[all …]