[RTEMS Project] #3239: Add getentropy() implementation provided by each BSP

RTEMS trac trac at rtems.org
Mon Nov 20 07:50:50 UTC 2017


#3239: Add getentropy() implementation provided by each BSP
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  5.1
Component:  dev              |     Version:  5
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"3d374d90f8f2814a7ae6549d4c0fb83d4cc75511/rtems"
 3d374d9/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="3d374d90f8f2814a7ae6549d4c0fb83d4cc75511"
 bsps: Use a state in default getentropy()

 Use the boot time to initialize the state.  Use the state, the current
 CPU counter and a very simple pseudo random number generator for
 getentropy(). At least, this enables to pass the test "GETENTROPY 1" on
 ERC32.

 Update #3239.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3239#comment:8>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list