Searched refs:digest_size (Results 1 – 3 of 3) sorted by relevance
32 size_t digest_size) { in SHA256() argument39 if (digest_size < sizeof(buffer)) { in SHA256()40 memcpy(digest, buffer, digest_size); in SHA256()43 memset(digest + sizeof(buffer), 0, digest_size - sizeof(buffer)); in SHA256()
40 size_t digest_size);
131 size_t digest_size = password.length + sizeof(salt); in ComputeFastHash() local132 std::unique_ptr<uint8_t[]> digest(new uint8_t[digest_size]); in ComputeFastHash()136 SHA256(digest.get(), digest_size, (uint8_t *) &fast_hash.digest); in ComputeFastHash()