Home
last modified time | relevance | path

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

/external/libchrome/base/
Dsha1_portable.cc35 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()
[all …]