Searched refs:total_bytes_written (Results 1 – 2 of 2) sorted by relevance
65 size_t total_bytes_written = 0; in MixHwrngIntoLinuxRngAction() local66 while (total_bytes_written < sizeof(buf)) { in MixHwrngIntoLinuxRngAction()68 TEMP_FAILURE_RETRY(read(hwrandom_fd, buf, sizeof(buf) - total_bytes_written)); in MixHwrngIntoLinuxRngAction()79 total_bytes_written += chunk_size; in MixHwrngIntoLinuxRngAction()82 LOG(INFO) << "Mixed " << total_bytes_written << " bytes from /dev/hw_random into /dev/urandom"; in MixHwrngIntoLinuxRngAction()
63 uint64_t total_bytes_written = 0; in Create() local65 uint64_t actual_written = total_bytes_written + written; in Create()97 total_bytes_written += writer->size(); in Create()