Home
last modified time | relevance | path

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

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