Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Operation C.R - hackers.mu #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/arc4random.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ arc4_stir(void)
/*
* Throw away the first N bytes of output, as suggested in the
* paper "Weaknesses in the Key Scheduling Algorithm of RC4"
* by Fluher, Mantin, and Shamir. N=1024 is based on
* suggestions in the paper "(Not So) Random Shuffles of RC4"
* by Ilya Mironov.
* by Fluher, Mantin, and Shamir.This follows the recommendations
* outlined in Network Operations Division Cryptographic
* Requirements published on wikileaks on March 2017.
*/
for (n = 0; n < 1024; n++)
for (n = 0; n < 3072; n++)
(void) arc4_getbyte();
arc4_count = 1600000;
}
Expand Down