Modified to use /dev/urandom instead of random() 07/264907/1 accepted/tizen/6.0/unified/20211006.124404 submit/tizen_6.0/20211005.112724
authorJaehyun Kim <jeik01.kim@samsung.com>
Mon, 27 Sep 2021 12:29:16 +0000 (21:29 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Tue, 5 Oct 2021 01:16:58 +0000 (10:16 +0900)
commitfcec1119da417247a021f793be6b0640d16a8c2e
tree9ee9644cf1e2f6b31358034163d9fb97aebea3db
parentf2a7f8d4ff3736b1836ed24096f066add78eea87
Modified to use /dev/urandom instead of random()

Use of pseudorandom number generator 'random' at __netconfig_generate_random_bytes().
It's bad to use this function for crypto purposes.
So we modified to use /dev/urandom instead of random().

Change-Id: If2468a432a04387a3ede4497011cdba1f73aff15
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/wifi-key-encryption.c