CVSROOT: /cvs Module name: src Changes by: [email protected] 2009/03/23 16:07:41
Modified files:
sys/uvm : uvm_swap.c uvm_swap_encrypt.c
uvm_swap_encrypt.h
Log message:
turn a for (i = 0; i < size; i++) arc4random(); loop into arc4random_buf().
Since that function is now so small (2 lines), inline it into it's only user.
Shaves some bytes (104 on amd64).
ok deraadt@, blamb...@. djm@ liked an earlier diff.
