summaryrefslogtreecommitdiff
path: root/user/tlecarrour/rng-tools.mdwn
blob: 329852a0b9dd76897168f8ed5928316874a89d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]


rng-tools
=========

Daemon to use a Hardware TRNG. The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator) such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator).  
(from [[http://packages.debian.org/lenny/rng-tools]])

[[!toc startlevel=2]]


* * *


Log
---

* **Started**: 2012-01-28
* **Discussed**: [2012-01-30](http://lists.debian.org/debian-hurd/2012/01/msg00177.html)
* **Draft Submitted**: -
* **Submitted**: -
* **Accepted**: -


* * *


ToDo
----

Here is the output of `grep -R PATH_MAX rng-tools-2-unofficial-mt.14/*`:

    viapadlock_engine.c:static char cpudev_path[PATH_MAX+1];
    viapadlock_engine.c:char devpath[PATH_MAX+1];


* * *


Comments
--------

Work in progress, see related [thread](http://lists.debian.org/debian-hurd/2012/01/msg00177.html).

Even if the **PATH_MAX** can be easily fixed, some problems remain.  
The code uses `linux/types.h`, that has to be replaced by `sys/types.h`, but also uses `linux/random.h` which has no equivalent I know of.  
At least one source file is named after the OS: `rngd_linux.c`.