Searched refs:SecureHashAlgorithm (Results 1 – 2 of 2) sorted by relevance
40 class SecureHashAlgorithm class43 SecureHashAlgorithm() { Init(); } in SecureHashAlgorithm() function in angle::base::SecureHashAlgorithm116 const int SecureHashAlgorithm::kDigestSizeBytes = 20;118 void SecureHashAlgorithm::Init() in Init()134 void SecureHashAlgorithm::Final() in Final()143 void SecureHashAlgorithm::Update(const void *data, size_t nbytes) in Update()155 void SecureHashAlgorithm::Pad() in Pad()181 void SecureHashAlgorithm::Process() in Process()228 char hash[SecureHashAlgorithm::kDigestSizeBytes]; in SHA1HashString()231 return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashString()[all …]
36 class SecureHashAlgorithm { class38 SecureHashAlgorithm() { Init(); } in SecureHashAlgorithm() function in base::SecureHashAlgorithm96 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 …]