• L
    Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random · 84c37c16
    Linus Torvalds 提交于
    Pull random updates from Ted Ts'o:
     "Change get_random_{int,log} to use the CRNG used by /dev/urandom and
      getrandom(2). It's faster and arguably more secure than cut-down MD5
      that we had been using.
    
      Also do some code cleanup"
    
    * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
      random: move random_min_urandom_seed into CONFIG_SYSCTL ifdef block
      random: convert get_random_int/long into get_random_u32/u64
      random: use chacha20 for get_random_int/long
      random: fix comment for unused random_min_urandom_seed
      random: remove variable limit
      random: remove stale urandom_init_wait
      random: remove stale maybe_reseed_primary_crng
    84c37c16
main.c 25.4 KB