]> code.ossystems Code Review - meta-freescale.git/blob
6a69c32441d35c548156eced0fc89217f18af1ea
[meta-freescale.git] /
1 From 81c4c62a4f5f5542843381bfb34e39a6171d5cdd Mon Sep 17 00:00:00 2001
2 From: Yashpal Dutta <yashpal.dutta@freescale.com>
3 Date: Tue, 11 Mar 2014 06:42:59 +0545
4 Subject: [PATCH 09/17] Added hwrng dev file as source of RNG
5
6 Upstream-status: Pending
7
8 Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com>
9 ---
10  e_os.h | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/e_os.h b/e_os.h
14 index 6a0aad1..57c0563 100644
15 --- a/e_os.h
16 +++ b/e_os.h
17 @@ -79,7 +79,7 @@ extern "C" {
18  #ifndef DEVRANDOM
19  /* set this to a comma-separated list of 'random' device files to try out.
20   * My default, we will try to read at least one of these files */
21 -#define DEVRANDOM "/dev/urandom","/dev/random","/dev/srandom"
22 +#define DEVRANDOM "/dev/hwrng","/dev/urandom","/dev/random","/dev/srandom"
23  #endif
24  #ifndef DEVRANDOM_EGD
25  /* set this to a comma-seperated list of 'egd' sockets to try out. These
26 -- 
27 1.8.3.1
28