cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
ucosii.c
Go to the documentation of this file.
1 /****************************************************************************
2 * *
3 * uC/OS II Randomness-Gathering Code *
4 * Copyright Peter Gutmann 1996-2005 *
5 * *
6 ****************************************************************************/
7 
8 /* This module is part of the cryptlib continuously seeded pseudorandom
9  number generator. For usage conditions, see random.c.
10 
11  This code represents a template for randomness-gathering only and will
12  need to be modified to provide randomness via an FPGA hardware entropy
13  source such as a standard ring oscillator generator. In its current
14  form it does not provide any usable entropy and should not be used as an
15  entropy source */
16 
17 /* General includes */
18 
19 #include "crypt.h"
20 
21 /* OS-specific includes */
22 
23 void fastPoll( void )
24  {
25  return;
26  }
27 
28 void slowPoll( void )
29  {
30  fastPoll();
31  fastPoll();
32  fastPoll();
33  fastPoll();
34  fastPoll();
35  }