]> git.karo-electronics.de Git - karo-tx-linux.git/commit
uuid: use prandom_bytes()
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 20 Mar 2013 04:08:44 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:34:01 +0000 (15:34 +1100)
commit1cb227dd5f0d2291228a288ae42976b9a2ba3a5a
tree4b0c80c40cd0751dd6b68028cd052a6f45677f0b
parent15a219beaa7f83d588a71ba8719272fe1bc14c25
uuid: use prandom_bytes()

Use prandom_bytes() to generate 16 bytes of pseudo-random bytes.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/uuid.c